[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
With the stylesheet you send, you don't only say to copy the contents of body, you also say apply-templates on the root, which means it will also show you what's not in body.
Simply say something like:
Hope this helps
Ronald
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] Copying XHTML
Subject: Re: [xsl] Copying XHTML From: Ronald <ronald@xxxxxxxxxxx> Date: Tue, 17 Apr 2001 14:07:54 +0100 |
With the stylesheet you send, you don't only say to copy the contents of body, you also say apply-templates on the root, which means it will also show you what's not in body.
Simply say something like:
<xsl:template match="html"> <html> <xsl:apply-templates select="body"/> </html> </xsl:template>
<xsl:template match="body"> <xsl:copy-of select="*"/> </xsl:template>
Hope this helps
Ronald
<xsl:template match="/"> <html> <xsl:apply-templates/> <html> </xsl:template>
Then I try to deep copy the body
<xsl:template match="body"> <xsl:copy-of select="*"/> </xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Copying XHTML, Mika . Borner | Thread | Re: [xsl] Copying XHTML, Ronald |
Re: [xsl] Copying XHTML, David Carlisle | Date | RE: [xsl] Copying XHTML, Michael Kay |
Month |