cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <>
Subject xml:space
Date Sat, 15 Jan 2000 21:19:45 GMT
I've got a horrible feeling that I'm missing something really
obvious here, but I've checked the FAQ and documentation, and
can't see anything there. I'm having a problem whereby somewhere
in cocoon, 'empty' text nodes are being stripped, even though
I've got xml:space="preserve" attributes in the surrounding

XML source document fragment:


XSL document fragment:

<xsl:template match="PersName" xml:space="preserve">
	<xsl:value-of select="Forename"/>
	<xsl:value-of select="Middlename"/>
	<xsl:value-of select="Surname"/>

Now, as far as I can tell, that should render correctly, and
keep the new lines and tab characters intact, unfortunately, I
end up with PaulJamesRussell.

Cocoon - 1.5 (debian package version 2.2)
	using the OpenXML parser -
	XSL:P stylesheet translator - 19991017 (debian package
jdk1.1 (blackdown linux port)

Anyone got any ideas what stupid mistake I've made?


Paul Russell

View raw message