Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: br closing element name expected

From: Peter Flynn <peter.no-sp@-.--------.-->
To: 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_


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent