regular expression xml help please
From: adidev (patrongp_at_yahoo-dot-com.no-spam.invalid)
Date: 06/10/04
- Next message: Jonathan Pierce: "Re: Obfuscate"
- Previous message: Ying-Shen Yu[MSFT]: "Re: Passing a void* with P/Invoke"
- Next in thread: Justin Rogers: "Re: regular expression xml help please"
- Reply: Justin Rogers: "Re: regular expression xml help please"
- Messages sorted by: [ date ] [ thread ]
Date: 9 Jun 2004 20:24:52 -0500
hello,
anyone know how to return any quotes used inside a text node?
for example:
<node1>This is my text node, my quote "quote" is
here</node1>
what i want to do is escape those " with ' through the use of
regular expressions
the string i will be operating on is an xml document represented as a
string so there will be multiple nodes per line, etc. when replacing
" with " i do not want to replace attribute " eg. <node1
myattrb="blah"> ( i want to leave these alone )
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
- Next message: Jonathan Pierce: "Re: Obfuscate"
- Previous message: Ying-Shen Yu[MSFT]: "Re: Passing a void* with P/Invoke"
- Next in thread: Justin Rogers: "Re: regular expression xml help please"
- Reply: Justin Rogers: "Re: regular expression xml help please"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|