Re: [xsl] XPATH problem with namespace

Subject: Re: [xsl] XPATH problem with namespace
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 7 Oct 2004 12:20:56 +0100
> it seems that making XPath aware of the XSLT document's default 
> namespace is a simpler solution.

The usual reason for setting a default namespace in an xslt file is to
set the default namespace on literal result elements in the _result_
typically the result namespace is different from the default namespace
in the source, so having xmlns=.... on an xsl:stylesheet change the
meaning of QNames in Xpaths would be very disruptive.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread