B
bobby_ym
Unregistered / Unconfirmed
GUEST, unregistred user!
返回一个XML标记字符串
<?xml version="1.0" encoding="GBK" ?>
- <Result time="12" error="0">
- <Center total="2">
- <Poi id="1">
<LSID v="123" />
<Na v="某某地名" />
<Add v="某某地址" />
<Tel v="电话" />
<Geo lo="经度" la="纬度" />
<Dis v="数字,单位百米" />
<Admin pro="省名" city="城市名" dis="子区划名" />
<Class g1="一级地物名" g2="二级地物名" g3="三级地物名" />
</Poi>
- <Poi id="2">
<LSID v="124" />
<Na v="某某地名" />
<Add v="某某地址" />
<Tel v="电话" />
<Geo lo="经度" la="纬度" />
<Dis v="数字,单位百米" />
<Admin pro="省名" city="城市名" dis="子区划名" />
<Class g1="一级地物名" g2="二级地物名" g3="三级地物名" />
</Poi>
</Center>
</Result>
请问怎么导入到数据库中?
<?xml version="1.0" encoding="GBK" ?>
- <Result time="12" error="0">
- <Center total="2">
- <Poi id="1">
<LSID v="123" />
<Na v="某某地名" />
<Add v="某某地址" />
<Tel v="电话" />
<Geo lo="经度" la="纬度" />
<Dis v="数字,单位百米" />
<Admin pro="省名" city="城市名" dis="子区划名" />
<Class g1="一级地物名" g2="二级地物名" g3="三级地物名" />
</Poi>
- <Poi id="2">
<LSID v="124" />
<Na v="某某地名" />
<Add v="某某地址" />
<Tel v="电话" />
<Geo lo="经度" la="纬度" />
<Dis v="数字,单位百米" />
<Admin pro="省名" city="城市名" dis="子区划名" />
<Class g1="一级地物名" g2="二级地物名" g3="三级地物名" />
</Poi>
</Center>
</Result>
请问怎么导入到数据库中?