xsl-list
[Top] [All Lists]

Re: [xsl] Preserving indentation of first tag when copying XML into HTML?

2006-09-21 09:41:11

      <pre>
              <xsl:value-of disable-output-escaping="yes"
    select="text()[last()]"/>

d-o-e (which is evil) only affects the way < and & are linearised so
would have no effect on this white space text node.

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--