xsl-list
[Top] [All Lists]

Re: [xsl] Transforming XML copied via XSLT

2010-01-27 16:47:40
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(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>