> It seems as if XML Search only returns element nodes, and that's it. Poor,
> poor, poor planning, IMHO.
>
Yes, it only return Node Lists, I posted on LiveDocs about it. Mine is the
first comment:

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funca126.htm#wp427963
6

> 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"?

If you really care, you can use the XPath classes from Xalan. But I am not
sure it's worth the efforts...

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
----------------------------
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to