Subject: Re: [xsl] Which XSLT processor on website? From: himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx> Date: Tue, 14 Apr 2009 17:06:55 +0530 |
Thank you very much.My host machine is CentOS 5.2.Should I need to install MSXSL separately? Browser is 'Mozilla 3 Beta 5'. XML file should contain path of HTML page right,rather than XSL file('student_info.html' contains some XSL code.Is this fine or separate XSL file is required?If yes,should I call that XSL file on form load or how?) <?xml-stylesheet href="student_info.html" type="text/html"?> Thanks and Regards, Himanshu Padmanabhi. On Tue, Apr 14, 2009 at 4:19 PM, Vasu Chakkera <vasucv@xxxxxxxxx> wrote: >>>Currently,it is all in HTML.So every time to add/edit/delete entries.I >>>have to modify HTML,I do not want to do that. > > Good you realized that.. > >>> That is why thinking of switching to XSLT,wherein I will be having XML >> > file transforming to HTML on this particular part of the page. > > This is kind of a use case for which XSLT was intended originally.. > > >>>Which XSLT processor is used here? > > U have 2 options here. Either add the XSL style sheet reference to > your XML document > > So it happens in the client side.. this will use MSXSL .. If you do > not do crazy circus with your data, then this should be enough.. > > If however, u have a lot of computations, that cant be handled in the > client side . You must do ur transformations at the server and throw > the HTML to the client. You can use whatever processor you use.. use > saxon for all :) > > HTH. > > > > > 2009/4/14 himanshu padmanabhi <himanshu.padmanabhi@xxxxxxxxx>: >> I want to use XSLT in my website to display 'students information'. >> >> First half page will contain information of the institution.Then I am >> having information in following format(with some bullet formatting), >> >> Student Name: >> Student Address: >> Skill Sets: >> Educational Qualification: >> Other Personal information: >> >> Currently,it is all in HTML.So every time to add/edit/delete entries.I >> have to modify HTML,I do not want to do that. >> >> That is why thinking of switching to XSLT,wherein I will be having XML >> file transforming to HTML on this particular part of the page. >> >> Which XSLT processor is used here? >> or I should directly have following XSL portion replacing the HTMl part before? >> >> <FIRST HALF PAGE OF STATIC INFORMATION> >> <xsl:stylesheet version="2.0"> >> >> <xsl:output method="html" /> >> <xsl:template match="students"> >> Print all student information(just copy the previous HTML >> code,only retrieve fields from XML) >> </xsl:template> >> </xsl:stylesheet> >> <SOME ENDING PART> >> >> Am I on the right track, is the thinking correct? >> >> --------------------------------- >> Thanks and Regards, >> Himanshu Padmanabhi >> >> > > > > -- > Vasu Chakkera > Numerical Algorithms Group Ltd. > Oxford > www.vasucv.com
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Which XSLT processor on w, Vasu Chakkera | Thread | Re: [xsl] Which XSLT processor on w, Vyacheslav Sedov |
Re: [xsl] Which XSLT processor on w, Vasu Chakkera | Date | [xsl] XSL2 string result from XSL1 , Trevor Nicholls |
Month |