[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XPATH problem with namespace
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|