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(_at_)nag(_dot_)co(_dot_)uk> 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
________________________________________________________________________
--+------------------------------------------------------------------
XSL-List info and archive:
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com