hi all,
what is the difference between the 2?
I have a small xml
doc:
<?xml version="1.0"?>
<player name="sachin" born="1974">
<inning score="155" year='2001'>
Rest Of World at ENG
<ground>LORDS</ground>
</inning>
<inning score="145" year='1998'>
Aussies at SHA
<ground>Sharjah</ground>
</inning>
<inning score="138" year='1998'>
Aussies at SHA
<ground>Sharjah</ground>
</inning>
<inning score="145" year='1996'>
Aussies at Sydney
<ground>SCG</ground>
</inning>
</player>
if i apply the follwing xsl,
<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
i do not get the element names printed..only the elemnt contents..
But if i do
<xsl:template match="*">
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
then the entire document tree gets printed.
thanks
prav