Diễn đàn    ASP.NET & Sharepoint MOSS, WSS 2007    Xin gợi ý về kỹ thuật để xử lý vấn đề với file template

Thành viênTrả lời
nmduc073


49  bài
7-4-2012 17:26:12
Mình đang nghiên cứu code của 1 dự án. Nó có những template dạng như sau:

<?xml version="1.0" encoding="utf-8"?>
<! table width="100%" maxrow="43">
<tr id="02" type="candel">
<td id="1" width="150px" colspan="">
<control type="label" row="02" typedata="catalog" id="lbl_catalog_5" text="Xã, thị trấn" />
</td>
<td id="2" colspan="">
<control type="ddlgridview" row="02" typedata="catalog" id="ctr_catalog_5" datatextfield="CatalogName" datavaluefield="CatalogID" width="200px" globalcode="f3278044-b1bb-436c-9f4f-32c7b3491b7a">
<objectdatasource id="odsCtlCatalog5" selectmethod="GetByMetaID" typename="BLL_CtlCatalogValue">
<parameter defaultvalue="5" name="iMetaID" />
</objectdatasource>
</control>
</td>
</tr>
<tr id="03" type="candel">
<td id="1" width="150px" colspan="">
<control type="label" row="03" typedata="exfield" id="lbl_exfield_328" text="I, Người sử dụng đất" />
</td>
<td id="2" colspan="">
<control type="textbox" row="03" typedata="exfield" id="tbx_exfield_328" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="d8d8a043-2feb-4e72-89cd-6d1b871a05fa" />
</td>
</tr>
<tr id="04" type="candel">
<td id="1" width="150px" colspan="">
<control type="label" row="04" typedata="exfield" id="lbl_exfield_329" text="Năm sinh" />
</td>
<td id="2" colspan="">
<control type="textbox" row="04" typedata="exfield" id="tbx_exfield_329" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="49db2a3b-7969-4048-86bb-434555fd17c0" />
</td>
</tr>
<tr id="05" type="candel">
<td id="1" width="150px" colspan="">
<control type="label" row="05" typedata="exfield" id="lbl_exfield_330" text="CMND" />
</td>
<td id="2" colspan="">
<control type="textbox" row="05" typedata="exfield" id="tbx_exfield_330" maxlength="200" requiredfieldvalidator="false" regularexpressionvalidator="string" width="200px" textmode="SingleLine" globalcode="ef34789c-65b0-4206-b623-251a5cf3fa95" />
</td>
</tr>
....
Nó đọc file này rồi parse nó ra web page. Mình đang bế tắc nên dùng thư viện/dll nào để hỗ trợ xử lý nó. Xin vui lòng chỉ giúp với.
---
www.nguyenminhduc.net: Site cá nhân và về Dotnetnuke
 

Chủ đề gần đây :

Cùng loại :

Tên file Mô tả chi tiết Ngày
NWeb.zip (1) Module đơn giản Newsweb trên Dotnetnuke v10.x.x.x10/18/2025 8:08:11 AM
vspforum.zip (11) Ma nguon vspforum ngay xua4/18/2023 6:38:37 AM
pdfjs.rar (2) pdfjs 2017 : hiển thị tốt trên iphone 11, 12, 13 không lỗi, bản 2012 sẽ lỗi trên iphone6/21/2022 11:52:48 AM
pdfjs2.rar (2) Xem file pdf bằng viewer.hml cua pdfjs (thư viện chuẩn mozilla) 2012. https://mozilla.github.io/pdf.js/getting_started/#download có thể download bản prebuild tại đây6/21/2022 11:52:04 AM
runner.zip (0) using three.js, orbitcontrol to view an object move random on map. Di chuyển 1 đồ vật ngẫu nhiên trên bản đồ, sử dụng với demo nhân viên di chuyển trong văn phòng. Toàn js download về là chạy12/5/2019 5:55:14 PM
gmap.zip (1) google map + marker7/17/2019 2:25:05 PM
vinsmarthomeservice.zip (1) java post json to api, use AsyncTask, event listener7/9/2019 5:00:10 PM
fblogin.zip (0) Login facebook bang javascript SDK7/9/2019 9:16:37 AM
autocomplete-location.zip (2) autocomplete location geo from google place, html + js7/4/2019 4:37:55 PM
WebAPI.zip (8) api for android access db (v1.0.0)7/4/2019 9:14:17 AM