I have the following XML generated:
<InvoiceStreet>Rod House Rods Way Euro Industrial Estate</InvoiceStreet>
This contains white-space, I'd like to use xslt to transform it to the following:
<AddressLine>Rod House Rods Way</AddressLine>
<AddressLine>Euro Industrial Estate</AddressLine>
At the moment I'm only able to output it like so:
<AddressLine>Rod House Rods Way
Euro Industrial Estate</AddressLine>
Is there a way to do this using XSLT?
Edit
Here is what I currently have:
<Address>
<AddressLine>
<xsl:value-of select="/*/*/*/*/*/xsales:DeliveryStreet" />
</AddressLine>
</Address>