[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Carl Yu wrote:
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] indenting identity
Subject: Re: [xsl] indenting identity From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Thu, 16 Jan 2003 23:58:10 +0100 |
Carl Yu wrote:
Why does... <!-- IDENTITY copy, using nodes --> indent and <!-- IDENTITY copy, using elements --> not?
I know that one is a node and the other is an element... but is there a way to maintain indentation when copying elements?
The first template also copies text nodes, while the second doesn't. Indentation consists of text nodes containing spaces and linefeeds. If you select elements and attirbutes only for copying, these text nodes are stripped.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] indenting identity, Carl Yu | Thread | [xsl] 'copying' the default namespa, Carl Yu |
Re: [xsl] reposting.append to a fil, J.Pietschmann | Date | [no subject], owner-xsl-list |
Month |