xsl-list
[Top] [All Lists]

Re: XPATH problem with namespace

2004-10-07 04:20:56

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
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>