[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: adding a namespace to a stylesheet automatically

Subject: RE: adding a namespace to a stylesheet automatically
From: "Lars Huttar" <lars_huttar@xxxxxxx>
Date: Wed, 29 Oct 2003 13:27:52 -0600
add namespace xslt
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.