Convert to an XMLDoc


Yep, no problem with that step.

Create a new XmlElemNew and use the ArrayInsertAt to insert a new XmlChildren item.

You're glossing over quite a lot with that statement.

If you want to put a product in the new node, and the product itself contains a bunch of nested sub-nodes, the code to manaually generate the new node really does start to look a bit ugly when compared to inserting similarly complex data into a database.

Not only that, but because of the syntax, it can be very easy to insert sub-nodes at the wrong position or depth.

It's just like dealing with Structs and Arrays - all you have to do is know about DOM, which isn't exactly that tricky.


Agreed.

<insert blatant plug about the XML/XSL presentation I will be giving at CFUG tomorrow night> :oD

I personally feel that there is some real power to do really good things with XML is CFMX! :o)

Mark

-----------------------------------
[EMAIL PROTECTED] ICQ: 3094740
Safe From Bees
[www.safefrombees.com]


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/






---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to