Tony Weeg wrote:
> zac.
> 
> can u explain in brief, or give a brief example
> of taking an xml node(s) and sending that to a structure?

using an xml parser in cf 5 or native in MX, you can convert an xml 
document into a dom object... like a tree of objects or structures of 
structures

take an xml document and convert it to dom

you end up with an complex array of array's and structyure and variables...

a good example is rss.. rss is really simple syndication, except that so 
many people can't read a spec and produce well formed or valid rss files

see this link here for a good working example

http://static.userland.com/gems/backend/sampleRss.xml

ok... rss should be something like

<channel>
        <title> etc
        <item>
                <title>
                <description>
        </item>
        and so on...

but sometimes you get no channel and only items

so you can load the xml into a dom under a var called rss and then say

rss.channel.item=rss.item

then if you have modified the xml structure or "transformed" it

z








______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to