I have an xslt that correctly processing :
<?xml version="1.0"?>
<aaamylist>
<aaasomenode>x</aaasomenode>
<aaasomenode>y</aaasomenode>
<aaasomenode>z</aaasomenode>
</aaamylist>
BUT, the "real" file of data has colons in the tags, like this:
<?xml version="1.0"?>
<aaa:mylist>
<aaa:somenode>x</aaa:somenode>
<aaa:someother>y</aaa:someother>
<aaa:another>z</aaa:another>
</aaa:mylist>
I then want an XSLT like this:
<xsl:stylesheet xmlns:xsl=" version="1.0"
><xslutput method="text" /><xsl:template match="//aaa:mylist"><xsl:value-of
select="@aaa:someother" /></xsl:template>
</xsl:stylesheet>
How could I get my xslt to properly recognize //aaa:mylist and process N number of records in the xml file? If you can, please include sample code.
Thank you in advance!
<?xml version="1.0"?>
<aaamylist>
<aaasomenode>x</aaasomenode>
<aaasomenode>y</aaasomenode>
<aaasomenode>z</aaasomenode>
</aaamylist>
BUT, the "real" file of data has colons in the tags, like this:
<?xml version="1.0"?>
<aaa:mylist>
<aaa:somenode>x</aaa:somenode>
<aaa:someother>y</aaa:someother>
<aaa:another>z</aaa:another>
</aaa:mylist>
I then want an XSLT like this:
<xsl:stylesheet xmlns:xsl=" version="1.0"
><xslutput method="text" /><xsl:template match="//aaa:mylist"><xsl:value-of
select="@aaa:someother" /></xsl:template>
</xsl:stylesheet>
How could I get my xslt to properly recognize //aaa:mylist and process N number of records in the xml file? If you can, please include sample code.
Thank you in advance!