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

Re: parameter use in XPath

Subject: Re: parameter use in XPath
From: Saverio Perugini <sperugin@xxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2003 09:57:18 -0400 (EDT)
Re:  parameter use in XPath
On Fri, 24 Oct 2003, Daniel Veillard wrote:

>   haha, no libxslt implements only XSLT-1.0 + (most) EXSLT extensions
> the name of the libxml2 library doesn't come from XPath2 or XSLT2 really :-)
> The fact that it implements match="*[name()=$keyword]" is simply an oversight,
> it doesn't change anything to my implementation which "forgot" to check
> that restriction, it's a bug actually, sorry if this led to some confusion

Are you stating that "*[name()=$keyword]" worked for me as the value of
a match attribute of xsl:template, using libxslt, quite literally "by
accident" (i.e., because the processor doesn't check this constraint)?
If so, are there any side effects which may manifest as bugs elsewhere
in the stylesheet by taking this terse approach? Do you recommend
abandoning this approach?

Regards,
Saverio

 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.