Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Xpath and axis navigation using libxml >Thread Next - Re: Xpath and axis navigation using libxml Re: Xpath and axis navigation using libxmlTo: NULL Date: 11/11/2008 1:01:00 PM Alfie Noakes wrote: > My question is, what is the best way to step through all the field > elements in each row? I can do it in the software stepping through the > sibling and child nodes but these seems cumbersome. I suspect there's > something I can do using axis. Am I right? Are you using XSLT? Then you can do <xsl:for-each select="//table[@name='animals']/row"> <xsl:for-each select="field"> ... </xsl:for-each> </xsl:for-each> -- Martin Honnen http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
