This tag, which mimics CFQUERY functionality but substitutes an XML variable
for a database, is now available for download from
http://torchbox.com/xml
The tag currently only runs on Windows, since it requires Microsoft's MSXML
3 parser (a 600Kb download from msdn.microsoft.com/xml if you don't already
have it). I'd like to make a platform independent version, possibly using
Xerces - if anyone has any ideas on this I'd be very interested to hear
them.
To get the most from the tag it's worth understanding a little XPath, which
is roughly to XML what SQL is to a database. There are some good tutorials
around: try
http://www.zvon.org/xxl/XPathTutorial/General/examples.html
Planned improvements include better error handling and support of CF5's
'query a query' feature, which will allow you to run a SQL query on an XML
document.
I've written some companion tags - CF_XMLINSERT, CF_XMLUPDATE and
CF_XMLDELETE - which mimic CFUPDATE and CFINSERT functionality, and allow
you to build data-driven sites very quickly using XML (and no database!).
These will be available soon.
Tom
-----------------+
tom dyson
t: +44 (0)1608 811870
m: +44 (0)7958 752657
[EMAIL PROTECTED]
http://torchbox.com
-----------------------+
cf-xml mailing list
[EMAIL PROTECTED]
http://torchbox.com/xml