Skip to Content
0
Oct 05, 2004 at 11:12 PM

XSLT - adding an element with blank spaces

562 Views

Hi guys,

I am writing an XSLT that maps fields from an idoc to a data type. In adddition to these fields there are further fields that the XSLT needs to populate in the data type. Some of these fields must contain e.g. 5 blank spaces - does anyone know how to create blank spaces within a tag that are retained by the XSLT processor? The reason for this is that the file adapter is causing new lines to occur for the same recordset when some fields contain no values. This causes problems when you have set fixed field lengths as a parameter for the recordset as each line is treated as a separate recordset.

Regards,

Dan.