On Mar 21, 2006, at 9:34 AM, Mark Wieder wrote:

Trevor-

Tuesday, March 21, 2006, 8:12:11 AM, you wrote:

You need to escape ", ', <, and < when entering data into an XML
node.  I can't remember if RevXML has any handlers for this or if you
just have to do it by hand.  For an example of the escape characters
just do a Google search for "xml escape characters".

I think urlEncode() will do the trick here.

I don't think this will work in this case. For example, urlEncod ("<p>hi</p>") would give you:

%3Cp%3Ehi%3C%2Fp%3E

When what you really want is:

&lt;p&gt;hi&lt;/p&gt;

--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to