Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

CSharp Bible (2002) [eng]-1

.pdf
Скачиваний:
42
Добавлен:
16.08.2013
Размер:
4.29 Mб
Скачать

</Book>

<Book ISBN="0-7356-0562-9"> <Title>XML in Action</Title> <Category>Internet</Category> <Category>XML</Category>

<Author>William J. Pardy</Author> </Book>

</book:XMLBooks>

Because most elements in an XML document belong to the same namespace, it is possible to create a default namespace and omit the namespace prefix, for example, xmlns ="www.myurl.com".

Lastly, it is possible to have several namespace declarations in the same XML document. This is done by adding all the namespace attributes to the root element. Note that a document can only point to 1 XML Schema though.

Соседние файлы в предмете Программирование на C++