[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] olinking in webhelp
On 25.10.2012 18:22, Bob Stayton wrote: > Regarding the XML declaration, though, I was a little confused by your > mail. You said: > > "In order to get encoding right > XML declaration should be there but <meta> tag with encoding should be > there. > > XML declaration can be easily omitted by omit-xml-declaration on > xsl:output." > > Should the XML declaration be there or not? It shouldn't be there, sorry I was typing slowly then thinking. Ideally XHTML output generated by stylesheets should conform to HTML Polyglot rules: http://www.w3.org/TR/html-polyglot/ This will make sure that content is parsed correctly even when send with wrong MIME type (which is quite often). Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
Attachment:
signature.asc
Description: OpenPGP digital signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]