Re: namespace prefixes in XSLT parameters
Michael Ludwig <[email protected]> Mon, 24 Sep 2012 16:38:02 +0200
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <20120924143802.GE4724@Dago> |
Bruce Miller schrieb am 24.09.2012 um 09:40 (-0400): > On 09/23/2012 03:37 PM, Michael Ludwig wrote: > > On the other hand, I've never used namespaced parameters, though > > I seem to remember they've been recommended to me for use in > > stylesheets that you intend to *distribute* to work as part of > > some customer's workflow. But I've never gotten that far in the > > first place … > > You mean the parameter name itself is namespaced, like $foo:bar ? > I haven't seen that capability anywhere. <xsl:param> and <xsl:variable> names are QNames, so it should be possible. Not sure how widely used that it. But you're right here, I confused that with your requirement: > [All I'm interested in here, is using namespaces in the XPath > expression; I _could_ rewrite the prefixed expression as Daniel I > suggests.] Michael _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs