on 03-27-2006 3:59 PM
Hello all -
I am getting the output in this format:
<xml version="1.0" encoding="UTF-8"?>
<Root>
<SubElement>Test</SubElement>
</Root>
How can i achieve the output in this format:
<xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE XYZ SYSTEM "http://xml.org/xyz.dtd">
<Root>
<SubElement>Test</SubElement>
</Root>
Please let me know how we can achieve this using Java Mapping and not XSLT.
Thanks,
Tirumal
Hi Tirumal,
When you are creating output structure in java mapping, add this line in the start document event in the output stream.
Thanks,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Prateek -
Thanks for the response.
Do we have a step by step approach to how we have to use JAVA mapping?
My scenario is:
1. I am able to generate a cXML file from an IDOC ORDERS message type.
2. I am able to get the <!DOCTYPE ..> line added in the cXML file using the XSLT mapping but there appears to be two extra characters added at the end of the line with '[]'. Read related blogs, bloggers suggsted to use Java mapping as there appears to be a bug in SAP XSLT processor.
3. Since i am new to JAVA mapping, are there any blogs out there which gives us step by step approach to using JAva mapping for IDOC(s)/ORDERS message typ.
Thanks,
Tirumal
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.