Just CC'ing the list... I'm glad the HTMLWriter helped! For Swing stuff you could try the ICE browser for rendering HTML - I don't have a link but I remember using it a few years ago and it was OK - I think Sun's Forte probably uses it.
James ----- Original Message ----- From: "Christopher M. Golden" <[EMAIL PROTECTED]> To: "James Strachan" <[EMAIL PROTECTED]> Sent: Wednesday, February 13, 2002 9:14 PM Subject: Re: [dom4j-user] Outputting HTML data I was originally using an XMLWriter, when I switched to an HTMLWriter and set some output format options it started working beautifully! Now if only JEditorPane had more than token support displaying HTML pages I would be REALLY happy... Anyone know of a good alternative for displaying HTML in a Java program? Chris Golden On Wed, 13 Feb 2002 14:28:55 -0000, James Strachan wrote: >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 > _________________________________________________________ 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
