C
cfx
Unregistered / Unconfirmed
GUEST, unregistred user!
题目:我把ADOQUERY的数据集保存成XML文件,我想写一个XSL把该文件转化成HTML显示,
大家帮忙啊!
XML文件如下(换行不利于看清文件结构,所以不换行,见晾):
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly' rs:updatable='true'>
<s:AttributeType name='cid' rs:number='1' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='cid'>
<s:datatype dt:type='int' dt:maxLength='4' rsrecision='10' rs:fixedlength='true' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_num' rs:number='2' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='mo_num'>
<s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='13' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_manager' rs:number='3' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='mo_manager'>
<s:datatype dt:type='int' dt:maxLength='4' rsrecision='10' rs:fixedlength='true' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_natu' rs:number='4' rs:nullable='true' rs:writeunknown='true' rs:basecatalog='ajmanage'
rs:basetable='Document' rs:basecolumn='mo_natu'>
<s:datatype dt:type='i2' dt:maxLength='2' rsrecision='5' rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='be_date' rs:number='5' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='be_date'>
<s:datatype dt:type='dateTime' rs:dbtype='timestamp' dt:maxLength='16' rs:scale='3' rsrecision='23' rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row cid='1' mo_num='2002032001' mo_manager='1' mo_natu='0' be_date='2002-03-20T00:00:00'/>
<z:row cid='9' mo_num='2002042701' mo_manager='2' mo_natu='1' be_date='2002-04-27T00:00:00'/>
<z:row cid='10' mo_num='2002051001' mo_manager='1' mo_natu='0' be_date='2002-05-10T00:00:00'/>
<z:row cid='12' mo_num='2002071001' mo_manager='1' mo_natu='0' be_date='2002-05-10T00:00:00'/>
<z:row cid='15' mo_num='200207102' mo_manager='1' mo_natu='0' be_date='2002-06-28T00:00:00'/>
</rs:data>
</xml>
大家帮忙啊!
XML文件如下(换行不利于看清文件结构,所以不换行,见晾):
<xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882'
xmlns:rs='urn:schemas-microsoft-com:rowset'
xmlns:z='#RowsetSchema'>
<s:Schema id='RowsetSchema'>
<s:ElementType name='row' content='eltOnly' rs:updatable='true'>
<s:AttributeType name='cid' rs:number='1' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='cid'>
<s:datatype dt:type='int' dt:maxLength='4' rsrecision='10' rs:fixedlength='true' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_num' rs:number='2' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='mo_num'>
<s:datatype dt:type='string' rs:dbtype='str' dt:maxLength='13' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_manager' rs:number='3' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='mo_manager'>
<s:datatype dt:type='int' dt:maxLength='4' rsrecision='10' rs:fixedlength='true' rs:maybenull='false'/>
</s:AttributeType>
<s:AttributeType name='mo_natu' rs:number='4' rs:nullable='true' rs:writeunknown='true' rs:basecatalog='ajmanage'
rs:basetable='Document' rs:basecolumn='mo_natu'>
<s:datatype dt:type='i2' dt:maxLength='2' rsrecision='5' rs:fixedlength='true'/>
</s:AttributeType>
<s:AttributeType name='be_date' rs:number='5' rs:writeunknown='true' rs:basecatalog='ajmanage' rs:basetable='Document'
rs:basecolumn='be_date'>
<s:datatype dt:type='dateTime' rs:dbtype='timestamp' dt:maxLength='16' rs:scale='3' rsrecision='23' rs:fixedlength='true'
rs:maybenull='false'/>
</s:AttributeType>
<s:extends type='rs:rowbase'/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row cid='1' mo_num='2002032001' mo_manager='1' mo_natu='0' be_date='2002-03-20T00:00:00'/>
<z:row cid='9' mo_num='2002042701' mo_manager='2' mo_natu='1' be_date='2002-04-27T00:00:00'/>
<z:row cid='10' mo_num='2002051001' mo_manager='1' mo_natu='0' be_date='2002-05-10T00:00:00'/>
<z:row cid='12' mo_num='2002071001' mo_manager='1' mo_natu='0' be_date='2002-05-10T00:00:00'/>
<z:row cid='15' mo_num='200207102' mo_manager='1' mo_natu='0' be_date='2002-06-28T00:00:00'/>
</rs:data>
</xml>