PDA

View Full Version : <BR> in XML or XSL


CrUdE
02-25-2003, 03: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
02-25-2003, 10: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
02-25-2003, 12:25 PM
are you closing the tag?
<br/>

djmothra
02-25-2003, 04: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
02-25-2003, 04: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
02-25-2003, 05:06 PM
and yeah i still need to learn

dont we all ;)

CrUdE
02-25-2003, 09:34 PM
:p guess so

djmothra
02-26-2003, 01:46 PM
hehe, yep me still learning too!

glad i could help!