on 2011 Oct 04 8:35 PM
Hello All,
This is XSLT 2.0 source that splits and inbound message into multiple outputs... based on 'esp-po-data' node
I need help converting this into XSL 1.0 version to use in PI 7.1 EHP3
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:output method="xml" indent="yes" name="xml"/>
<xsl:template match="/">
<xsl:for-each select="/esp/esp-po-data">
<xsl:variable name="filename" select="concat('output_', position(),'.xml')" />
<xsl:value-of select="$filename" />
<xsl:result-document href="{$filename}" format="xml" >
<xml>
<esp>
<esp-po-data>
<xsl:copy-of select="po-header"/>
</esp-po-data>
</esp>
</xml>
</xsl:result-document>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
> This is XSLT 2.0 source that splits and inbound message into multiple outputs... based on 'esp-po-data' node
This is not possible in XSLT 1.0 at all.
> I need help converting this into XSL 1.0 version to use in PI 7.1 EHP3
I do not see any use of this mapping in PI. You cannot create files from 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 |
---|---|
81 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.