Share on Google+Share on Google+

Handling transformation output

This page discusses - Handling transformation output

Handling transformation output


Handling transformation output

After passing xml and xsl sheets , we need to handle output ,after transformation, like this :

$('#output').xslt({xmlUrl: 'xslt-test.xml', xslUrl: 'xslt-test.xsl'});

Here, 'output' is the ' div ' element with padding of 2 pixels , the output window is defined in the html as  :

Output:<br />
<div style="height: 150px; border: 1px solid #000000; overflow: scroll;">
<div id="output" style="padding: 2px;">

When  the ' .xslt ' method transforms the xml/xsl , it sets output in the div element 'output'.

For detail of the other methods used in the plugin , click here .

Learn from experts! Attend jQuery Training classes.


Posted on: April 18, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Handling transformation output  

Post your Comment

Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image