[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: What Suffixes to use and when?


suffixes
For the most part, file extensions have resisted standardization. 
Extensions like .xml, .htm(l), .xsd, .shtml, etc. are just unofficial 
conventions that happen to be widely used. Operating systems and some 
programs can be configured to treat a given extension in a special way, 
like launch a particular program when a file is "opened", but extensions 
have no intrinsic meaning.

SSI is no exception. As you can see from the tutorial 
(http://httpd.apache.org/docs/howto/ssi.html), the extensions of files 
that are scanned are entirely configurable. Pretty much every server 
that supports SSI also supports the .shtml extension, but that's not 
cast in stone.

Bob Foster
http://xmlbuddy.com/

tedd wrote:
> Hi:
> 
> This may be a very ignorant question (what questions aren't), but is 
> there a reference of some sort that explains what suffixes should be 
> used to call certain operations or languages?
> 
> For example, if I was to try to execute a XSSI command, the calling file 
> must have the suffix of ".shtml". No problem there, I understand that.
> 
> However, while this may be obvious to everyone here, but I just tried to 
> execute a --
> 
> <!--#include virtual="my.txt" -->
> 
> -- from within a ".shtml" file and the XSSI command in the text file 
> (my.txt) didn't work. However, when I simply changed the suffix of the 
> called text file from "txt" to ".shtml", such as --
> 
> <!--#include virtual="my.shtml" -->
> 
> -- everything worked as I wanted. This was very confusing to me --from 
> my perspective, who would have thunk it?
> 
> I can't help but think that when using html (or shtml) to call xlm , 
> xsl, css, and other such suffixes, there should be a list/register that 
> says "This is OK to call this operation using this suffix, but you can't 
> do that operation with that suffix." -- if that makes any sense.
> 
> Many thanks for any enlightenment.
> 
> /tedd
> 
> 



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.