Re: [xsl] Transforming XML copied via XSLT

Subject: Re: [xsl] Transforming XML copied via XSLT
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Wed, 27 Jan 2010 23:47:01 +0100
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

Current Thread