![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: br closing element name expected [Thread Next] Re: br closing element name expectedTo: NULL Date: 1/3/2005 12:59:00 AM Grams F. wrote:
> Bjoern Hoehrmann wrote:
>> * Grams F. wrote in comp.text.xml:
>>> It seems a <br> code in my XML-file is not accepted.
>>
>> In XML, all elements need to be explicitly closed and there are only
>> two way of closing an element, either by using an end-tag like </p>
>> or by using a special kind of start-tag, <p/>, which can be used if
>> there is no content. In your document the <br> elements are not
>> closed, you have just "<br>" without a corresponding "</br>". Change
>> these to "<br></br>" or (probably better), "<br />".
>
> Cool, I really did not know this.
> I will try it tomorrow immediately.
When in doubt, read the FAQ.
http://www.ucc.ie/xml#wf, "Rules for well-formedness", 3rd bullet
///Peter
--
"The cat in the box is both a wave and a particle"
-- Terry Pratchett, introducing quantum physics in _The Authentic Cat_
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
