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()='http://apache.org/cocoon/SQL/v2' and > local-name() = > 'connection']/*[namespace-uri()='http://apache.org/cocoon/SQL/v2' 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. -pete -- peter royal -> [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]