Conversion to HTML-Entities with XML DOM

JochenJochen Member Posts: 5
Hi Everybody !

I've written some code to create and export XML-files using the XMLDOM-Interface. When using the AddElement-function of CU 6224 "XML DOM Management" special characters like "&" are converted automatically to HTML-Entities, i.e. "&".

I like to create an XML-Element, which contains an URL with parameters. If my code creates the element with the AddElement-function, the output is something like this:

<SAMPLE_URL>http://www.worldshop.eu?id=12345&lang=de</SAMPLE_URL&gt;

What I need is the following string:

<SAMPLE_URL>http://www.worldshop.eu?id=12345&lang=de</SAMPLE_URL&gt;

Has anybody an idea how to avoid this conversion ?

Best regards

Jochen
New every month!
Exclusive products and attractive prizes for our newsletter subscribers.
Just sign in here:
http://www.lh-worldshop.com/newsletter-en.html
Sign In or Register to comment.