I need to transform xml to plain xml with xsl from:
<LongAssetInfoMulti attrTagName.s="tagName" attrName.s="tagName" values.ll="14491 14553 14568 14581 15239 15240 15241"/>
to:
<tagName>14491</tagName>
<tagName>14553</tagName> ....
I allready did this:
<xsl:template match="/">
<xsl:variable name="test" select="//LongAssetInfoMulti/@values.ll"/>
<xsl:for-each select="$test">
<xsl:value-of select="$test"></xsl:value-of>
</xsl:for-each>
</xsl:template>
Anyone have any idea how to parse multiple attribute values?
No comments:
Post a Comment