Subject: RE: adding a namespace to a stylesheet automatically
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Wed, 29 Oct 2003 13:27:52 -0600
|
I wrote:
> > The OP didn't want to prefix the elements or the
> attributes, he wanted
> > to add prefixes to the names appearing within XPath
> expressions within
> > the content of the attributes. That clearly needs an XPath
> > parser, which
> > makes it unlikely that anyone will offer a working solution.
> >
> > Michael Kay
>
> It was my impression that there were some open-source programs
> out there that used XPath parsers, e.g. XPath expression tracer/
> debuggers. Guess I'll look into that some more.
Another way to ask this is, has anyone had success hooking into
existing open-source XSLT processors like Xalan or Saxon that
include XPath parsers, or say the Perl XML::XPath module,
and adding custom functionality?
(Some other possibilities I've run across include SAXPath
[http://www.xmlhack.com/read.php?item=1321] and
4suite.)
Application 1: as described previously, the oft-needed requirement
to add namespace prefixes to element names in XPath expressions.
Application 2: to validate existing XPath expressions against
sample source documents in order to catch errors in the XPath
expressions.
Lars
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- RE: adding a namespace to a stylesheet automatically, (continued)
- Lars Huttar - Tue, 28 Oct 2003 19:05:25 -0500 (EST)
- Allan Jones - Wed, 29 Oct 2003 06:05:04 -0500 (EST)
- Michael Kay - Wed, 29 Oct 2003 07:28:10 -0500 (EST)
- Lars Huttar - Wed, 29 Oct 2003 12:07:09 -0500 (EST)
- Lars Huttar - Wed, 29 Oct 2003 14:28:28 -0500 (EST) <=
- Americo Albuquerque - Wed, 29 Oct 2003 09:20:38 -0500 (EST)
- Lars Huttar - Wed, 29 Oct 2003 13:59:15 -0500 (EST)
- David Carlisle - Wed, 29 Oct 2003 16:32:31 -0500 (EST)
- Lars Huttar - Thu, 30 Oct 2003 13:48:42 -0500 (EST)
|
|