Jump to content

XML printing style


Guest takcc

Recommended Posts

Guest takcc
:) how to write a XML format to change the report color, let say red/blue/green and to bold/italics/(bracketed) after print out the report.can we have reference of it?? also it is better to show the XML Schema, stylesheet(s) to accommodate the different printing output styles.
Link to comment
Share on other sites

You could use CSS to style an XML document, but that would be realy plain.You could use XSLT to transform the XML to XHTML and style it with CSS (the best method for all) but then again, most browsers have problems with different print specific properties, so it might get ocmplicated at some point.You could use XSLT in combination with XSL-FO and then use XSL-to-PDF convertor application to generate a print preview of the page. That's probably the best method for printing purposes, scince you don't care for cross browser compatabilities, but just "want the job done".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...