blocks_image
XML+XSL
An example of converting information formatted as XML into HTML by using an XSL template. This allows for print preview in an htmlviewer and actual printing through the default browser. See the App | Notes for more information.

This sample shows examples of the following features:
  • transforming a XML file with an XSL file
    • transforming a XML file into a website
    • Using XSL to group and format XML
    • printing a local web page (having some problems with using local graphic though).
    • previewing a local web page
    • creating XML from a listbox
    • loading XML into a tree control
    • listbox with drag/ drop sorting and inline editing
    • XPATH query examples
    • uses Alex Restrepo's amazing Custom Edit Field http://homepage.mac.com/alexrestrepo/
Binaries for Windows, MacOSX and Linux GTK+ 2.x. with Realbasic source code included. Last compiled with Realbasic v2008r4.

Comments:
10 Jul 2007
hi there..........your code definitely rocks :)
its pretty cool if you add the sum of price at the bottom
i have school assignment (point of sale), i tried to sum/calculate the value in table with loop but no luck..can you tell how to make it. sample project will be highly appreciated.
i looking forward to receive an answer from you
thx in advance...keep up the good work

24 Oct 2007 A BIG thank you for an excellent example/demonstation of using xml/xsl to produce nice reports, etc. With a little kick-start I was able to build a spooler and a commandline prog that does the conversion on the fly without user intervention. THANK YOU.
blocks_image