[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xsl-list
Subject:    Re: [xsl] Transforming XML copied via XSLT
From:       "Imsieke, Gerrit, le-tex" <gerrit.imsieke () le-tex ! de>
Date:       2010-01-27 22:47:01
Message-ID: 4B60C265.10208 () le-tex ! de
[Download RAW message or body]

Two typos, corrected below (Ordnung muss sein, jawohl!):

On 27.01.2010 23:31, Imsieke, Gerrit, le-tex wrote:
> <xsl:stylesheet
>    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>    xmlns:html="http://www.w3.org/1999/xhtml"
>    xmlns:saxon="http://saxon.sf.net/"
     xmlns="http://www.w3.org/1999/xhtml"
>    version="2.0"
>    exclude-result-prefixes="html saxon">
>
> <xsl:output
>      method="xml"
>      indent="yes"
>      doctype-public = "-//W3C//DTD XHTML 1.1//EN"
>      doctype-system =
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
     doctype-system = "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
>      saxon:suppress-indentation="p h1 h2 h3 h4 h5 h6 title"
>      />

That is, add a default namespace for the result tree and match 
doctype-public with doctype-system.

Gerrit

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@lists.mulberrytech.com>
--~--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic