xsl-list
[Top] [All Lists]

Re: [xsl] Naming conventions for xsl/xslt stylesheets

2007-01-30 09:20:43

Do XSL stylesheets ALWAYS have to be in a file with filen name extension 
*.xsl ?
no.

What about XSLT docs in *.xslt or even in *.xml files?
you can put them in .files with .html extension if you want. For some
processors ypu will need t serve the files with the correct mime type
but others will just take the file supplied.

Is there a must on how to name XSLT stylesheets or only a
recommendation ?

Neither. xsl is probably the most common but it's not so much xslt that
needs this as everything else. If I open up file with extension .xsl in
my editor it's set up to use xsl syntax help, if i use any other
extension I have to manually put my editor in xsl mode, so it's just
easier to use .xsl.

Are there differences in handling between XSLT 1.x and 2.0 versions ?
neither spec has anything to say about file names.

David


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>