OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: We need an XPath API

> >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) ?