Subject: Re: [xsl] Merging multiple XHTML documents into one From: Justin Akehurst <akehurst@xxxxxxxxxxxxxxxx> Date: Fri, 20 Feb 2004 15:56:06 -0800 |
<?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="iso-8859-1" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()" /> </xsl:copy> </xsl:template>
Using original entity definition for """. Using original entity definition for "&". Using original entity definition for "<". Using original entity definition for ">". Using original entity definition for "'".
<script type="text/javascript" src="http://reviews.cnet.com/html/js/rev/cms.js" xml:space="preserve"> </script>
I don't need that in my HTML. How would I suppress it? Is there a mode I can tell XSL to output XHTML ?
Perhaps you want something like:
... <xsl:template match="td[@id='subTemplateHere']"> <xsl:apply-templates select="document('./SubTemplate.html')//*[@id='subTemplate']" /> </xsl:template> ... <xsl:template match="td[@id='componentHere']"> <xsl:apply-templates select="document('./Component.html')//*[@id='component']" /> </xsl:template>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Merging multiple XHTML do, Andreas L. Delmelle | Thread | RE: [xsl] Merging multiple XHTML do, Andreas L. Delmelle |
Re: [xsl] Node selection list, David Carlisle | Date | Re: Xquery for 'hard data probs' wa, Kurt Cagle |
Month |