> CFMX Doesnt have a DOM Parser? No, it doesn't. What CFML use is a data structure that doesn't follow the DOM specs:
http://www.w3.org/DOM/ If you pay attention, the docs never refer to it as a "DOM", mostly as a "XML Doc". > What are the Advantages of using Java Native API's to > invoke XML DOM Parsing... Just curious. > Can you please Explain? Most of the times you have no major advantages, but there are cases when you hit the limits of the CF implementation. For example, you can't merge two documents, insert new elements can be a pain, no way to validate against a DTD or schema and so on. Don't get me wrong, I find CF's implementation really brilliant, in a typical "fusionescque" fashion it solve the vast majority of situations in a simple and clever way; but some times I need more. A really important factor is that I am used to DOM manipulation in JavaScript since many years, so Java's DOM is much more natural to me than CF's "XML doc". One of the great benefit of the DOM is that I can reuse my experience among different languages and environment, I do it in JavaScript, PHP and Java, but there are more like Python and so on. CF's unique implementation instead, doesn't lend itself to reuse your knowledge. It's not unlike CFC, they aren't truly OOP, instead to blame MM for that, you better enjoy their simplicity and effectiveness; yet, there are cases (not many of them), when you need more, in those cases, Java may be the way to go. BTW If you like reading, I heartily suggest this: Document Object Model by Joe Marini Paperback - 360 pages (August 2002) Osborne McGraw-Hill ISBN: 0072224363 You may read my review on Amazon ---------------------------- Massimo Foti Certified Dreamweaver MX Developer Certified Advanced ColdFusion MX Developer http://www.massimocorner.com/ ---------------------------- ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com).
