Coding what your asking is not complicated (at least in theory) so I'm
trying to avoid having to read through the JTidy implementation of pretty
printing to implement pretty printing in dom4j because of time.  So it
should be shorter to ask these questions here than read JTidy's code.  With
that said one final question, specifying a line width doesn't guarantee
complete words in English, should this be a factor or should the code simply
break at the line width regardless of complete words?
ex. <tag>The cow jumped over the moon.</tag> lineWidth = 16:
<tag>The cow jum
ped over the moo
n.<tag>


Dane Foster
Equity Technology Group, Inc
http://www.equitytg.com.
954.360.9800
----- Original Message -----
From: "Robert J. Lebowitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:48 AM
Subject: Re: [dom4j-user] Pretty Printing feature


Dane:

I spent a bit of time looking over the pretty printing features in JTidy,
and I think that the simplest thing to do would be to simple adapt their
code and produce a kind of XMLWriter that accepts a document and writes out
files as they do.

I believe that the brackets are included in the estimates, etc.  I'll try
and take a stab at this later today if time permits since I started the
whole issue; I'm really tired of scrolling to the right all the time when
eyeballing my XML files.

Rob


_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to