Re: [xsl] XPATH problem with namespace

Subject: Re: [xsl] XPATH problem with namespace
From: "Ranjan K. Baisak" <ranjanbaisak@xxxxxxxxx>
Date: Thu, 7 Oct 2004 03:19:48 -0700 (PDT)
Yeah I do understand. In my application, before using
xslt engine, I am validating the document.If I use
xmlns:t="http://t3.org/test";, it gives validation
failed error.
The other way, I used your suggestion of
xmlns:t="http://t3.org/test"; and tried //t:country but
I still got null resultset. I am using stylus studio
for editing.

regards,
Ranjan
--- David Carlisle <davidc@xxxxxxxxx> wrote:

> 
> > But if I use xmlns:t="http://t3.org/test";, then I
> jave
> > to qualify all elements which I donot want to do.
> 
> you have qualified them, putting them in a
> namespace.
> Whether or not you use pr4efixes (which is I think
> what you mean) is
> irrelevant to xslt.
> 
>  t:country matches elements called country in that
> namespace whether or not they have a prefix and
> whether or not that
> prefix is t. 
> 
> 
> 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
>
________________________________________________________________________
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Current Thread