General discussion
Thread display: Collapse - |
All Comments
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Searching XmlText in ColdFusion
in coldfusion... for the life of me I can't get it to do what I want...
which is.
Its a structure of books and extracts. I have it looping through
the books looping and listing all the extracts. Now I want it to
loop through but list only extracts with certain words... for
example if I wanted it search for the word 'authority' for example
and it would then list only the extracts with the word authority in
the XmlText...
The (wrong) code which I'm using is...
<CFSET Bookquotes = XmlSearch (QuotesXML, "/quotesdb/book
[@name='#Booknames.XmlText#']/quotes/
excerpt.XmlText='%auth%'")>
but I'm getting nothing... can anyone please shed some light on
what I'm doing wrong...
Derm