Re: [xsl] XPATH problem with namespace

Subject: Re: [xsl] XPATH problem with namespace
From: Emmanouil Batsis <Emmanouil.Batsis@xxxxxxxxxxx>
Date: Thu, 07 Oct 2004 14:15:50 +0300
Michael Kay wrote:

XSLT 2.0 allows you to write xpath-default-namespace="http://t3.org/test";,
which implicitly qualifies all element names in path expressions and match
patterns: but in 1.0, if you want to refer to an element in a namespace, you
need to prefix its name.


Apologies for the XSLT 2.0 newbie question but why does the XSLT author have to deal with two default namespaces in the same document? At first glance, it seems that making XPath aware of the XSLT document's default namespace is a simpler solution.


Thanks,

Manos

Current Thread