Re: xsl:text error
Bruno Dumon <[email protected]> 29 Nov 2002 10:11:32 +0100
| Newsgroups | gmane.editors.pollo.devel |
|---|---|
| Organization | Outerthought |
| Message-ID | <[email protected]> |
On Fri, 2002-11-29 at 08:28, Gabriele Domenichini wrote: > When pollo save the documents, it translates the expression > <xsl:text> </xsl:text> > into > <xsl:text/> > Actually, this happens when loading the document, not when saving it. When pollo loads a file, it strips all text-nodes containing only whitespace. This is because otherwise all whitespace that is used for indenting would also be shown in pollo, causing a lot of white boxes to be shown in the tree view. > This for me is terrible because I use this expression to build the > values of the coordinates into th path elements in svg files. This makes pollo indeed somewhat unsuited for editing XSLT files. We should probably make this behaviour configurable, preferably based on element names (e.g. whitespace inside an xsl:text element is significant, but whitespace inside an xsl:stylesheet element is not). -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [email protected] ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en