2个回答
展开全部
Extensible Markup Language,扩展标记语言。
XML于平台无关,
给你一段xml文件的代码,自己理解节点 元素 属性 根 这些概念吧,
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<head>
<column width="150" type="combo" align="left" filter="true" sort="str" xmlcontent="1">Filtering Mode<option value="1">one</option>
<option value="2">two</option>
</column>
<column width="150" type="combo" editable="false" source="../common/data.xml" align="left" sort="str">Selectbox Mode
</column>
<column width="150" type="combo" source="../13_interaction_other_components/php/complete.php" auto="true" cache="true" align="left" sort="str" >Autocoplete Mode
</column>
<settings>
<colwidth>px</colwidth>
</settings>
</head>
<row id="1">
<cell>1</cell>
<cell>1</cell>
<cell>Austria</cell>
</row>
<row id="2">
<cell>2</cell>
<cell>2</cell>
<cell>Bahamas</cell>
</row>
</rows>
XML于平台无关,
给你一段xml文件的代码,自己理解节点 元素 属性 根 这些概念吧,
<?xml version="1.0" encoding="UTF-8"?>
<rows>
<head>
<column width="150" type="combo" align="left" filter="true" sort="str" xmlcontent="1">Filtering Mode<option value="1">one</option>
<option value="2">two</option>
</column>
<column width="150" type="combo" editable="false" source="../common/data.xml" align="left" sort="str">Selectbox Mode
</column>
<column width="150" type="combo" source="../13_interaction_other_components/php/complete.php" auto="true" cache="true" align="left" sort="str" >Autocoplete Mode
</column>
<settings>
<colwidth>px</colwidth>
</settings>
</head>
<row id="1">
<cell>1</cell>
<cell>1</cell>
<cell>Austria</cell>
</row>
<row id="2">
<cell>2</cell>
<cell>2</cell>
<cell>Bahamas</cell>
</row>
</rows>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询