Global GuideLine Home HTML Tutorial JavaScript Tutorial SQL Tutorial CSS Tutorial SEO Tutorial XML Tutorial XSLT Tutorial Articles Tutorial Interview Questions and Answers Guide Jobs GuideLine Bookmark With Google Bookmark With Yahoo Bookmark With FaceBook Bookmark With Live Follow @GlobalGuideLine on Twitter Bookmark Global GuideLine
XML with XSL, XML Tutorial, Global Guideline

Bookmark this webpage. Bookmark: XML with XSL, XML Tutorial Global Guideline is UNITED STATES's favorite website


      Home                    

Basic XML Guide.       
 XML Introduction.       
 XML Tags Guide.       
 XML Attributes.           
 XML Syntax Guide.    
 XML Compilation.      
 XML Execution.          
 XML with CSS.           
 XML with XSL.
 XML Data Island.        
 XML Professional.       
 XML with JavaScript. 
 XML Namespaces.      
 XML CDATA.              
 XML Editors.               
 XML Summary.           

XML Tutorial >> XML with XSL.


     Back             Next     



Now in XML Tutorial we will learn how to display an XML document like web page and for this requirement we will use XSL (eXtensible Stylesheet Language). As we know that XSL is more comprehensive as compare to CSS because it was designed or developed for only XML an as we know the CSS is specially use for HTML transformation.

How to Transform XML with XSL?

Now we are going to use XSL for the transformation of an XML document. Just like in HTML we will follow the same as we followed in CSS we will add the XSL reference in XML document on top and after that we will start the XML root element.  On execution of XML document web browser when read the XSL reference web browser will transform the entire XML document with given XSL path.  

Example of  XML Transformation with XSL

<?xml version="1.0" encoding="ISO-8859-15"?>
<?xml-stylesheet type="text/xsl" href="employees.xsl"?>
  <globalGuideLine>
     <employee>
       <FirstName>Austin</FirstName>
       <LastName>Hennery</LastName>
       <gender>m</gender>
     </employee>
     <employee>
       <FirstName>Angela</FirstName>
       <LastName>Julie</LastName>
       <gender>f</gender>
     </employee>
     .......
     .......
     .......
     .......
  </globalGuideLine>

Sources of XML Transformation with XSL

Now give attention to the XML of above employees here.  That was final touch step on simple raw XML here with out XSL.  The main controller for this raw XML in to well formatted output is the employees XSL document.


     Back             Next     
 
In order to link this page as Reference, click on below text area and pres (CTRL-C) to copy the code in clipboard or pres right click then copy the following lines after that past into your website or Blog.

Get Reference Link To This Page: (copy below code by (CTRL-C) and paste into your website or Blog)
HTML Rendering of above code:

[ About ] [ Contact ] [ Home ]
[ Links ] [ Site Map ] [ Services ] [ Privacy ]

Copyright © 2005-2006 www.globalguideline.com All rights reserved. Join Global Guide Line community. 320 visitors are online now