[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xpath question
> What I need is the node to be included if and only if the > pp:attr is present *and* has a non-empty value. > > Three cases: > <ns:elem/> (don't want a match) > <ns:elem ns:attr=''/> (don't want a match) > <ns:elem ns:arrt='something'/> (DO want a match) test="string(@ns:attr)" Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|