Difference between revisions of "XSLT"

From BC$ MobileTV Wiki
Jump to: navigation, search
Line 40: Line 40:
 
== Resources ==
 
== Resources ==
  
* W3 Schools XSL Tutorial: http://www.w3schools.com/xsl/xsl_w3celementref.asp
 
* PHP Manual XSL: http://us2.php.net/xsl
 
* IBM's "Generating internal HTML links with XSLT" tutorial: http://www.ibm.com/developerworks/library/x-tipxslt.html
 
* TransformUtil.java: http://java.codefetch.com/cache?url=http://www.apress.com/ApressCorporate/supplement/1/460/1590595203-2919.zip&path=jcb_package/src/jcb/util/TransformUtil.java&lang=java&qy=xml+dom
 
* [[wikipedia: XSL_Transformations]]
 
  
 +
=== Java ===
  
 +
* XSLT Processing with Java: http://onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html
 +
* TransformUtil.java: http://java.codefetch.com/cache?url=http://www.apress.com/ApressCorporate/supplement/1/460/1590595203-2919.zip&path=jcb_package/src/jcb/util/TransformUtil.java
  
 +
=== PHP ===
  
== Tutorials ==
+
* PHP Manual XSL: http://us2.php.net/xsl
 
+
* '''Jeni's XSLT Pages: http://www.jenitennison.com/xslt/index.html'''
+
 
* PHP Server Side Scripting - Parsing/Accessing a page's HTML Anchors: http://www.webmasterworld.com/php/3620282.htm
 
* PHP Server Side Scripting - Parsing/Accessing a page's HTML Anchors: http://www.webmasterworld.com/php/3620282.htm
 
* Using PHP and XSL to Transform XML into Web Content: http://devzone.zend.com/article/1302-Using-PHP-and-XSL-to-Transform-XML-into-Web-Content
 
* Using PHP and XSL to Transform XML into Web Content: http://devzone.zend.com/article/1302-Using-PHP-and-XSL-to-Transform-XML-into-Web-Content
 
* Using PHP 5's XSL extension to perform XSL Transformations: http://www.tonymarston.co.uk/php-mysql/xsl.html
 
* Using PHP 5's XSL extension to perform XSL Transformations: http://www.tonymarston.co.uk/php-mysql/xsl.html
 
* Code generation in XSLT 2.0, Part 2 -- Generate PHP with XSLT 2.0: http://www.ibm.com/developerworks/xml/library/x-xslphp2/index.html?ca=drs-x0905
 
* Code generation in XSLT 2.0, Part 2 -- Generate PHP with XSLT 2.0: http://www.ibm.com/developerworks/xml/library/x-xslphp2/index.html?ca=drs-x0905
* Rescuing XSLT from Niche Status - A Gentle Introduction to XSLT through HTML Templates: http://www.xfront.com/rescuing-xslt.html
 
  
  
  
 +
 +
== Tutorials ==
 +
 +
* '''Jeni's XSLT Pages: http://www.jenitennison.com/xslt/index.html'''
 +
* W3 Schools XSL Tutorial: http://www.w3schools.com/xsl/xsl_w3celementref.asp
 +
* Rescuing XSLT from Niche Status - A Gentle Introduction to XSLT through HTML Templates: http://www.xfront.com/rescuing-xslt.html
 +
* IBM's "Generating internal HTML links with XSLT" tutorial: http://www.ibm.com/developerworks/library/x-tipxslt.html
  
  
Line 65: Line 68:
 
== External Links ==
 
== External Links ==
  
 +
* [[wikipedia: XSL_Transformations]]
 
* XML-to-string converter (An XML serializer implemented in XSLT): http://www.xmlportfolio.com/xml-to-string/
 
* XML-to-string converter (An XML serializer implemented in XSLT): http://www.xmlportfolio.com/xml-to-string/
 
* XSL Formatter converts XML to PDF: http://www.antennahouse.com/product/axfo30/pdfoutput.htm
 
* XSL Formatter converts XML to PDF: http://www.antennahouse.com/product/axfo30/pdfoutput.htm
Line 70: Line 74:
 
* Five XSLT Basics: http://www.xml.com/pub/a/2003/11/26/learnXSLT.html
 
* Five XSLT Basics: http://www.xml.com/pub/a/2003/11/26/learnXSLT.html
 
* Transforming XML with XSLT and PHP : http://www.codewalkers.com/c/a/Miscellaneous/Transforming-XML-with-XSLT-and-PHP/
 
* Transforming XML with XSLT and PHP : http://www.codewalkers.com/c/a/Miscellaneous/Transforming-XML-with-XSLT-and-PHP/
* XSLT Processing with Java: http://onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html?page=1
 
 
* 'Could not compile stylesheet' error - included xslt file path: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14281584&tstart=0
 
* 'Could not compile stylesheet' error - included xslt file path: http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14281584&tstart=0
 
* XSLT Questions and Answers: http://www.dpawson.co.uk/xsl/sect2/sect21.html
 
* XSLT Questions and Answers: http://www.dpawson.co.uk/xsl/sect2/sect21.html
 
* Beginner XML / XSLT count() help needed: http://www.dreamincode.net/forums/topic/135747-beginner-xml-xslt-count-help-needed/
 
* Beginner XML / XSLT count() help needed: http://www.dreamincode.net/forums/topic/135747-beginner-xml-xslt-count-help-needed/
* XSLT Processing with Java: http://onjava.com/pub/a/onjava/excerpt/java_xslt_ch5/index.html
 
  
  

Revision as of 04:49, 8 May 2010

Transforming an XML document to HTML

eXtensible Stylesheet Language Translation is act of applying a specially formatted file which contains an XSL translation specification for the content of a particular XML file, translating the context from raw XML format into a formatted HTML page (or other application/GUI element).




Tools

AJAXSLT

AJAXSLT is an implementation of XSL-T in JavaScript, intended for use in fat web pages, which are nowadays referred to as AJAX applications. Because XSL-T uses XPath, it is also an implementation of XPath that can be used independently of XSL-T.


XSLT Standard Library


W3C XSLT Service

Sample call:

http://www.w3.org/2000/06/webdata/xslt?xslfile=http://tomi.vanek.sk/xml/wsdl-viewer.xsl &xmlfile=http://198.164.40.210:8080/SAVOIR_MgmtServices/services/UserManagerWS?wsdl &transform=Submit



Resources

Java

PHP



Tutorials


External Links



See Also

XSL | XML