cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <>
Subject Re: LogicSheet Namespaces (Was: RE: ESQL no longer applied to custom logicsheet)
Date Fri, 28 Dec 2001 20:21:10 GMT
On Friday 28 December 2001 03:10 pm, you wrote:
> I think this can be resolved in the XSLT logicsheet.. but i'm not really
> sure... can any XSL guru check if the next expresion is possible and
> does the same thing as the example??
> <xsl:if test=".//esql:connection/esql:pool"> (Took from the
> cocoon_branch_20 esql logicsheet)
> could be written as
> <xsl:if test=".//*[namespace-uri()='' and
> local-name() =
> 'connection']/*[namespace-uri()='' and
> local-name() = 'connection']">
> and thus being fully namespace compliant..
> ( the uri could be a variable and alleviate some typing but .. better to
> have the complete syntax for now )
> I know this will make LogicSheets a level worst, and a level slow, but
> being Cocoon the "standard" for XML processing, i think is very sad to
> not be fully xml compliant in every part of it...

I have been under the impression that the XSLT processor would hide that from 
you. The prefix is just a convenience, and a test will always match nodes in 
the target document that have the same namespace as the node described in the 
template, regardless of the prefix.

peter royal ->

To unsubscribe, e-mail:
For additional commands, email:

View raw message