XML Help Needed

Associate
Joined
26 Oct 2006
Posts
1,355
Location
London
I have designed an XML generator as part of code output for one of my programs but I have come accross a small problem.

The '&' being a special character is killing my code.

I have &'s in the names of the data im exporting so it would look like this-

<Example>Name&Error</Example>

The & is being flagged as special and stating it expects to see a ';'

Is there any way of turning this special char recognition off or any form of workaround?
The & cannot be removed from the name as it is SAP Role names and the specific name is needed

Many thanks

</XMLNoobie>
 
Back
Top Bottom