PDA

View Full Version : <BR> in XML or XSL



CrUdE
Feb 25th, 2003, 04:39 AM
I'm new at XML and wondered how the html tag <br> can be used in XML cos it won't work when I just use it in the place i want to:confused:

Adam20002
Feb 25th, 2003, 11:25 AM
Hi CrUdE,

XML is for describing data really rather than formatting data ala HTML. Is it possible you have talking about XHTML ?

What exactly are you trying to ecomplish with XML.

Adam

ahosang
Feb 25th, 2003, 01:25 PM
are you closing the tag?
<br/>

djmothra
Feb 25th, 2003, 05:05 PM
ok, firstly <br> isn't to be used in the XML itself - all the XML is, is the hard data, HTML tags like <br> are used in the Stylesheet (or XSL)

basically all you have to do, is type <br/> and that will include a line break.

djmothra

CrUdE
Feb 25th, 2003, 05:36 PM
tnx alot I did try it in the XSL, not xml i know that it's only

<bla>jjgjyg</bla>
....

but in the XSL i tried <br> and </br> but not <br/> and that was the solution :p so tnx, and yeah i still need to learn, so sue me :D

Adam20002
Feb 25th, 2003, 06:06 PM
and yeah i still need to learn

dont we all ;)

CrUdE
Feb 25th, 2003, 10:34 PM
:p guess so

djmothra
Feb 26th, 2003, 02:46 PM
hehe, yep me still learning too!

glad i could help!