Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] how to reserve single space after transformation


Subject: RE: [xsl] how to reserve single space after transformation
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 5 Mar 2007 20:57:15 -0000

> 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>
> 

I can think of many different stylesheets that would transform a single
space to a zero-length string, but the chances are that none of them is the
stylesheet you wrote. Show us some code!

Michael Kay
http://www.saxonica.com/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xml