"Paul Wilson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> <root>
> <car>
> <engine/>
> <tyres/>
> <gears/>
> </car>
> </root>
>
> I want to know all of the parents/ancestors of the tyres node and get it's
absolute path. i.e.
> \root\car\tyres.
> Can you use Axes with CFMX http://www.w3.org/TR/xpath#axes

Sure, you can use Axes.
Just keep in mind that XmlSearch() always pretend to return a nodelist, in
case the XPath expression return a string or a number, it throws an error (I
learned it the hard way)

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
----------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to