Subject: Re: [xsl] Namespace problem From: Mike Brown <mike@xxxxxxxx> Date: Wed, 24 Oct 2001 17:56:15 -0600 (MDT) |
> <xsl:if > test="string-length(/VisioDocument/Pages/Page/Shapes/Shape[@NameU='URL'] > /Text) = 0"> This can be shortened to <xsl:if test="string(/VisioDocument/Pages/Page/Shapes/Shape[@NameU='URL'])"> A string, when coerced to a boolean, becomes false if its length is 0. - Mike ____________________________________________________________________________ mike j. brown, fourthought.com | xml/xslt: http://skew.org/xml/ denver/boulder, colorado, usa | personal: http://hyperreal.org/~mike/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Namespace problem, Mike Brown | Thread | [xsl] methods of inserting html int, Steve Renshaw |
Re: [xsl] Namespace problem, Mike Brown | Date | Re: [xsl] methods of inserting html, Mike Brown |
Month |