c*e
2 楼
this will be very hard, because the semantic is not defined.
If i got you right, my suggestion is to build a dtd basing on html first the
n u can generate xml for any html file with the help of a html parser.
if you have to write everything by yourself..its a big project.
basically u need:
1. a html parser including a databackend
2. XML generator (there are lots of such tools like UDM. Xerces...which dose
xml generation and validation)
【在 b****t 的大作中提到】
: 紧急求救.
If i got you right, my suggestion is to build a dtd basing on html first the
n u can generate xml for any html file with the help of a html parser.
if you have to write everything by yourself..its a big project.
basically u need:
1. a html parser including a databackend
2. XML generator (there are lots of such tools like UDM. Xerces...which dose
xml generation and validation)
【在 b****t 的大作中提到】
: 紧急求救.
m*c
3 楼
You can use "tidy" to covert HTML to a valid XML (aka XHTML), and then you can
use XSLT to convert it to other XML structures.
【在 c********e 的大作中提到】
: this will be very hard, because the semantic is not defined.
: If i got you right, my suggestion is to build a dtd basing on html first the
: n u can generate xml for any html file with the help of a html parser.
: if you have to write everything by yourself..its a big project.
: basically u need:
: 1. a html parser including a databackend
: 2. XML generator (there are lots of such tools like UDM. Xerces...which dose
: xml generation and validation)
相关阅读
XML will get hotter.Who used XMLSPY 5?Display XML with XSLT in IE 5.x?XML parserWhat is difference between XSD and XSL?leoboard???XMLSpy 4.4 is outXmlDocumentC-Bioinformatics A new yahoo mailing listHelp, ThanksAny APIs for handling XML?[转载] How to print an HTML document (hyperlinked multi-file) in one go?请问XML和HTML有什么本质区别?如何拼接FLASH动画片段?XML 5.0出了.土问题---关于HTML and XMLquestion on xerces请教:有谁可以推荐几本关于介绍 web system 的书?what is wrong with this period of coding?如何在xml message 里携带二进制数据(用java实现)?