Does it work if you set the output method to be 'html' in your XSL script?
As an experiment you might want to try is generating a dom4j Document from your XML (say using DocumentResult to capture the result of XSLT as a Document) then trying to use the HTMLWriter in the org.dom4j.io package to output your HTML. I'd be interested to see if it works any better. James ----- Original Message ----- From: "Christopher M. Golden" <[EMAIL PROTECTED]> To: "DOM4J User's Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 2:36 PM Subject: [dom4j-user] Outputting HTML data I'm still pretty new around here... Anyways, I'm trying to parse an XML file with an XSL spreadsheet and output the results as plain HTML. I don't want it in XHTML format (I don't want single tags having an ending "/"), I don't want the encoding statement and I want all entities evaluated BEFOREHAND. I have all but the last set in the XSL file but it is ignored in a basic parse, it works fine when using XML Spy for the conversion though. My biggest confusion is with trying to get HTML entities to display correctly in the HTML output. I'm trying to put a number of entities in there for the final product, but it bitches at me if I leave them in that form in the XSL file and if I use "&nbsp;" then it doesn't evaluate the "&" in the output! I need to be able to do complex spacing and I want the output HTML as compatible as possible with a JEditorPane's HTML display. Anyone have some suggestions? Chris Golden _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
