RE: [xml] #x20#x20



Hi there,

generally, entities can be decoded by using the 'xmlDecodeEntities' function.

That being said, '#x20#x20' is not a proper entity encoding. It should be '  '. Your version will 
not be recognised as an encoded entity and will be treated as regular text.

Ciao
Igor


-----Original Message-----
From: Schwemmle, Anke [mailto:aschwemmle sbw schuler-ag com]
Sent: Wednesday, April 03, 2002 10:53 AM
To: xml gnome org
Subject: [xml] #x20#x20

Hi,

I have a XML-Tree containing 

        <ORDER_EXT_OPTION>
                <X_FEATURE_ID>konda</X_FEATURE_ID>
                <OPTION>#x20#x20</OPTION>
                <SEQUENTIAL_NO>100</SEQUENTIAL_NO>
        </ORDER_EXT_OPTION>

How can I transform this #x20#x20 back to "  " (double Blank) ?
I tried "UTF8Toisolat1", but it didn't work.

Anke



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]