Re: [xml-dev] combining XML documents

From
David Carlisle <>
To
Date
2005-11-25T17:44:33Z
ID
<>
Thread
Re: [xml-dev] combining XML documents
> 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
________________________________________________________________________