[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: We need an XPath API
- From: Christian Nentwich <c.nentwich@cs.ucl.ac.uk>
- To: xml-dev@lists.xml.org
- Date: Mon, 05 Mar 2001 23:29:28 +0000
> >In any case, a merge function would be nice.. merge(text()) and all your
> >problems are dealt with :)
> DOM already provides a Normalize method on Element that merges adjacent
> Text nodes. The remaining problem is that DOM distinguishes between CDATA
> and Text nodes, in contrast to XPath.
And also that the stylesheet author, who may not have access to the parser
producing the DOM, has no way of calling that method (barring scripting) ?
Christian