Click to See Complete Forum and Search --> : What does it mean to...


Adam Cascio
01-13-2004, 01:17 PM
I am doing a research for my ITN 160 class at the college. (Principles of Web Design) I need the following question answered.:) Thank you.


What does it mean to have a well formed document using XML?

Khalid Ali
01-13-2004, 01:25 PM
It means that your xml document starts with <xml declaration tag
<?xml version="1.0" encoding="UTF-8"?>

encoding attribute is a good practice but not necessary.

Then it ha all the elements with start and end tag,
None of the none-allowed characters are present in the element names as well as in text and so on

1631firefighter
01-13-2004, 01:26 PM
Having a well-formed document on XML meanes that a document adheres to the syntax rules described in this section. Any document that does not meet the syntax rules will not be accepted as an XML document.

Adam Cascio
01-13-2004, 01:32 PM
:) Thanks!! :)