PHP SimpleXML Function
- Previous Page PHP MySQLi
- Next Page PHP String
PHP SimpleXML সম্মুখীন
SimpleXML ফাংশন আপনাকে XML-কে অবজেক্টে রূপান্তরিত করতে দেয়。
সাধারণ অ্যাট্রিবিউট সিলেক্টর বা আর্রেই ইটারেটরের মাধ্যমে, এই অবজেক্টকে অন্য কোনো অবজেক্টের মতোই হানা যায়。
এমন কিছু ফাংশনকে নতুনতম PHP সংস্করণ প্রয়োজন
ইনস্টল
SimpleXML ফাংশন PHP-র মূল অংশবিশেষ। এই ফাংশনগুলিকে ইনস্টল করতে হয় না।
PHP SimpleXML Function
PHP:Indicates the earliest PHP version that supports this function.
Function | Description | PHP |
---|---|---|
__construct() | Create a new SimpleXMLElement object. | 5 |
addAttribute() | Add an attribute to the SimpleXML element. | 5 |
addChild() | Add a child element to the SimpleXML element. | 5 |
asXML() | Get XML string from SimpleXML element. | 5 |
attributes() | Get the attributes of the SimpleXML element. | 5 |
children() | Get the children of the specified node. | 5 |
getDocNamespaces() | Get the namespace of the XML document. | 5 |
getName() | Get the name of the SimpleXML element. | 5 |
getNamespaces() | Get namespace from XML data. | 5 |
registerXPathNamespace() | Create namespace context for the next XPath query. | 5 |
simplexml_import_dom() | Get SimpleXMLElement object from DOM node. | 5 |
simplexml_load_file() | Get SimpleXMLElement object from XML document. | 5 |
simplexml_load_string() | Get SimpleXMLElement object from XML string. | 5 |
xpath() | Run XPath queries on XML data. | 5 |
PHP SimpleXML Constants
None.
- Previous Page PHP MySQLi
- Next Page PHP String