XML Manipulation
Introduction
XML Manipulation
PHP Manual
Document Object Model
Introduction
Installing/Configuring
Requirements
Installation
Runtime Configuration
Resource Types
Predefined Constants
DOMAttr
— The DOMAttr class
DOMAttr::__construct
— Creates a new DOMAttr object
DOMAttr::isId
— Checks if attribute is a defined ID
DOMCharacterData
— The DOMCharacterData class
DOMCharacterData::appendData
— Append the string to the end of the character data of the node
DOMCharacterData::deleteData
— Remove a range of characters from the node
DOMCharacterData::insertData
— Insert a string at the specified 16-bit unit offset
DOMCharacterData::replaceData
— Replace a substring within the DOMCharacterData node
DOMCharacterData::substringData
— Extracts a range of data from the node
DOMComment
— The DOMComment class
DOMComment::__construct
— ساخت شی جدید DOMComment
DOMDocument
— The DOMDocument class
DOMDocument::__construct
— ساخت شی جدید DOMDocument
DOMDocument::createAttribute
— ساخت ویژگی جدید
DOMDocument::createAttributeNS
— ساخت گره ویژگی جدید به همراه فضای نام مربوط
DOMDocument::createCDATASection
— ساخت گره جدید cdata
DOMDocument::createComment
— ساخت گره توضیح جدید
DOMDocument::createDocumentFragment
— ساخت قطعه جدید سند
DOMDocument::createElement
— Create new element node
DOMDocument::createElementNS
— Create new element node with an associated namespace
DOMDocument::createEntityReference
— Create new entity reference node
DOMDocument::createProcessingInstruction
— Creates new PI node
DOMDocument::createTextNode
— Create new text node
DOMDocument::getElementById
— Searches for an element with a certain id
DOMDocument::getElementsByTagName
— Searches for all elements with given tag name
DOMDocument::getElementsByTagNameNS
— Searches for all elements with given tag name in specified namespace
DOMDocument::importNode
— Import node into current document
DOMDocument::load
— Load XML from a file
DOMDocument::loadHTML
— Load HTML from a string
DOMDocument::loadHTMLFile
— Load HTML from a file
DOMDocument::loadXML
— Load XML from a string
DOMDocument::normalizeDocument
— Normalizes the document
DOMDocument::registerNodeClass
— Register extended class used to create base node type
DOMDocument::relaxNGValidate
— Performs relaxNG validation on the document
DOMDocument::relaxNGValidateSource
— Performs relaxNG validation on the document
DOMDocument::save
— Dumps the internal XML tree back into a file
DOMDocument::saveHTML
— Dumps the internal document into a string using HTML formatting
DOMDocument::saveHTMLFile
— Dumps the internal document into a file using HTML formatting
DOMDocument::saveXML
— Dumps the internal XML tree back into a string
DOMDocument::schemaValidate
— Validates a document based on a schema
DOMDocument::schemaValidateSource
— Validates a document based on a schema
DOMDocument::validate
— Validates the document based on its DTD
DOMDocument::xinclude
— Substitutes XIncludes in a DOMDocument Object
DOMDocumentFragment
— کلاس DOMDocumentFragment
DOMDocumentFragment::appendXML
— اضافه کردن داده خام XML
DOMDocumentType
— The DOMDocumentType class
DOMElement
— کلاس DOMElement
DOMElement::__construct
— ساخت شی جدید DOMElement
DOMElement::getAttribute
— بازگرداندن مقدار ویژگی
DOMElement::getAttributeNode
— بازگرداندن ویژگی گره
DOMElement::getAttributeNodeNS
— بازگرداندن ویژگی گره
DOMElement::getAttributeNS
— بازگرداندن مقدار ویژگی
DOMElement::getElementsByTagName
— دریافت اجزا با استفاده از tagname
DOMElement::getElementsByTagNameNS
— دریافت گره با استفاده از namespaceURI و localName
DOMElement::hasAttribute
— بررسی وجود ویژگی
DOMElement::hasAttributeNS
— بررسی وجود ویژگی
DOMElement::removeAttribute
— حذف ویژگی
DOMElement::removeAttributeNode
— حذف ویژگی
DOMElement::removeAttributeNS
— حذف ویژگی
DOMElement::setAttribute
— Adds new attribute
DOMElement::setAttributeNode
— اضافه کردن گره ویژگی جدید
DOMElement::setAttributeNodeNS
— اضافه کردن گره ویژگی جدید به چز
DOMElement::setAttributeNS
— اضافه کردن ویژگی جدید
DOMElement::setIdAttribute
— اعلام ویژگی مشخص شده توسط نام که باید از نوع ID باشد
DOMElement::setIdAttributeNode
— اعلام ویژگی مشخص شده توسط گره که باید از نوع ID باشد
DOMElement::setIdAttributeNS
— اعلام ویژگی مشخص شده توسط نام محلی و فضای نام URI که باید از نوع ID باشد
DOMEntity
— The DOMEntity class
DOMEntityReference
— کلاس DOMEntityReference
DOMEntityReference::__construct
— ساخت DOMEntityReference object
DOMException
— The DOMException class
DOMImplementation
— The DOMImplementation class
DOMImplementation::__construct
— Creates a new DOMImplementation object
DOMImplementation::createDocument
— Creates a DOMDocument object of the specified type with its document element
DOMImplementation::createDocumentType
— Creates an empty DOMDocumentType object
DOMImplementation::hasFeature
— Test if the DOM implementation implements a specific feature
DOMNamedNodeMap
— کلاس DOMNamedNodeMap
DOMNamedNodeMap::getNamedItem
— Retrieves a node specified by name
DOMNamedNodeMap::getNamedItemNS
— Retrieves a node specified by local name and namespace URI
DOMNamedNodeMap::item
— Retrieves a node specified by index
DOMNode
— کلاس DOMNode
DOMNode::appendChild
— Adds new child at the end of the children
DOMNode::cloneNode
— Clones a node
DOMNode::getLineNo
— Get line number for a node
DOMNode::hasAttributes
— Checks if node has attributes
DOMNode::hasChildNodes
— Checks if node has children
DOMNode::insertBefore
— Adds a new child before a reference node
DOMNode::isDefaultNamespace
— Checks if the specified namespaceURI is the default namespace or not
DOMNode::isSameNode
— نشان دادن یکی بودن دو گره
DOMNode::isSupported
— Checks if feature is supported for specified version
DOMNode::lookupNamespaceURI
— Gets the namespace URI of the node based on the prefix
DOMNode::lookupPrefix
— Gets the namespace prefix of the node based on the namespace URI
DOMNode::normalize
— Normalizes the node
DOMNode::removeChild
— Removes child from list of children
DOMNode::replaceChild
— Replaces a child
DOMNodeList
— کلاس DOMNodeList
DOMNodelist::item
— بازیابی گره مشخص شده توسط اندیس
DOMNotation
— کلاس DOMNotation
DOMProcessingInstruction
— کلاس DOMProcessingInstruction
DOMProcessingInstruction::__construct
— Creates a new DOMProcessingInstruction object
DOMText
— The DOMText class
DOMText::__construct
— Creates a new DOMText object
DOMText::isWhitespaceInElementContent
— Indicates whether this text node contains whitespace
DOMText::splitText
— Breaks this node into two nodes at the specified offset
DOMXPath
— کلاس DOMXPath
DOMXPath::__construct
— Creates a new DOMXPath object
DOMXPath::evaluate
— Evaluates the given XPath expression and returns a typed result if possible.
DOMXPath::query
— Evaluates the given XPath expression
DOMXPath::registerNamespace
— Registers the namespace with the DOMXPath object
DOMXPath::registerPhpFunctions
— Register PHP functions as XPath functions
DOM Functions
dom_import_simplexml
— دریافت شی DOMElement از شی SimpleXMLElement
XML Manipulation
Introduction
XML Manipulation
PHP Manual