建体彩网|中彩网双色球连号|
?
快捷搜索:  as  test  1111  test aNd 8=8  test++aNd+8=8  as++aNd+8=8  as aNd 8=8

澳門新莆京app官網:PHP中的DOM XML函數

?

DOM XML functions

These functions are only available if PHP was configured with --with-dom=[DIR], using the GNOME xml library. You will need at least libxml-2.0.0 (the beta version will not work). These functions have been added in PHP4.

This module defines the following constants:

Table 1. XML constant澳門新莆京app官網s

Constant Value Description

XML_ELEMENT_NODE 1

XML_ATTRIBUTE_NODE 2

XML_TEXT_NODE 3

XML_澳門新莆京app官網CDATA_SECTION_NODE 4

XML_ENTITY_REF_NODE 5

XML_ENTITY_NODE 6

XML_PI_NODE 7

XML_COMMENT_NODE 8

XML_DOCUMENT_NODE 9

XML_DOCUMENT_TYPE_NODE 10

XML_DOCUMENT_FRAG_NODE 11

XML_NOTATION_NODE 12

XML_GLOBAL_NAMESPACE 1

XML_LOCAL_NAMESPACE 2

This module defines a number of classes. The DOM XML functions return a parsed tree of the XML document with each node being an object belonging to one of these classes.

xmldoc

(PHP4 >= 4.0b4)

xmldoc -- Creates a DOM object of an XML document

Description

object xmldoc (string str)

The function parses the XML document in str and returns an object of class "Dom澳門新莆京app官網 document", having the properties "doc" (resource), "version" (string) and "type" (long).

xmldocfile

(PHP4 >= 4.0b4)

xmldocfile -- Cr澳門新莆京app官網eates a DOM object from XML file

Description

object xmldocfile (string filename)

The function parses the XML do澳門新莆京app官網cument in the file named filename and returns an object of class "Dom document", having the properties "doc" (resource), "version" (string).

xmltree

(PHP4 >= 4.0b4)

xmltree -- Creates a tree of php objects from XML document

Description

object xmltree (string str)

The function parses the XML document in str and returns a tree PHP objects as the parsed document.

免責聲明:以上內容源自網絡,版權歸原作者所有,如有侵犯您的原創版權請告知,我們將盡快刪除相關內容。

您可能還會對下面的文章感興趣:

建体彩网
元游棋牌通比牛牛手机版官方下载 湖北快3 体育彩票22选5玩法 中国竞彩网首页 手机赚钱排第一 郑州二八杠自行车回收 每日一淘邀请10人后怎么赚钱 七星彩玩法 湖北快3一定牛遗漏 重庆时时彩走势