[Zope3-dev] Re: Better access to APIs in paths (was Re: needingviewsclues - template/title troubles)

Shane Hathaway shane@zope.com
Tue, 25 Feb 2003 16:34:28 -0500


Jim Fulton wrote:
> But nowhere in your xslt is the namespace prefix stuck inside,
> much less the middle of, an attribute value.

http://www.aasted.org/xsl/content.php?ch=5

This tutorial shows how to use XML namespaces in XSLT.  With the prefix 
"add" mapped to the namespace "http://www.phonedirectory.org/XML" using 
an xmlns attribute, an XSLT template may contain this directive:

<xsl:template match="add:addresses">

So at least the syntax is familiar to users of XSLT.

Shane