Convert an HTML DOM node to XML Document for XSLT in
I've made a function that loops through all the nodes & attributes
and constructs a string that can then be successfully parsed as a new XML doc, but it is obviously going to be slow and scale poorly. I don't imagine that creating a new blank XML Document object and then doing the same loop over the HTML DOM and then adding on objects onto a blank XML Document via XML DOM would be faster - it's the loop that is the problem.
Any ideas? Thanks!
Lindsey Simon lsimon@xxxxxxxxxxxx Key fingerprint = C6A9 B9D9 677E A631 3E7F 43BF 5E2F 77F1 A33C B117 Public Key: http://www.commoner.com/pubkey.asc
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format