Subject: [xsl] xpath From: "Stevenson Ngila" <Stevenson@xxxxxxxxxxxxxxxxxxxxxx> Date: Mon, 16 Sep 2002 17:06:17 +0300 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] fill empty fo:cell with w, Stuart Brown | Thread | Re: [xsl] xpath, David Carlisle |
Re: [xsl] Re: print out the actual , G. Ken Holman | Date | [xsl] xsl sorting on derived values, Michael Croft-White |
Month |