This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Empty nodes - more informative


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]