[
Lists Home |
Date Index |
Thread Index
]
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.
>
And in this case will the default templates be called ? Does this
transformation do anything ?
--
Regards,
Razvan
SCJP preparation material:
www.mihaiu.name/2004/sun_java_scjp_310_035/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html
www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html
|