Link to home
Start Free TrialLog in
Avatar of Sam80
Sam80

asked on

<br> output in XML

Hi all ,

Now I use one xls format to output all my error messages recorded in xml files respectively , but what frustrate me is the content cannot wrap to another row !!! please see the xml code below :

<?xml version="1.0" encoding="GB2312"?>
<?xml:stylesheet type="text/xsl" href="error.xsl"?>
<error>
<title>
title
</title>
<content>
First row

1. first condiction
2. seconde condiction
3. third condiction

foot row
</content>
</error>

==============

but the output is not come out as I expect , they will concatenate together without wrap in rows
how can I set this content to show as I want ?

Regards,
Sam
Avatar of jkmyoung
jkmyoung

All whitespace is automatically removed. You could go in the xsl:
<xsl:text>
</xsl:text>
SOLUTION
Avatar of Ornithoteuthis
Ornithoteuthis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial