The CFMX implementation only supports returning an array of elements, not
attributes.

Sam

-----------------------------------------------
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
-----------------------------------------------

> -----Original Message-----
> From: Nikhil Madani [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 05, 2004 1:39 PM
> To: CF-Talk
> Subject: XPath expr to get all attributes....how?
>
> I have a XML file that looks like this
> (actually fusebox.xml file from FB4, for those who are familiar)
>
> <circuit>
> <fuseaction name="somename">
> ..
> </fuseaction>
> .
> .
> </circuit>
> I need to get a list of all the attribute values for "name"
> into an array. Right now, I'm using the xpath _expression_
> "/circuit/[EMAIL PROTECTED]", to first get an array of all
> fuseaction structures, and then doing
> myarray[idx].XmlAttributes.name to get the attribute values.
> Is there a better XPath _expression_ to get just the attribute
> values. All the examples I see relate to searching
> sub-elements on the attribute value, but not related to
> getting the attributes themselves.
> TIA,
> Nikhil
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to