Hi,I have developed the data capture template and presentation templates successfully. Now I want to use XSL for the presentaion. I have used the following cfg (datacapture.doc) file for datacapture template and xsl file (xsltest) for presentation part. When I try to generate the page it shows the XML file that I have written in xsltest file. If any body have any pointer to study material or sample code to generate output using XSL then please direct me.Thanks !
Thanks Sailesh,But I have no sample files to refer. I need some documents or any sample code can you help me in this regard.I wud be thankful for help.
Hi All,Thanks for your suggestions.After doing some changes, the presentation through html is working. It is showing all the labels but the xsl file is not able to retrieve the attribute value from the dcr. I have not made any .tpl file. I have used xsl file which is placed in the presentation folder. here i am attaching both xml(dcr) and xsl(for presentation) files below - Please look into it and guide for the solution so that the dcr values can be retrived in the html output.Thanks!
sailesh,thanks for suggestion, But its not working again.I have removed the TPL file and placed the xsl file in place of it in the presentation folder. is it ok ?
The iwpt_compiler is used to compile TPLs. If you want to use XSLs you need an XSL compiler, ex: SAXON 4.2 and then run it from an external task in a workflow against your DCRs to generate the output pages.Aslo check here httpd/iw/help/tst/pt/index.html to see examples of using interwoven xslt tags inside tpls.Why would you want to use XSLs in the first place. Why not TPLs?
is there primary advance using xslt instead of the perl we grew up??Can you still use iw_perl tag in xslt? Having that makes thing easy.