Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How to use XPATH on SVG?

From: "Joe Fawcett" <joefawcett@---------.------>
To: NULL
Date: 11/5/2008 8:30:00 AM
"Siegfried Heintze" <siegfried@h...> wrote in message 
news:%235LPERxPJHA.5044@T......
>I got it. I had the wrong index on my tr[2]. Apparently they start counting 
>at zero? Hmm....
>
XPath uses a one based system. The XML you posted seems to have little 
relation to the XPath with the tr[2] in it.
Also you don't appear to be mapping the namespaces. Set setProperty 
"SelectionNamespaces" in the documentation. You will need to use a dummy 
prefix for the default namespace (http://www.w3.org/1999/xhtml/).
See http://www.dpawson.co.uk/xsl/sect2/N5536.html especially numbers 13 and 
23.

-- 

Joe Fawcett (MVP - XML)

http://joe.fawcett.name




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent