[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: xml/groff: comments in text=>whitespace stripped?!
> * In message <firstname.lastname@example.org> > * On the subject of "Re: Re: xml/groff: comments in text=>whitespace stripped?!" > * Sent on 06 Jun 2003 13:00:38 -0400 > * I write: > > 1. you can either remove just the leading spaces (but not NLs), or this would work just fine. 1. apply templates 2. replace newlines with a special non-white character, e.g. NULL 3. normalize-space 4. replace [space NULL] with newline and then [NULL] with newline. Tim, could you please consider this? note that the current XSL/groff style sheets are broken here... > 2. do the space normalization __before__ the lower-level processing, > i.e., _first_ normalize-space on the raw XML text, and only _then_ > call apply-templates. this is no good... -- Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux <http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/> <http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html> Your mouse has moved - WinNT has to be restarted for this to take effect.