URGENT calling an XML node

Post Reply
abonsey
Member
Posts: 142
Joined: Fri May 24, 2013 5:10 pm

URGENT calling an XML node

Post 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>"
jan_suhr
Advanced member
Posts: 591
Joined: Fri Nov 04, 2011 1:12 pm
Location: Nyköping, Sweden

Re: URGENT calling an XML node

Post by jan_suhr »

Capital F in node?
Jan Suhr
Color Consult AB
Sweden
=============
Check out my apps
abonsey
Member
Posts: 142
Joined: Fri May 24, 2013 5:10 pm

Re: URGENT calling an XML node

Post by abonsey »

Thanks for the swift response.

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

Andrew
Post Reply