Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - Why is there an "S" in XSLT? [Thread Next] RE: [xml-dev] Why is there an "S" in XSLT?To: <xml-dev@-----.---.---> Date: 5/19/2008 3:55:00 PM David Carlisle wrote: > XSLT has two alternative names for the top level element (xsl:stylesheet and xsl:transform) Ah! I have always used <xsl:stylesheet> as the top level element, but now it occurs to me that it would be better to use <xsl:transform> as the top level element, to reflect the intent to do "transforming," not "styling." And since the namespace prefix is arbitrary, it seems logical to change "xsl" to something else that is in the spirit of "transformation," not "styling." Any suggestions? For example, instead of this: <?xml version="1.0" encoding="utf-8"?> <xsl:stylsheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0"> ... </xsl:stylesheet> Write this: <?xml version="1.0" encoding="utf-8"?> <trn:transform xmlns:trn="http://www.w3.org/1999/XSL/Transform" version="2.0"> ... </trn:transform> Comments? /Roger | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
