What is the difference between .xsl file and .xslt file? I know that xslt is the xsl language used for transformations. Xml file can be converted to another xml file or html file by writing transformation logic in xsl file. what is for .xslt file. Thanks Shoba
Those are just widely used conventions. The stylesheet file need not be named .xsl or .xslt A XSLT processor like Xalan does not expect the stylesheet file to have any particular extension. You could have a stylesheet in a file named stylesheet.abc and it work exactly the same as having a file named stylesheet.xsl or stylesheet.xslt Hope this helps. Shashank
<b><br /><a href="http://mailto:firstname.lastname@example.org" target="_blank" rel="nofollow">Shashank Tanksali</a><br /><i><br />SCJP2,SCJD2,SCWCD<br />IBM Certified Developer - XML and Related Technologies<br />PMI Certified Project Management Professional<br /></i><br /></b>
Joined: Mar 29, 2001
Shashank, thanks for your reply. But when open new file in xmlspy, it asks which file do you want to open....like .xsl or .xslt? If I say .xsl file, it opens up a new window with this tags in default <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> </xsl:stylesheet> If I say .xslt file, it opens up a new window with this tags in default <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl utput method="xml" version="1.0" encoding="UTF-8" indent="yes"/> </xsl:stylesheet> Why is there difference it tags? Thanks Shoba
It looks like xmlspy takes the xsl extension to mean that you may be dealing with Formatting Objects (FO) and Transforms while the xslt means just XSLT. I would think the product documentation (hardcopy or online) would have this info. [ May 02, 2002: Message edited by: John Wetherbie ]
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai