Subject: RE: From: "Paul Johnson" <paul@xxxxxxxxxxxxxxx> Date: Thu, 04 Nov 1999 07:23:44 -0600 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE:, Kay Michael | Thread | RE:, Kay Michael |
Stylesheet to view XML code in brow, Dylan Walsh | Date | Re: Stylesheet to view XML code in , Larry Mason |
Month |