Subject: RE: [xsl] XSLT/XPath 2.0: a USEFUL way to provide lexical info|
From: "Matt G." <matt_g_@xxxxxxxxxxx>
Date: Sun, 06 Jan 2002 21:38:20
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Subject: RE: [xsl] XSLT/XPath 2.0: a USEFUL way to provide lexical info Date: Sun, 6 Jan 2002 20:01:00 -0000
I think, as a user, I'd rather see a "lexical" XPath axis (pair?), to let me hop back & forth between the tree w/ the lexical constructs and without. I think this would be much easier to use, and its use could be better encapsulated within a small number of templates.
It's a nice idea in principle, but I have some difficulty seeing how to flesh out the detail. The two main lexical components, entity references and CDATA sections, occur in the middle of character data, so it's not obvious how you would represent them on a separate axis.