This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 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,
                                          norm

-- 
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

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]