a = XMLSearch(xmlDoc, '/document/node);
attrValue = a.xmlAttributes.attributeVal;
I don't really think the fact that XMLSearch will only return element arrays
is a big limitation.
Sam
-----------------------------------------------
Blog: http://www.rewindlife.com
Charts: http://www.blinex.com/products/charting
-----------------------------------------------
> -----Original Message-----
> From: Alexander Sherwood [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, December 02, 2003 2:33 PM
> To: CF-Talk
> Subject: XmlSearch() returning Attribute Values
>
> It seems as if XML Search only returns element nodes, and
> that's it. Poor, poor, poor planning, IMHO.
>
> Has anyone created a work around, for example, for doing the
> following:
>
> ---
>
> XMLSearch(xmlDoc, '/document/node/@attributeVal')
>
> ---
>
> to return the string value of the attribute "attributeVal"
> for element "node"?
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

