On Feb 22, 2007, at 10:14, Daniel Schaedler wrote:

Hi Daniel,

Andreas L Delmelle wrote:
<snip />
Very quick way to check this is to try adding the following to your stylesheet:
<xsl:template match="text()" />

You are absolutely right :-)
I wasn't aware that linebreaks and spaces do matter in my XML.
This solved my problems - thank you!!

Glad I could help.

Be warned though: my suggestion will only work if the stylesheet *never* relies on the built-in template rule for text() (which corresponds to using *only* xsl:value-of to output CDATA content from the source XML).

Just so you know where to look when text suddenly starts disappearing after my proposed change.


Cheers,

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to