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] | [List Home]


Subject: Re: [docbook-apps] trim space off tag contents


At 17:48 26/04/2003 -0700, Bob Stayton wrote:
>The normalize-space() function in XSL removes leading
>and trailing spaces, and replaces internal sequences
>of whitespace with a single space character.

If its many elements, then an identity transform with
<xsl:strip-space elements="*"/>
does the same job.
Replace * with as many elements as needed
or use...
<xsl:preserve-space elements="pre"/> or whatever.
Can be used in combination.

HTH DaveP




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