We live in open source world... So, let it be same for knowledge !!
Note :- The implementations and code snippets are from my learning and knowledge repository. I am putting in public domain to be used by anyone. See creative commons License for more details.

Pages

Saturday, June 2, 2012

XML page using XSLT - one table page with different flavours

For some time now I am working on building a generic XSL which can be used to format different XML as per the defined standard. In this posting will be showing you the basic logic of building the XML and XSL. This has been created manually; will be working further to automate the XML generation as well as XSL generation.

Following screenshots of the webpage that has been generated and following objectives has been achieved in implementation.

One standard XSL for generating formatting multiple XML.

Display all data in a single page in different ways.

XML should contain instructions of how data should get displayed and not XSL.

Page when loaded:

Page when expanded:

Implementation:
I am not describing how it has been implemented but use both the XML and XSL to generate your page. Get your hands dirty and understand it and try to implement it the way you want. Basic things in implementation one Tag bifurcated by Type; how to display data depends upon Type (List/ Record/ Field)