XML_Util
Collection of often needed methods that help you creating XML documents.
- Introduction — Introduction to XML_Util
- Пример — Пример for the usage of XML_Util
- XML_Util::apiVersion — return API version
- XML_Util::attributesToString — create XML attribute string
- XML_Util::collapseEmptyTags — collapse empty XML tags in a string
- XML_Util::createTag — create a tag
- XML_Util::createTagFromArray — create a tag from an array
- XML_Util::createStartElement — create a start element
- XML_Util::createEndElement — create an end element
- XML_Util::createCDataSection — create a CData section
- XML_Util::createComment — create an XML comment
- XML_Util::getDocTypeDeclaration — build a document type declaration
- XML_Util::getXMLDeclaration — build an xml declaration
- XML_Util::isValidName — verify an XML name
- XML_Util::replaceEntities — replace XML entities
- XML_Util::reverseEntities — replace XML entities
- XML_Util::splitQualifiedName — split qualified name