Slashdot Mirror


Pretty Printing From An XML File?

Omega1045 writes "Where I work we are developing a new product that receives an XML document (on a W2k workstation), and we need to format and print said document. We are currently using XSLT + CSS to build a cool little HTML page out the the XML, then use a browser to print out the HTML. However, while HTML is a nice format for display, it is not a nice format for printing. We have messed around with the idea of spitting out Rich Text with XSLT. However, Rich Text is confusing and quite frankly sucks. We are looking for a (free if possible) format that we can translate our XML document into via XSLT, and print. The best idea we have at this point is to translate into a Word or OpenOffice XML schema document, and use one of those applications to print. Other ideas?"

2 of 65 comments (clear)

  1. ... Why are you asking slashdot? by op00to · · Score: 2, Funny

    Is /. now the offical R&D contractor for every shitty, piss-ant "company" with a "product" out there?

    Seriously, buddy. It's not hard. XML -> Perl/Php/Python/Whatever P you chose -> PostScript -> pretty printing

    Google is your friend.

  2. Re:HTML is good enough by VTBassMatt · · Score: 2, Funny

    Welcome to my friends list.