Changes

Jump to navigation Jump to search
299 bytes added ,  11:53, 24 January 2011
m
no edit summary
XML documents often rely on Document Type Definitions (DTD).
While parsing a document with BaseX elements and entities can be checked for validity with respect to that particular DTD.
Currently the DTD is used only for entity resolution.
 
XHTML for example defines its doctype via the following line:
Now entity resolving is active for the current session. All subsequent <code>ADD</code> commands will use the catalog file to resolve entities.
The path to your catalog file and the actual entities may be either absolute or are relative to the current working directory.  '''Please note''' that entity resolving only works with option: <code>SET INTPARSE false</code>. <code>INTPARSE</code> is set to ''false '' by ''default''. Using the internal parser let's you specify manually whether you want to parse DTDs and entities or not.
== Using other Resolvers ==
administrator, Bureaucrats, editor, Interface administrators, reviewer, Administrators
401

edits

Navigation menu