[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Test for the existence of attribute
use <xsl:if test=".[@version='']"> --Keith Sharmila Pandith wrote: > > Hi, > > I have the following: > <base version=""></base> > > To check if the attribute is present I do the following: > <xsl:if test=".[(@version)]"> > > How do I test if the attribute is empty. For ex: in the example above, the > attribute version is empty. > > TIA, > Sharmila Pandith > Zedak Corp > 400 Columbus Ave > Valhalla, NY 10595 > sharmila@xxxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|