...Wow... Is this so?? I assume I could have the xmlns declaration at the
root node as well, right? I also assume then, that the document node
<foo:mynode xmlns:foo="http://www.mycompany.com/mytype" > </foo:mynode>
would be matched by the template
<xsl:template xmlns:bar="http://www.mycompany.com/mytype" match="bar:mynode" />
Looks correct, although usually (by convention) you'd put the xmlns:bar definition on the xml:stylesheet node (and mabye use exclude-result-prefixes as well).
I also find the self:: axis useful for stuff like (for example)
<xsl:apply-templates select="*[some condition...][self::foo:elementA|self::bar:element2]"/>
-Bertrand
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
