[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xpath

Subject: xpath
From: "Stevenson Ngila" <Stevenson@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Sep 2002 17:06:17 +0300
 xpath
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@xxxxxxxxxxxxx



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • xpath
    • Stevenson Ngila - Mon, 16 Sep 2002 10:05:06 -0400 (EDT) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.