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: Solution to funky TOCs in HTML Help...

/ "Dave Brooks, BCS Systems" <dave@bcs.co.nz> was heard to say:
| At 21:36 13/08/01 +0200, Jirka Kosek wrote:
| >They are usefull, but in XSLT there is no easy way to strip leading and
| >trailing new-line from
| >
| ><xxx>
| >foo
| >bar
| ></xxx>
| <xsl:template match="xxx">
|    <xsl:value-of select="normalize-space(text())"/>
| </xsl:template>
| should do this,

Yes, but note that it's a disaster if you say:


Using value-of or text() to get at the content of elements that may
contain additional markup is going to bite you eventually.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com>      | I have seen the truth and it makes
http://www.oasis-open.org/docbook/ | no sense.
Chair, DocBook Technical Committee |

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

Powered by eList eXpress LLC