Hello list, 

I'm using lot's of XML in my projects, normally I parse the XML to Objects
to use it and back (as you all describe).

The XML's I am using are deeply nested XML's (describing sitestructures)

But now I use the xFactorStudio xpath API which I have in a wrapper to
acces/ change nodes etc etc .. And it works fairly good. 

I can acces all nodes through there ID / nodename etc etc,
 
var _node = XPath.selectSingleNode(oXML,"//[EMAIL PROTECTED] = '"+_id+"']"); 

Use xPath to find the ancestors of nodes..

var pathArray = XPathAxes.ancestorOrSelf(_node);

I think this way of working especially when working with XML which is deeply
nested (tree structure of for example a website) is far more preferable then
converting to Object and back because of XPATH .. . 

My 2 cents,

Nyls








_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to