[Home] [By Thread] [By Date] [Recent Entries]


> BTW, what is actually the proposed standard way of doing that (node to
> string)? You could write "data($title)", "$title//text()",
> "string($title)". All these ways differ, but what is the safe default
> for the newbie, string()?
> 
> Martin


string() I think. data() will do the wrong thing if title is schema
typed with element content (which it shouldn't be in xhtml, but who
knows:-) and //text() will do the wrong thing if there are any comments.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member