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

2001-08-06 Thread Jean-Baptiste Quenot

* Lisa Rupe:

 Is  it  possible to  put  HTML  tags  that  are not  well-formed  into
 xsl:template?

Yes, by using CDATA sections ![CDATA[/td/tr/table]]
or by escaping  and  to lt; and gt; in a xsl:text statement
xsl:textlt;/tdgt;lt;/trgt;lt;/tablegt;/xsl:text

Cheerio!
-- 
Jean-Baptiste Quenot

--
To unsubscribe from this elist send a message with the single word
unsubscribe in the body to: [EMAIL PROTECTED]



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

2001-08-06 Thread Norman Walsh

/ Jean-Baptiste Quenot [EMAIL PROTECTED] 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:textlt;/tdgt;lt;/trgt;lt;/tablegt;/xsl:text

That's not sufficient. You must do this:

  xsl:text disable-output-escaping=yeslt;tagnamegt;/xsl:text

Be seeing you,
  norm

-- 
Norman Walsh [EMAIL PROTECTED]  | 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: [EMAIL PROTECTED]