473,516 Members | 3,355 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tutorial/Guide help please

me
Hello,

I am wondering if there is a specific site/page that would show how to scan
input from a textfield and look for and convert certian characters in too
special html code.
The example text input would be like this:

The stories of stem cell research <a
href="http://news.yahoo.com/s/ap/20050523/ap_on_go_co/congress_stem_cells">I
s Heating Up in DC</a>; but in New York<a
href="http://www.nytimes.com/2005/05/23/nyregion/23stem.html">Cities get
monies for research</a>

The data is being stored in an xml file. So I need it to be in special html
code to be rendered from xsl file on page load. As well, C# is the language.
TIA Aaron
Nov 19 '05 #1
1 1048
me wrote:
Hello,

I am wondering if there is a specific site/page that would show how to scan
input from a textfield and look for and convert certian characters in too
special html code.
The example text input would be like this:

The stories of stem cell research <a
href="http://news.yahoo.com/s/ap/20050523/ap_on_go_co/congress_stem_cells">I
s Heating Up in DC</a>; but in New York<a
href="http://www.nytimes.com/2005/05/23/nyregion/23stem.html">Cities get
monies for research</a>

The data is being stored in an xml file. So I need it to be in special html
code to be rendered from xsl file on page load. As well, C# is the language.
TIA Aaron

You definitely would use regular expressions to search and replace text.
http://regexlib.com is one of the best resources if you know something
about them, otherwise start in MSDN.

What are you trying to do here, tho? I don't understand. Are you
trying to store this input, like in the example, in XML? If so, just
wrap it in a CDATA section. But are you then trying to do some munging
via XSL on the 'way out' of the file to the page/HTML? Don't understand
this latter part either.

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
7082
by: Jean Paul | last post by:
Does anyone knows of an good tutorial for printing in java? Thnx
5
3382
by: Anthony Baxter | last post by:
I'm writing a half-day tutorial at work for the non-programmer techies (network engineers, database admins, sysadmins, that sort of thing) and was wondering if anyone else has already done this and made their materials available? I plan to put my slides up on the web after they're done... Thanks, ANthony -- Anthony Baxter ...
7
1671
by: mir nazim | last post by:
hi i m in need of a PyXPCOM tutorial. it should explain using python (instead of JavaScript) for creating apps. if any body can point me to some web resources or a printed book . thankz
6
1681
by: aurora | last post by:
Sometimes it is rather frustrated to use the Python Library Reference. It seems each section is hand crafted and it is up to the author decide the organization and coverage. For example the os module seems be broken down in a somewhat abitrary way. You have to get use to it to find the way around. ...
15
4185
by: binnyva | last post by:
Hello Everyone, I have just compleated a JavaScript tutorial and publishing the draft(or the beta version, as I like to call it) for review. This is not open to public yet. The Tutorial is avaliable at... http://www.geocities.com/binnyva/code/javascript/advanced_tutorial/ If any of you could spare the time, please have a look at my...
7
8910
by: Brian Keogh | last post by:
Hi, I'm a student learning TCP/IP networking at University. Although I understand all about TCP/IP Networking in Java I am expected to understand the basics of C with regard to these programs as all the examples in my course notes and Exams refer to C. Can someone please point me in the right direction to where I might find answers on the...
11
2903
by: Magnus Lycka | last post by:
While the official Python Tutorial has served its purpose well, keeping it up to date is hardly anyones top priority, and there are others who passionately create really good Python tutorials on the web. I think 'A Byte of Python' by Swaroop C H is a good beginners tutorial, and 'Dive Into Python' by Mark Pilgrim is a good tutorial for...
1
3796
by: accelua1 | last post by:
Hi , Sorry for asking db2 tutorial in MYSQL forum.Am new to db2 .i just need some basic tutorial with some samples for learing it.So please guide me or give me some URLs.thanks in advance.
3
2873
by: Harry Zoroc | last post by:
I would like to learn some XSLT-FO handling procedures and need a good tutorial. Unfortunately most of the links in Google refer to books, lessons, XML syntax What I need is an easy step-by-step guide for installing and applying all necessary tools for converting a simple lets say "Hello world" XML doc into pdf with XSL-FO Does someone...
37
8216
by: Zabac | last post by:
I am attempting to learn C on a computer that does not have internet access. Can anyone find a C tutorial that can be completely downloaded? I wish to transfer it from a computer that can get online to my computer. (The one that can not get on the internet.) I don't need an absolute beginner tutorial, as I have used Python before. Thanks!...
0
7273
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7136
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
1
5106
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.