[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] copy-of question


Subject: RE: [xsl] copy-of question
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 18:19:24 +0100

> > If you do
> >
> > <xsl:template match="/">
> >   <xsl:apply-templates select="(//TABLE)[1]"/>
> > </xsl:template>
> >
> > then your output will be a deep copy of the first TABLE 
> element in the
> > source.
> 
> Mike, I use saxon (win) and I don't have a deep copy here (I mean the
> complete original html table inside the xml), but only the 
> table text cells
> as output

Sorry, I was being careless. I meant to write (and thought I had written):

> > <xsl:template match="/">
> >   <xsl:copy-of select="(//TABLE)[1]"/>
> > </xsl:template>

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread