VFP 愛用者社區 首頁 VFP 愛用者社區
本討論區為 Visual Foxpro 愛用者經驗交流的地方, 請多多利用"搜尋"的功能, 先查看看有無前例可循, 如果還有不懂的再發問. 部份主題有附加檔案, 須先註冊成為社區居民才可以下載.
 
 常見問題常見問題   搜尋搜尋   會員列表會員列表   會員群組會員群組   會員註冊會員註冊 
 個人資料個人資料   登入檢查您的私人訊息登入檢查您的私人訊息   登入登入

請問有關XMLADAPTER的問題

 
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區
上一篇主題 :: 下一篇主題  
發表人 內容
selina



註冊時間: 2003-10-29
文章: 3


第 1 樓

發表發表於: 星期五 七月 22, 2005 10:00 am    文章主題: 請問有關XMLADAPTER的問題 引言回覆

各位先進,小妹遇到一個很大的問題,不知道如何解決,麻煩各位幫幫忙,
[color=red]要如何使用XMLADAPTER產生以下的XML檔{最重要的是編碼一定得是UTF-8}[/color ]
拜託各位救救我~~~ Sad

<?xml version="1.0" encoding="UTF-8" ?>
<!--Sample XML file generated by XMLSPY v2004 rel. 4 U (http://www.xmlspy.com)-->
<X101Application xmlns="urn:BOFT:X101X102Certificate:1.0+" xmlns:fc="urn:BOFT:FundamentalComponents:1.0" xmlns:ft="urn:BOFT:FundamentalTypes:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:BOFT:X101X102Certificate:1.0 X101X102Certificate.xsd">
<X101HeaderSection>
<fc:MessageIdentifier>82148251000507140001</fc:MessageIdentifier>
<CustomsAcceptancetype>1</CustomsAcceptancetype>
<fc:CompetentAuthority>AD</fc:CompetentAuthority>
<CertificateType>04</CertificateType>
<PrintingOption>01</PrintingOption>
<NumberOriginal>1</NumberOriginal>
<NumberCopy>1</NumberCopy>
<Exporter>
<fc:ChineseName>加都水公司</fc:ChineseName>
<fc:EnglishName>ICO OPCWIROBERT BOSCH GMBH</fc:EnglishName>
<fc:ChineseAddress>中德城民有市城得路11815號1室</fc:ChineseAddress>
<fc:EnglishAddress>STR. 1, D-11815 LCIEBUEH1,CKLW,IOCUBVE.</fc:EnglishAddress>
<fc:TelephoneNumber>002-7223-821397</fc:TelephoneNumber>
<fc:Fax>002-7223-821398</fc:Fax>
<fc:E-mail>low110-21@cewvlm.com</fc:E-mail>
</Exporter>
<Applicant>
<fc:ChineseName>倫帕企業</fc:ChineseName>
<fc:ChineseAddress>佃迎月市崢母路定四村41-44</fc:ChineseAddress>
<fc:Code>82148251</fc:Code>
<fc:TelephoneNumber>545856-56664</fc:TelephoneNumber>
</Applicant>
<Agent>
<fc:ChineseName>唯鼎企管資訊有限公司</fc:ChineseName>
<fc:ChineseAddress>台北市長春路100號四樓之六</fc:ChineseAddress>
<fc:Code>22885074</fc:Code>
<fc:TelephoneNumber>25221468</fc:TelephoneNumber>
</Agent>
<Manufacturer>
<fc:ChineseName>5448251 </fc:ChineseName>
<fc:EnglishName>ESEEEEEESD </fc:EnglishName>
<fc:ChineseAddress>KPWSTR. , D-7711815 BUEH1, GEYWICIOWOWA,VPW </fc:ChineseAddress>
<fc:Englishaddress>KPWSTR. , D-7711815 BUEH1, GEYWICIOWOWA,VPW </fc:Englishaddress>
<fc:Code>KIJKJIOROBERT </fc:Code>
<fc:TelephoneNumber>49-7223-821397 </fc:TelephoneNumber>
<fc:Fax>49-7223-821398 </fc:Fax>
<fc:E-mail>eiqoceovu@cewvlm.com </fc:E-mail>
<MainManufacturerIndicator>Y</MainManufacturerIndicator>
</Manufacturer>

<fc:ChineseName>EIQW WOCEWE COSIEN LTD.</fc:ChineseName>
<fc:EnglishName>EIQW WOCEWE COSIEN LTD.</fc:EnglishName>
<fc:ChineseAddress>41-44,OWCEUWSTR. , DBWCEWUEH, FOWUC OWYW.</fc:ChineseAddress>
<fc:Englishaddress>41-44,OWCEUWSTR. , DBWCEWUEH, FOWUC OWYW.</fc:Englishaddress>
<fc:Code>82148251</fc:Code>
<fc:TelephoneNumber>545856-56664</fc:TelephoneNumber>
<fc:Fax>545856-55655</fc:Fax>
<fc:E-mail>ixcqwoq@1012vlm.com</fc:E-mail>

<fc:LoadingDate>20050401</fc:LoadingDate>
<fc:ConveyanceReferenceNumber>v-gg</fc:ConveyanceReferenceNumber>
<fc:LoadingPlace>HONG KONG</fc:LoadingPlace>
<fc:DischargPlace>KEELUNG</fc:DischargPlace>
<fc:DeliveryDestinationCountry>TW</fc:DeliveryDestinationCountry>
<fc:OriginCountry>HK</fc:OriginCountry>
<fc:ImportGoodsDeclarationDocument>
<fc:GoodsDeclarationNumber>1321</fc:GoodsDeclarationNumber>
</fc:ImportGoodsDeclarationDocument>
<OriginCertificateNumber>21251</OriginCertificateNumber>
<Observations>CVG</Observations>
<Remarks>NKU</Remarks>
<ApplicantUndertake>
UJKI
</ApplicantUndertake>
<ExpirationDate>
<StartDate>20050601</StartDate>
<EndDate>20051231</EndDate>
</ExpirationDate>
</X101HeaderSection>
<GoodsInformation>
<GoodsDescription>
<fc:Name>TEST </fc:Name>
<fc:Brand>TEST </fc:Brand>
<fc:Model>1420 </fc:Model>
<fc:Specification>100*100 </fc:Specification>
<fc:ShippingMarks>NO PACK </fc:ShippingMarks>
</GoodsDescription>
<fc:TariffCodeNumber>02043000008</fc:TariffCodeNumber>
<fc:TariffQuantitySupplementaryQuantity>100.0000</fc:TariffQuantitySupplementaryQuantity>
<fc:MeasureUnitQualifier>KGM</fc:MeasureUnitQualifier>
20050705
INV123456

<OtherCriteria>1 </OtherCriteria>
<ProducerIndicator>Y</ProducerIndicator>
</GoodsInformation>
<ExportInformation>
<OtherExportDocumentNumber> </OtherExportDocumentNumber>
<fc:ExportGoodsDeclarationDocument>
<fc:GoodsDeclarationNumber>154654 </fc:GoodsDeclarationNumber>
<fc:GoodsItemNumber>1</fc:GoodsItemNumber>
</fc:ExportGoodsDeclarationDocument>
</ExportInformation>
</X101Application>
回頂端
檢視會員個人資料 發送私人訊息
elleryq



註冊時間: 2007-06-21
文章: 768


第 2 樓

發表發表於: 星期五 七月 22, 2005 9:13 pm    文章主題: 引言回覆

xmladapter 是用來讀資料的
比較符合你需求的是 cursortoxml()
如果格式很特殊
那麼你還是得自行使用串接字串的方式來產生
回頂端
檢視會員個人資料 發送私人訊息 參觀發表人的個人網站
從之前的文章開始顯示:   
發表新主題   回覆主題    VFP 愛用者社區 首頁 -> VFP 討論區 所有的時間均為 台北時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
無法 在這個版面附加檔案
無法 在這個版面下載檔案


Powered by phpBB © 2001, 2005 phpBB Group
正體中文語系由 phpbb-tw 維護製作