Page 1 of 1

URGENT calling an XML node

Posted: Fri Dec 07, 2018 11:28 pm
by abonsey
Hi I'm trying to call a node within an XML in an XSLT file but can't get it to work.
Please help showing me how to get the XSLT to correctly call the XML.

Thanks

XML
<csv>
<field name="BatchID">316</field>

XSLT
</xsl:text>
<xsl:for-each select="/csv">
<xsl:text>"</xsl:text><xsl:value-of select="Field/[@name ='BatchID']"/><xsl:text>"

Re: URGENT calling an XML node

Posted: Fri Dec 07, 2018 11:39 pm
by jan_suhr
Capital F in node?

Re: URGENT calling an XML node

Posted: Fri Dec 07, 2018 11:43 pm
by abonsey
Thanks for the swift response.

That worked :D
Couldn't see the wood for the trees :lol: :lol:

Andrew