Does anyone have a good solution to doing entity substitution? I'm
attempting to substitute some entities with strings and some with other
entities (mostly to create an HTML or plain text representation). I'm
already using XSLT to transform to HTML/text but it doesn't seem to
have support for this. I have a solution using the Visitor pattern too
look up entities to be substituted in a Map but I don't have a clean
way to run a Node through the Visitor and then XSLT. I have to use the
Visitor to build up a new Node to pass to XSLT which seems expensive.
Any suggestions are greatly appreciated.
Thanks,
Paul
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user