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

Comments:

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.

Posted by very fast cash on April 28, 2011 at 07:29 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Principal Product Manager

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today