X

Setting encoding of an XML document

Ramkumar Menon
Director, Product Strategy

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"? >
...

Join the discussion

Comments ( 1 )
  • very fast cash Friday, April 29, 2011
    This is i'm in search of. This I refer to value. The knowledge provided in here is usually to the best. I would like say you will require spent a while in setting each one of these material jointly. They're related to your topic. I will advocate this specific to everyone and all of my acquaintances. I will get back here to examine the quality of function. I appreciate you for building this transpire.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha