Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
mashi 16.01.2006 02:14
Вот что нашел в документации:The standalone declaration indicates whether a document relies on information from an external source, such as external document type definition (DTD), for its content.Надо будет попробовать так:
If the standalone declaration has a value of "yes", for example, <?xml version="1.0" standalone="yes"?>, the parser will report an error if the document references an external DTD or external entities.
Leaving out the standalone declaration produces the same result as including a standalone declaration of "no". The XML parser will accept external resources, if there are any, without reporting an error.
$xml[^xdoc::create{<?xml version="1.0" encoding="$request:charset" standalone="no"?> <!DOCTYPE page SYSTEM "http://$env:SERVER_NAME/s/entities.dtd"> ... }]