on 03-21-2006 11:44 PM
Hello -
Was anyone successful in adding the header
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd">
after the
<?xml version="1.0" encoding="UTF-8"?> when converting
using either XSL or JAVA?
If there's way let me know what kind of mapping was used and how?
Thanks,
Tirumal
Did you ever resolve how to get the DOCTYPE into the cXML message??
If so please please share the solution. We're starting to map xcbl to cXML and are running into the same problems.
Thanks
Rick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tirumal,
you can solve that with xsl:output
one example:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:output method="xml" doctype-system="http://xml.cXML.org/schemas/cXML/1.2.014/cXML.dtd"/>
<xsl:template match="/">
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tirumal,
that does not appear in my XMLSpy. Obvisiosly a bug of XI. I can remember there was a thread about that theme, but cant find it because assumedly the search of this forum is (hopefully temporary) broken. So my tip: just search manually (a lot work, the thread is may be between 1 and 6 weeks old) or what is easier, open a new thread about that theme. The involved people should remember the solution.
Regards,
Udo
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.