Whitespace in XML content

Sarah Wilkin <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
I recently filed  
http://sourceforge.net/tracker/index.php? 
func=detail&aid=1104229&group_id=27659&atid=390963, which has no  
additional comments yet.

I'm curious what the procedure is for adding new flags to the tidy  
options. For example, I'm interested in a "xml preserve whitespace" or  
a general "preserve whitespace" flag (where the developer would strip  
unwanted whitespace afterwards while walking the tree). Is there  
procedure for nominating header changes, or should I go ahead and make  
the change and hope it gets picked up? The option to treat elements  
with a particular name as block elements doesn't help as I don't know  
what the root element is ahead of time.

Of course the best change would be to evaluate whitespace in xml  
differently than it is in html, purging only the whitespace used as  
spacing between element tags. Since tidy has such a strong html focus  
this would require a much bigger change in the source then merely  
preserving all whitespace.

Thanks,
--Sarah



-------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.