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

Re: attribute test

Subject: Re: attribute test
From: Spencer Tickner <spencertickner@xxxxxxxxx>
Date: Thu, 15 Sep 2005 14:26:36 -0800
attribute test
Hi guys,

you were correct Jon, it did mistakingly block the first case, I guess
when I ran it the first time there was that old gremlin doing a tap
dance on my processor. Either or, I modified David's post to <xsl:if
test="//foo[not(@att='hi')]"> as the only case I wanted to stop the
output was if every foo had an attribute of att with a value of 'hi'.

It works perfectly! Thanks to all for the great posts.

Cheers,

Spencer

On 9/15/05, Jon Gorman <jonathan.gorman@xxxxxxxxx> wrote:
> > > First, Thanks for the suggestions, Unfortunately both return all 3
> > > test cases first mentioned.
>
> Wait, all three?  They should have only returned the second test case,
> mistakingly blocking the first case.  Are you sure you copied them
> right or there isn't another issue?  How do the examples that David
> and just sent work?
>
> Jon Gorman

Current Thread

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.