Hi,
I have a collection of XML documents in which I want to replace only one attribute per file. The XML documents contain some XML entities for German "Umlaute" characters (eg. ü). After running the XQuery script which replaces the attributes, I use the "Export XML" function of the GUI to export the modified documents to a local folder. Unfortunaltey, the XML entities are now replaced by the corresponding "real" character (eg. ü). I tried the several parsing options of the "Create database" dialog, but already when creating the DB I can see the "real" character in the GUI text output window. As I don't wanna change anything else of the original XML content but the attribute, I need the output files to have the XML
entities instead of the "real" characters (as in the original files).
Here an simple example original file:
<?xml version="1.0" encoding="UTF-8"?>
<Message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header messageId="4523251">
</header>
<dataSupply>
<supplyProperty description="Gültigkeitsbeginn" value="12.12.2010"/>
</dataSupply>
</Message>
And here's what I get as output:
<?xml version="1.0" encoding="UTF-8"?>
<Message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header messageId="000"/>
<dataSupply>
<supplyProperty description="Gültigkeitsbeginn"
value="12.12.2010"/>
</dataSupply>
</Message>
How can I get the export encoding right?
best regards,
Mike