Re: Adding <!DOCTYPE html> using XProc/Calabash

On 08/16/2012 04:00 PM, James Fuller wrote:
> one hack is something like
> 
> <?xml version="1.0" encoding="utf-8"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
>   <xsl:output method="html" encoding="utf-8" indent="yes" />
> 
>   <xsl:template match="/">
>     <xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html></xsl:text>
>     <html>
>     </html>
>   </xsl:template>
> 
> </xsl:stylesheet>
> 
> pipe your final html through an xslt step.

Thanks Jim. Actually, I've tried that
and get:

com.xmlcalabash.core.XProcException: XD0001

David

Received on Friday, 17 August 2012 04:14:40 UTC