Subject: RE: how to reserve single space after transformation
From: cknell@xxxxxxxxxx
Date: Mon, 05 Mar 2007 16:07:31 -0500
|
Include an element like this as a child of xsl:stylesheet element:
<xsl:preserve-space elements="string" />
The value of the elements attribute should be space-delimitted list of the elements which might contain only space characters in their child text() node.
--
Charles Knell
cknell@xxxxxxxxxx - email
-----Original Message-----
From: Lin, Jessica <jlin@xxxxxxxxxxx>
Sent: Mon, 5 Mar 2007 11:28:11 -0800
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Subject: how to reserve single space after transformation
Hi,
I am doing XML to XML transform by using saxon 8. But the result changed
from single space to empty space, could you please help me for this
problem?
<category_label>
<string> </string>
</category_label>
to:
<category_label>
<string/>
</category_label>
Thanks,
Jessica
|