This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Empty nodes - more informative
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] Empty nodes - more informative
- From: "Dominic J. Blythe" <Dominic dot Blythe at BCPSoftware dot com>
- Date: Wed, 4 Jul 2001 16:08:02 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
cheers trevor - i thought that saying the string value
of something was a bunch of elements was a bit wierd...
> >Because not(string(.)) means "the string value of the current node
> >is an empty string", when this test is applied to the topic node
> >it fails because the string value of the topic node is
> ><topic>
> > <a>Hello</a>
> > <b code="123"/>
> > <c/>
> ></topic>
> >
> > [snip]
> >I could be wrong about this...
> >
> You are ;-)
>
> The string value of the topic node is either
> "
> Hello
>
>
> "
> with some newlines and tabs or "Hello" depending on what the parser is
> doing with white space in the input document.
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list