OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Re: [xsl] not wellformed contents of xsl:template

/ Jean-Baptiste Quenot <jb.quenot@smartcanal.com> was heard to say:
| * Lisa Rupe:
| > Is  it  possible to  put  HTML  tags  that  are not  well-formed  into
| > xsl:template?

It can be done, but it is almost always a bad idea. The only way that
it can be achieved is by disabling output escaping.

Why do you want to do this?

| Yes, by using CDATA sections <![CDATA[</td></tr></table>]]>
| or by escaping < and > to &lt; and &gt; in a xsl:text statement
| <xsl:text>&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</xsl:text>

That's not sufficient. You must do this:

  <xsl:text disable-output-escaping="yes">&lt;tagname&gt;</xsl:text>

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com>      | It would not be better if things
http://www.oasis-open.org/docbook/ | happened to men just as they
Chair, DocBook Technical Committee | wished.--Heraclitus

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC