[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: When to use text()
On 23/03/2014 17:52, Ihe Onwuka wrote:
text.
I note you have consistently failed to say what you think the actual definition should have been, or how that definition would have been more intuitive. In (a real, valid MathML) example <cn> 1 <sep/> 2 </cn> There are three child nodes of cn, two text and one element. $cn/text() returns the sequence of text nodes (" 1 ", " 2 ") (that is the real and imaginary parts of the number. Your one word non-answer gives no indication of what value you think would have been a more intuitive definition of text() or what $cn/text() should return, (given that element() returns element nodes attribute() returns attribute nodes and comment() returns comment nodes. David
|
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
|