Hey all,
I'm developing a content management system with cocoon, torque and dom4j.
I have a problem with parsing text from database in to a XML-document.
My app stores (X)HTML as XML into a database. I store only elements not
full XML-documents. Here is an example:
----
<document-body>
<content>
<h1>Sample page</h1>
<p>This is text with an entity: </p>
</content>
</document-body>
----
I use DocumentHelper.parseText()-method for creating XML-document. But
like in the example there might be entities in the text ( ä
etc.) The result is an exception complaining about missing entity
declarations.
Is there a quick solution with DocumentHelper?
Is it possible to parse text into existing XML-document, where I could
have the entities declared in forehand?
Thanks for reading this far...
-Jani
-------------------------------------------------------
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user