Skip to content

Tag Archives: PHP-XML

In this article, we are going to see how to convert XML data into JSON format using PHP. Requirements: XAMPP Server Introduction: PHP stands for… Read More
In this article, we are going to display data present in an XML file on a web page using PHP through the XAMPP server. PHP… Read More
In this article, we are going to store XML data into a CSV file using PHPH. XML stands for an extensible markup language. XML is… Read More
In this article, we will learn how to process XML using PHP. We have already learnt the basics of XML and their differences with respect… Read More
A file can be generated using PHP from the database, and it can be done by the static or dynamic method in PHP. Static methods… Read More
The XMLReader::lookupNamespace() function is an inbuilt function in PHP which is used to lookup in scope namespace for a given prefix. Syntax: string XMLReader::lookupNamespace( string… Read More
The XMLReader::moveToAttributeNs() function is an inbuilt function in PHP which is used to move cursor on the named attribute in specified namespace. This method is… Read More
The XMLReader::next() function is an inbuilt function in PHP which is used to move cursor to next node skipping all subtrees. Another usage of this… Read More
The XMLReader::isValid() function is an inbuilt function in PHP which is used to check if the document being parsed is valid or not. An XML… Read More
The XMLReader::moveToAttribute() function is an inbuilt function in PHP which is used to move cursor to a named attribute. Syntax: bool XMLReader::moveToAttribute( string $name )… Read More
The XMLReader::moveToElement() function is an inbuilt function in PHP which is used to move cursor to the parent element of current attribute. This function can… Read More
The XMLReader::getAttributeNo() function is an inbuilt function in PHP which is used to get the value of an attribute based on its position or an… Read More
The XMLWriter::setIndentString() function is an inbuilt function in PHP which is used to set the string which will be used to indent each element/attribute of… Read More
The XMLWriter::endDtd() function is an inbuilt function in PHP which is used to end current DTD which is started using XMLWriter::startDtd() function. DTD stands for… Read More
The XMLReader::expand() function is an inbuilt function in PHP which is used to copy the current node and returns the appropriate DOM object. Syntax: DOMNode… Read More