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]
Other format: [Raw text]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


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