|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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)". data() gives you the typed value, string() gives you the string value: for a node with simple content in a schema-less document, the answer is the same. text() is bad practice, because it's likely to give wrong answers or fail the first time someone puts a comment in the source document. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








