> Anyone know (off-hand) a quick and dirty way to reduce a xerces dom > document to raw text (In CFMX7)? I have a java class returning of type > "org.w3c.dom.Document" and essentially I want to just spit it out to > screen, without having to jump through massive hoops. Thought toString() > would get me there... nope... tried replacing the native cf xml parser > with xerces... nope. Which by the way, is that even really necessary? > What is 7 using for xml parsing these days anyways, still Crimson? Ah > well... I hate these "so close, but so far" situations...
toString() on the document instance will not get you there, but you should be able to call it on the document element. Something like: yourDOMinstance.getDocumentElement().toString() Hope it will help ---------------------------- Massimo Foti Tools for ColdFusion and Dreamweaver developers: http://www.massimocorner.com ---------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220995 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

