[
Lists Home |
Date Index |
Thread Index
]
On Sun, 2005-04-03 at 17:09 -0400, Elliotte Rusty Harold wrote:
> Razvan MIHAIU wrote:
>
> > You are speaking about an XSLT stylesheet ?
> > In this case you must have at least a template matching the root
> > element. That template should at least contain:
> >
> > <xsl:apply-templates />
> >
> > To my understanding this is the bare minimum.
>
> No, it isn't. The minimum is:
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> </xsl:stylesheet>
>
> This could even be an empty element. You do not need xsl:apply-templates.
Elliotte,
Of course you're right, but you're also leading him down the wrong road.
He should be thinking of CSS stylesheets, not XSLT.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Use CSS to display XML, part 2 - http://www-128.ibm.com/developerworks/edu/x-dw-x-xmlcss2-i.html
Writing and Reading XML with XIST - http://www.xml.com/pub/a/2005/03/16/py-xml.html
Use XSLT to prepare XML for import into OpenOffice Calc - http://www.ibm.com/developerworks/xml/library/x-oocalc/
Be humble, not imperial (in design) - http://www.adtmag.com/article.asp?id=10286
State of the art in XML modeling - http://www.ibm.com/developerworks/xml/library/x-think30.html
|