cancel
Showing results for 
Search instead for 
Did you mean: 

DOCTYPE and xslt mapping

Former Member
0 Kudos

Hi All,

I have an XSLT mapping. I have only now found out that I need to include a

<i><!DOCTYPE Order SYSTEM "XCBL3.0.dtd"></i> tag on the second line of the xml I am sending via HTTP. This causes the XSLT mapping to fail in XI. From reading other threads, I understand there is a limitation on the XI xslt parser with "DOCTYPE" tags.

I have tried a workaround by invoking a custom java program in my xslt mapping to insert the doctype but this gets sent out via HTTP as:

&lt;!DOCTYPE Order SYSTEM "XCBL3.0.dtd"&gt;

Is there any other workaround I could do without having to completely rewrite my mapping into a Java mapping as mentioned in another thread?

Please Help!!

Accepted Solutions (0)

Answers (1)

Answers (1)

Doug_Munford
Participant
0 Kudos

In your xslt mapping place the following line before the top level element is written

<xsl:text disable-output-escaping="yes">&lt;!DOCTYPE Order SYSTEM "XCBL3.0.dtd"&gt;</xsl:text>

Regds Doug.