xsl-list
[Top] [All Lists]

RE: pretty-printing XML

2003-03-31 06:12:32
Mike said:
Since people have different definitions of what constitutes 
"pretty", it will
be difficult to know whether any tools meet your specific wrapping
requirements without testing a bunch of them to see.

Previous ones have come up on the list, from SVG through
to plain text etc.

If you are prepared to go back to xt,
http://www.dpawson.co.uk/xsl/sect4/N10096.html does good line wrapping.

http://www.dpawson.co.uk/xsl/sect4/N10301.html shows prior art in viewing.

#4, Steve's updated Microsoft xml viewer I find good.

If its just comments that are causing problems, 
which not identity transform except for comments,
transform them into something odd, 
then use the output processor to word wrap just that element?
Just a thought.

HTH DaveP

- 

NOTICE: The information contained in this email and any attachments is 
confidential and may be legally privileged. If you are not the 
intended recipient you are hereby notified that you must not use, 
disclose, distribute, copy, print or rely on this email's content. If 
you are not the intended recipient, please notify the sender 
immediately and then delete the email and any attachments from your 
system.

RNIB has made strenuous efforts to ensure that emails and any 
attachments generated by its staff are free from viruses. However, it 
cannot accept any responsibility for any viruses which are 
transmitted. We therefore recommend you scan all attachments.

Please note that the statements and views expressed in this email 
and any attachments are those of the author and do not necessarily 
represent those of RNIB.

RNIB Registered Charity Number: 226227

Website: http://www.rnib.org.uk 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>