This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
xpath
- From: "Stevenson Ngila" <Stevenson at epr dot footman-walker dot com>
- To: "Xsl-List at Lists dot Mulberrytech. Com" <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 16 Sep 2002 17:06:17 +0300
- Subject: [xsl] xpath
- Reply-to: xsl-list at lists dot mulberrytech dot com
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[@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@p2p.wrox.com.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list