xsl-list
[Top] [All Lists]

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

2007-03-05 14:21:14

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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--