[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE:
Acually, it was a typo, but I followed it through the document. I am testing to see if the Description Element contains no text. The != operator is a Microsoft invention to XML. At least that is what they are claiming on their website. Thanks Again, Paul R. Johnson *********** REPLY SEPARATOR *********** On 11/4/99 at 11:43 AM Kay Michael wrote: >> How can I test to see if a element is NOT null? > >Depends what you mean by null. It's not an official XML term. If you mean >"has no children", >try <xsl:if test="not(child::node())"> > >> > I have tried the following: >> > <xsl:if test="Discription $ne$ ''"<img > >$ne$ is a Microsoft invention. If you are using Microsoft XSL, ignore >everything you read on this list - it's a different language. > >PS: is your element really called "Discription"? XSLT is not very tolerant >of spelling mistakes. > >Mike Kay > > > 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
|