tags - break a line in XML -
reminder: dont have experience on code @ all.
im working on xml file/code notepad ++, code im working on:
<textobject name="cmnaorigen" left="6.5" height="1.5" top="3.2" width="6.0"> <text>av. el bosque norte 500 - of. 1102 las condes - santiago - chile tel: (56-2) 2362 2200 - fax: (56-2) 2362 2496 </text> <color r="0" name="black" g="0" b="0" a="255"/> <font name="arial" sizeinpoints="8" italic="false" bold="false"/> <border> <backgroundcolor name="white" r="255" g="255" b="255" a="255"/> </border> <objectformat horizontalalignment="leftalign" enablesuppress="false"/> </textobject>
what im trying break lines in text this:
av. el bosque norte 500 - of. 1102 las condes - santiago - chile tel: (56-2) 2362 2200 - fax: (56-2) 2362 2496
i tried <br /> /n <line></line>
tags other questions , nothing working, did figure out way of making work because of width, can put many spaces until lines move , it, know there must proper solution small issue , love learn it.
thank you.
a special attribute named xml:space may attached element signal intention in element, white space should preserved applications; value "preserve" indicates intent applications preserve white space.
alternatively can add cdata section.
in general xml tags express semantics. if xml schema/dtd using not allow br or line tag within text, semantics of text tag string of text, , not set of lines.
Comments
Post a Comment