I have a XML file as:
<BatchTable>
<UUThref SocketIndex='0 - CCM'
UUTResult='Passed'
URL='C:\OverrideCallbacks_BatchReport[4 16 2012][4 14 18 PM].xml'
FileName='OverrideCallbacks_BatchReport[4 16 2012][4 14 18 PM].xml'
ECAFailCount='1'
Version='StationPartNumber=55555StationSerialNumber=2222TPSPartNumber=1234'/>
</BatchTable>
In order to pick the Version in the xsl file I have:
<xsl:value-of select="BatchTable/UUThref/[@Version]"/>
This does not return any value. What am I doing wrong?
It should be
not
…where are you getting the square brackets from?
I’ve tested the following, and it definitely works:
…this command line works by applying the following XSLT: