![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Parsing Augmented XHTML to XHTML using XSL [Thread Next] Re: Parsing Augmented XHTML to XHTML using XSL - problems matching head and bodyTo: NULL Date: 3/21/2008 8:14:00 PM
I cannot seem to get head and body to match :-
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns="http://www.w3.org/1999/xhtml"
>
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html>
<xsl:apply-templates select="." mode="html"/>
</html>
</xsl:template>
<xsl:template match="head" mode="html">
head
<xsl:copy-of select="*"/>
</xsl:template>
<xsl:template match="body" mode="html">
body
<xsl:copy-of select="*"/>
</xsl:template>
</xsl:stylesheet>
Help,
Aaron
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
