on 11-18-2005 11:23 AM
Hello,
What is the best way to generate a !DOCTYPE tag in an outbound message?
Is there a doc or thread that describes how to do this?
I've read about XSL and java mapping for this but was wondering if there maybe was another way. Isn't it possible to use the HTTP adapter header fields for this maybe?
Ok,
Wrestling now with XSL mapping. I have an imported archive with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Add the Doctype declaration -->
<xsl:output method="xml" indent="no"
doctype-system="http://integratex.quality.techdata.de:8080/ix/dtd/ixOrder.dtd"/>
<!-- Identity Transform - copy the source XML to the output without any changes -->
<xsl:template match="node() | @*">
<xsl:copy>
<xsl:apply-templates select="node() | @*"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Activation goes well.
When I try to use this imported archive in an interface mapping i get the error:
DOCTYPE_Stylesheet has no program
DOCTYPE_Stylesheet is the arbitrary name of my imported archive.
What am I missing?
Thanks
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check this weblock - it may help you
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.