Logan wrote:
> Hi Everybody.I�m new on the list and i want before of all say hi to
> all the list,I decide to join the list for some problems with the
> sablotron in PHP, this problems are related with the use of HTML tags
> inside the XML, there is any solution to use <br> for example in an
> XML and after translate this to HTML with the XSL.
Hi Logan,
I believe there are several ways to do this.
The way I use regularly (because it is simple, if not clever) is to set
the output method to text using:
<xsl:output method="text">
and then in the XML
< becomes <
> becomes >
& becomes &
So it you wanted to output the "html text" for <br> output, you would
type:
<br>
Also, it might get uglier if you want to output , you would then
need to type:
&nbsp;
--
Mark McLaren,
VBCnet GB Ltd,
Maggs House,
78 Queens Road,
Clifton, Bristol BS8 1QX
Tel: 0117 929 1316
Fax: 0117 927 2015