cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject RE: question regarding namespaces and xsp
Date Mon, 05 Feb 2001 22:26:18 GMT
On Mon, 5 Feb 2001, Park, Paul wrote:

> instead of looking for a specific namespace prefix, couldn't you match
> against the uri?
>
> match="xsp:page/*[namespace-uri(.)!='http://apache.org/xsp']">
>
> This assumes that in your esql logicsheet, you have defined the namespace
> for xsp using the 'xsp' prefix.  However, as you are processing other
> people's xsp pages, you are not assuming that they mapped the xsp uri to
> 'xsp' prefix.

of course - that's what i _had_ been doing, except that i'd put the
namespace uri into an xsl variable so that the logicsheet could choose the
proper namespace depending on if it was running on c1 or c2.
unfortunately, xsl variables aren't allowed in match expressions. so
rather than have to manually change the namespace uri in two places
whenever i copy the development logicsheet from on repository to the other
(already enough of a pita), i'm looking for alternatives.

- donald


Mime
View raw message