以文本方式查看主题

-  W3CHINA.ORG讨论区 - 语义网·描述逻辑·本体·RDF·OWL  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  [救命!!]这个XML文档怎么写含有template的XSL/t??  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=70533)


--  作者:joewong621
--  发布时间:12/16/2008 6:54:00 AM

--  [救命!!]这个XML文档怎么写含有template的XSL/t??
高手帮我看看这个XSL应该怎么写?救命!!!!!

<?xml version="1.0" encoding="utf-8"?>
<container>
  <phone>
     <title>
      
        <title_J>
           <category category_id="recently_5years_development">
               
               <IT id="z1">
                  <company_name status="recently_5years_development">
                  
                   Leyland SDM
                  </company_name>
                  <number>&payment;
                   020 78367337
                  </number>
                  <contact:address xmlns:contact="http://www.w3.org/TR/html401/addresses">
                       <contact:keyword>167 169 </contact:keyword>
                       <contact:road>Shaftesbury Avenue</contact:road>
                       <contact:city>London</contact:city>
                       <contact:postcode>WC2H 8AN</contact:postcode>
                       <contact:fax></contact:fax>
                  </contact:address>
                  <service>
                      &online_service;&face_to_face_service;
                  </service>
                  <web:server xmlns:web="http://www.tu-darmstadt.de/ito/servers">
                       <web:name>OurWebServer</web:name>
                       <web:address>123.45.67.8</web:address>
                  </web:server>


               </IT>


               <Business id="z8">
                  <company_name>
                   Amba-QA Ltd
                  </company_name>
                  <number>
                   024 76402844
                  </number>
                  <contact:address main_location="United Kingdom" xmlns:contact="http://www.w3.org/TR/html401/address">
                       <contact:keyword>7</contact:keyword>
                       <contact:road> Worcester Close, Allesley</contact:road>
                       <contact:city>Coventry</contact:city>
                       <contact:postcode>CV5 9FZ</contact:postcode>
                       <contact:fax></contact:fax>
                  </contact:address>
                  <service>
                     
                  </service>
                  <web:server xmlns:web="http://www.e53d-d.de/d3ete/servers">
         <web:name>qfWebServer</web:name>
         <web:address>235.35.12.5</web:address>
                  </web:server>                   
               </Business>                
                 
               

                 
               
               <Finance id="z15">
                  <company_name>
                   Finalysis UK Ltd
                  </company_name>
                  <number>
                   01675 446016
                  </number>
                  <contact:address main_location="United Kingdom" xmlns:contact="http://www.w3.org/TR/html401/addresses">
                       <contact:keyword></contact:keyword>
                       <contact:road>Pasture Fm Coventry Rd</contact:road>
                       <contact:city>Bickenhill</contact:city>
                       <contact:postcode>B92 0HH</contact:postcode>
                       <contact:email>n.walker@salford.ac.uk</contact:email>
                       <contact:fax></contact:fax>
                  </contact:address>
                  <service>
                     
                  </service>
                  <web:server xmlns:web="http://www.edff-d.ded/dgdte/servers">
         <web:name>ceeServer</web:name>
         <web:address>138.21.13.7</web:address>
                  </web:server>                  
               </Finance>
                 

     。。。。。
后面还有放不下,大概是title分title_J,title_K,title_L,然后每个title部分里面都有IT,Business,Finance.....
帮帮我把,成功了我汇钱给你都行!!


--  作者:hexun831012
--  发布时间:12/16/2008 7:32:00 PM

--  
你又不说要转换成啥样...
--  作者:joewong621
--  发布时间:12/17/2008 7:16:00 AM

--  
做成一个简单的表格,能把xml转换成一个网页就行,后天我就要交了阿...救命!小弟感激不尽!
--  作者:hexun831012
--  发布时间:12/17/2008 6:57:00 PM

--  
原来是胡作业...
--  作者:Qr
--  发布时间:12/18/2008 12:27:00 PM

--  
以下是引用hexun831012在2008-12-17 18:57:00的发言:
原来是胡作业...


找hexun831012帮做作业,你撞墙吧
--  作者:hexun831012
--  发布时间:12/18/2008 7:07:00 PM

--  
以下是引用Qr在2008-12-18 12:27:00的发言:
[quote]以下是引用hexun831012在2008-12-17 18:57:00的发言:
原来是胡作业...
[/quote]
找hexun831012帮做作业,你撞墙吧


嘿嘿,还是QR了解我,大家都是学生过来的,深刻地知道凡是抄来的永远都弄不明白
--  作者:imhr
--  发布时间:1/5/2009 11:12:00 AM

--  
弄不明白
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
62.500ms