Setting encoding of an XML document
When you need to write an XML document into a queue/file, and if you wish to explicitly set the encoding on the xml document declaration, add the following onto the element of the XSD for the document that you are writing out.
< xsd:schema ....... xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:encoding="UTF-8" ... >
...
< /xsd:schema >
The output document will then have the xml document declaration as
< ?xml version="1.0" encoding="UTF-8"? >...
RSS
Email