Subject: Re: [xsl] Query re XMLSpy XPath engine From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx> Date: Mon, 22 Jul 2002 10:17:57 -0400 |
I have the following document
<root xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.a.com"> <hr xmlns="http://www.w3.org/1999/xhtml"/> </root>
Using the inbuilt XPath engine in XMLSpy 4.4, I issue the following XPath query
//hr
It returns the hr element.
If I try
//html:hr
nothing is returned.
This seems the wrong way around to me. Have I missed something?
+-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer | +-----------------------+------------------------+-------------------+ | XML in a Nutshell, 2nd Edition (O'Reilly, 2002) | | http://www.cafeconleche.org/books/xian2/ | | http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.cafeconleche.org/ | +----------------------------------+---------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Query re XMLSpy XPath eng, David Carlisle | Thread | Re: [xsl] Query re XMLSpy XPath eng, Jeni Tennison |
Re: [xsl] Hierarchy problem, David Carlisle | Date | [xsl] using saxtransformerfactory a, Andrew Welch |
Month |