Subject: [xsl] possible value-of return values From: "alex reuter" <areuter@xxxxxxxxxxxxxxxx> Date: Mon, 30 Jul 2001 14:38:52 -0400 |
Hello, Given the following XML document: <root> <user name="Alex" password="Elephant" color=""/> <user name="Reuter" password="Rhino"/> </root> I was wondering if anyone knew the distinction in return values between: <xsl:value-of select="/root/user[@name='Alex']/@color"/> And <xsl:value-of select="/root/user[@name='Reuter']/@color"/> My guess is they would both be null, but I need to execute logic which hinges on whether the attribute exists and has a null value OR whether it exists at all. Anything you got would be great. Thanks, Alex XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Creating Headers in XSL:F, Wendell Piez | Thread | Re: [xsl] possible value-of return , Trevor Nash |
Re: [xsl] generating a repeatable u, Sebastian Rahtz | Date | [xsl] Re: Re: generating a repeatab, Sebastian Rahtz |
Month |