xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] how can check whether an attribute exists or not?


Subject: Re: [xsl] how can check whether an attribute exists or not?
From: Stéphanie Louis <slouis@xxxxxxxx>
Date: Wed, 31 Jan 2001 10:43:20 +0100

David Carlisle a écrit :

> > <xsl:when test="@href=''">
>
> That tests if the string value is empty, which is true if there isn't an
> attribute or of it s explictly empty.
>

you mean that if i have:
<ok>my_string</ok> in my XML file

i could test <xsl:when test="@ok=''">
to know if my_string is empty or not ?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor