XSL patterns and namespaces

Subject: XSL patterns and namespaces
From: "Borden, Jonathan" <jborden@xxxxxxxxxxxx>
Date: Mon, 18 Jan 1999 22:21:37 -0500
When a namespace is declared in an XSL document how does this translate to
XSL pattern matching? What happens when a prefix is associated with one
namespace uri in the XSL document and a different uri in the XML document
being transformed. What happens when the XML document uses the same prefix
for different uris at different places in the source tree?

e.g.
	<xsl:stylesheet ... xmlns:mime="urn:1">
	<xsl:template match="mime:body">...

with a source document

<mime:message xmlns:mime="urn:2">
<mime:body>
	<contents xmlns:mime="urn:3">
		<mime:body>1234456
		</mime:body>
	</contents>
</mime:body>

Jonathan Borden
http://jabr.ne.mediaone.net


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread