Subject: RE: Whitespaces against efficency From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 10 Apr 2000 15:34:55 +0100 |
> >XPath's tree model is not the same as the DOM model > > Eh? Do they differ in some way(s) explainable to mere mortals??? Some differences that come immediately to mind: - in XPath text nodes are always normalized - XPath doesn't have entity nodes or CDATA nodes - in DOM the name of a text node is "#text", in XPath it is "" - in DOM the nodeValue of <e>thing</e> is "", in XPath the string-value is "thing" - XPath nodes have a base URI property - In DOM xmlns:xyz="uri" creates an attribute node, in XPath it doesn't Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Whitespaces against efficency, Mike Brown | Thread | Re: Whitespaces against efficency, keshlam |
What parsers for?, Cheun N Chong | Date | A Clear Dom Reference..??, Jonathan Asbell |
Month |