Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
XML::DOM2::Element::DoUsernContributed PerlXML::DOM2::Element::DocumentType(3)

NAME
	 XML::DOM2::Element::DocumentType - XML	DocumentType

DESCRIPTION
	 Provides a DocumentType element for documents

METHODS
   new
       Creates a new documentType object

       Parameters:

	 - name	      qualified	name of	the document to	be created.
	 - publicid   The external subset public identifier.
	 - systemid   The external subset system identifier.

   ownerDocument
       $document = $document->ownerDocument;

       Returns the document that this type is within, undef if orphaned.

   name
       The name	of DTD;	i.e., the name immediately following the DOCTYPE
       keyword.

   entities
       A NamedNodeMap containing the general entities, both external and
       internal, declared in the DTD. Parameter	entities are not contained.
       Duplicates are discarded.

   notations
       Returns a HASH containing the notations declared	in the DTD. Duplicates
       are discarded. Every node in this map also implements the Notation
       interface.

       The DOM Level 2 does not	support	editing	notations, therefore notations
       cannot be altered in any	way.

   publicId
       Returns the public identifier of	the external subset.

   systemId
       Returns the system identifier of	the external subset.

   internalSubset
       The internal subset as a	string.

       Note: The actual	content	returned depends on how	much information is
       available to the	implementation.	This may vary depending	on various
       parameters, including the XML processor used to build the document.

   $documentType->dtd()
	 Returns the document type definition information.

AUTHOR
       Martin Owens, doctormo@postmaster.co.uk

SEE ALSO
       perl(1),	XML::DOM2, XML::DOM2::Element, XML::DOM2::DOM

       <http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-core.html>
       DOM at the W3C

perl v5.32.1			  2007-11-2XML::DOM2::Element::DocumentType(3)

NAME | DESCRIPTION | METHODS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=XML::DOM2::Element::DocumentType&sektion=3&manpath=FreeBSD+13.1-RELEASE+and+Ports>

home | help