[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Which XSLT processor on website?
On Wed, Apr 15 2009 11:01:22 +0100, nbabuganesh@xxxxxxxxx wrote: > 1. Create one xml file with all the content. > 2. develop xsl to output html and view the content in Mozilla by > adding xsl pi in xml file. (<?xml-stylesheet type="text/xsl" > href="test.xsl"?> > 3. Place the xml and xsl file in the same folder in web folder. > 4. Open the xml file in any browser it will open as HTML File. ... >>>> 2009/4/14 himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx>: ... >>>>> <FIRST HALF PAGE OF STATIC INFORMATION> >>>>> <xsl:stylesheet version="2.0"> >>>>> >>>>> <xsl:output method="html" /> >>>>> <xsl:template match="students"> >>>>> B B Print all student information(just copy the previous HTML >>>>> code,only retrieve fields from XML) >>>>> </xsl:template> >>>>> </xsl:stylesheet> >>>>> <SOME ENDING PART> If you are doing the transform in the Mozilla client, you'll have to use XSLT 1.0, not XSLT 2.0. Point your browser at http://www.mulberrytech.com/xsl/xsl-list/processor-version.xsl to confirm what version of XSLT it supports. Also, you won't be able to feed just half the webpage to the XSLT transform unless you are willing to do tricks with Javascript. Either the XML should be just the variable information with the stylesheet providing the static information or if the XML contains the static information, the stylesheet should just copy the static information in the source through to the result. Regards, Tony Graham Tony.Graham@xxxxxxxxxxxxxxxxxxxxxx Director W3C XSL FO SG Invited Expert Menteith Consulting Ltd XML, XSL and XSLT consulting, programming and training Registered Office: 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland Registered in Ireland - No. 428599 http://www.menteithconsulting.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- xmlroff XSL Formatter http://xmlroff.org xslide Emacs mode http://www.menteith.com/wiki/xslide Unicode: A Primer urn:isbn:0-7645-4625-2
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|