Subject: RE: [xsl] Empty nodes - more informative From: "Dominic J. Blythe" <Dominic.Blythe@xxxxxxxxxxxxxxx> Date: Wed, 4 Jul 2001 16:08:02 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Empty nodes - more inform, Trevor Nash | Thread | [xsl] Re: Empty nodes, Dimitre Novatchev |
RE: [xsl] RE: A simple solution (Wa, Daniel Newman | Date | Re: [xsl] RE: A simple solution (Wa, Jeni Tennison |
Month |