I have included a partial XSL sample that I am currently working with at the bottom of 
this message.  I would like to
produce the following output:  (BTW, I am using MSXML4)

<data name="SubmissionID" value="1234" />
<data name="ProductSKU" value="x1234x5678" />

The output I am getting is this:

<data name="SubmissionID" value="1234" />
<data name="ProductSKU" value="x1234x5678"></data>

.
.
.
<xsl:element name="data">
        <xsl:attribute name="name">SubmissionID</xsl:attribute>
        <xsl:attribute name="value"><xsl:value-of select="//SubmissionID" 
/></xsl:attribute>
</xsl:element>
<xsl:element name="data">
        <xsl:attribute name="name">ProductSKU</xsl:attribute>
        <xsl:attribute name="value"><xsl:for-each 
select="//PackageID"><xsl:text>x</xsl:text><xsl:value-of select="."
/></xsl:for-each></xsl:attribute>
</xsl:element>
.
.
.


-----------------------+
cf-xml mailing list
list: [EMAIL PROTECTED]
admin: [EMAIL PROTECTED]
home: http://torchbox.com/xml

Reply via email to