<?xml version="1.0" encoding="UTF-8"?>
<tables>
<table name="A">
<query_init>
<col>
<disName>姓名</disName>
<name>name</name>
<type>text</type>
</col>
<col>
<disName>性别</disName>
<name>sex</name>
<type>select</type>
<fillText>女</fillText>
<fillText>男</fillText>
<fillValue>0</fillValue>
<fillValue>1</fillValue>
</col>
<col>
<disName>年龄</disName>
<name>age</name>
<type>select</type>
<fillText>1~10</fillText>
<fillText>11~20</fillText>
<fillText>21~30</fillText>
<fillText>31~40</fillText>
<fillText>40以上</fillText>
<fillValue>0</fillValue>
<fillValue>1</fillValue>
<fillValue>2</fillValue>
<fillValue>3</fillValue>
<fillValue>4</fillValue>
</col>
</query_init>
</table>
<comm>
<must>1</must>
<redDisplay>0</redDisplay>
</comm>
</tables>
问题:comm是做为共用部分来引入.请问该如何引入?
比如:
<col>
<disName>姓名</disName>
<name>name</name>
<type>text</type>
<comm> /*这个就是要引入的comm*/
</col>
<tables>
<table name="A">
<query_init>
<col>
<disName>姓名</disName>
<name>name</name>
<type>text</type>
</col>
<col>
<disName>性别</disName>
<name>sex</name>
<type>select</type>
<fillText>女</fillText>
<fillText>男</fillText>
<fillValue>0</fillValue>
<fillValue>1</fillValue>
</col>
<col>
<disName>年龄</disName>
<name>age</name>
<type>select</type>
<fillText>1~10</fillText>
<fillText>11~20</fillText>
<fillText>21~30</fillText>
<fillText>31~40</fillText>
<fillText>40以上</fillText>
<fillValue>0</fillValue>
<fillValue>1</fillValue>
<fillValue>2</fillValue>
<fillValue>3</fillValue>
<fillValue>4</fillValue>
</col>
</query_init>
</table>
<comm>
<must>1</must>
<redDisplay>0</redDisplay>
</comm>
</tables>
问题:comm是做为共用部分来引入.请问该如何引入?
比如:
<col>
<disName>姓名</disName>
<name>name</name>
<type>text</type>
<comm> /*这个就是要引入的comm*/
</col>
比如:
<col>
<disName>姓名</disName>
<name>name</name>
<type>text</type>
<comm> /*这个就是要引入的comm*/
</col>
我在用IE打开的话..会显示成
<disName>姓名</disName>
<name>name</name>
<type>text</type>
<must>1</must>
<redDisplay>0</redDisplay>