how do i get the build without a ".z" where application id is 1 using the
xml file below. Please help me with this xpath!!
am using :
var sQuery = "//builds/build[not( contains( @Number,
'.z' ) )][applications/application[(_at_)id='1']]";
but doesn't seem to work.
<buildscomponents>
<builds>
<build id="297" number="2.17.z" releasedate="">
<applications>
<application id="1" />
</applications>
</build>
<build id="296" number="2.16.z" releasedate="">
<applications>
<application id="1" />
</applications>
</build>
<build id="207" number="2.15.z" releasedate="">
<applications>
<application id="1" />
</applications>
</build>
<build id="356" number="2.15.3" releasedate="">
<applications>
<application id="1" />
</applications>
</build>
<buildscomponents>
Thanks,
Stevenson Ngila
Footman-Walker Associates Ltd
http://www.footman-walker.co.uk
---
In developing the .NET Framework Microsoft has
taken XML to heart, and with ASP.NET representing
the cutting edge of Windows based web development,
Professional ASP.NET XML with C# has been published
to help web developers to appreciate how these
technologies can work together to provide
functional, powerful applications.
http://www.wrox.com/acon11.asp?ISBN=1861007345
---
Change your mail options at http://p2p.wrox.com/manager.asp or
to unsubscribe send a blank email to
leave-xml-805983A(_at_)p2p(_dot_)wrox(_dot_)com(_dot_)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list