当前在线人数12716
首页 - 分类讨论区 - 电脑网络 - WWW明日之星版 - 同主题阅读文章

此篇文章共收到打赏
0

  • 10
  • 20
  • 50
  • 100
您目前伪币余额:0
未名交友
[更多]
[更多]
Processing xml files
[版面:WWW明日之星][首篇作者:banyan] , 2004年07月04日22:23:46 ,597次阅读,3次回复
来APP回复,赚取更多伪币 关注本站公众号:
[分页:1 ]
banyan
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 1 ]

发信人: banyan (一份感动), 信区: XML
标  题: Processing xml files
发信站: Unknown Space - 未名空间 (Sun Jul  4 22:51:45 2004), 站内信件

Hello folks,
I need to process some .xml files, whose schema files are given, in a softwa
re module. The XML files only describes the formate of the data I am supposd
to receive and I need to interpret the data and accordingly do the real wor
k, e.g. call some APIs (likely in C) of other modules. My questions are:-

1) To interpret the xml files, is a XML parser what I need? Which one is bet
ter for me? I know there r some like DOM embeded in browser? My platform is
Windows at the moment and the other modules are developped using C, but in t
he future the modules are to be ported to an embeded system.

2) Do I need to extract the elements/attributes from the xml files and conve
rt them into data contexts declared in C structs? Or I can just store and xm
l file as it is and search and extract the elements/attributes whenever the
process flow (parser?) needs the infor to make decision?

3) Which language is suitable to code the process flow, C or Java script or
sth else? What's its relationship with the parser? How do I apply the schema
files in the parser?

Any pointer and suggestion r highly appreciated.


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 202.14.]

 
potatoe
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 2 ]

发信人: potatoe (负总桶), 信区: XML
标  题: Re: Processing xml files
发信站: Unknown Space - 未名空间 (Tue Jul  6 15:01:37 2004) WWW-POST

In windows you can use MS XML parser.  I dont know if it helps you when you
move to embedded system.

【 在 banyan (一份感动) 的大作中提到: 】
: Hello folks,
: I need to process some .xml files, whose schema files are given, in a softwa
: re module. The XML files only describes the formate of the data I am supposd
:  to receive and I need to interpret the data and accordingly do the real wor
: k, e.g. call some APIs (likely in C) of other modules. My questions are:-
:
: 1) To interpret the xml files, is a XML parser what I need? Which one is bet
: ter for me? I know there r some like DOM embeded in browser? My platform is
: Windows at the moment and the other modules are developped using C, but in t
: he future the modules are to be ported to an embeded system.
:
: 2) Do I need to extract the elements/attributes from the xml files and conve
: rt them into data contexts declared in C structs? Or I can just store and xm
: l file as it is and search and extract the elements/attributes whenever the
: process flow (parser?) needs the infor to make decision?
:
: 3) Which language is suitable to code the process flow, C or Java script or
: sth else? What's its relationship with the parser? How do I apply the schema
:  files in the parser?
:
: Any pointer and suggestion r highly appreciated.
:
:


--
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 65.115.]

 
EyesOfHorus
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 3 ]

发信人: EyesOfHorus (秋水), 信区: XML
标  题: Re: Processing xml files
发信站: Unknown Space - 未名空间 (Thu Jul 15 22:50:38 2004), 站内信件


what embedded system?
windows ce.net with .net framework have XML parser built-in :)

【 在 banyan (一份感动) 的大作中提到: 】
: Hello folks,
: I need to process some .xml files, whose schema files are given, in a softwa
: re module. The XML files only describes the formate of the data I am supposd
:  to receive and I need to interpret the data and accordingly do the real wor
: k, e.g. call some APIs (likely in C) of other modules. My questions are:-
: 1) To interpret the xml files, is a XML parser what I need? Which one is bet
: ter for me? I know there r some like DOM embeded in browser? My platform is
: Windows at the moment and the other modules are developped using C, but in t
: he future the modules are to be ported to an embeded system.
: 2) Do I need to extract the elements/attributes from the xml files and conve
: rt them into data contexts declared in C structs? Or I can just store and xm
: l file as it is and search and extract the elements/attributes whenever the
: process flow (parser?) needs the infor to make decision?
: 3) Which language is suitable to code the process flow, C or Java script or
: sth else? What's its relationship with the parser? How do I apply the schema
:  files in the parser?
: Any pointer and suggestion r highly appreciated.


--

※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 66.199.]

 
Minoopy
进入未名形象秀
我的博客
[回复] [回信给作者] [本篇全文] [本讨论区] [修改] [删除] [转寄] [转贴] [收藏] [举报] [ 4 ]

发信人: Minoopy (Davidson), 信区: XML
标  题: Re: Processing xml files
发信站: Unknown Space - 未名空间 (Sat Oct 23 22:31:50 2004) WWW-POST

I think that Java will be the better language to code that process flow you
described. As for the parser, I recommend Xerces from Apache
(http://xml.apache.org/index.html), which has Java version and C++ version.

By the way, in the future the modules will be ported into an embeded system.
What kind of systems?

Hope this information will be useful and helpful!



【 在 banyan (一份感动) 的大作中提到: 】
: Hello folks,
: I need to process some .xml files, whose schema files are given, in a softwa
: re module. The XML files only describes the formate of the data I am supposd
:  to receive and I need to interpret the data and accordingly do the real wor
: k, e.g. call some APIs (likely in C) of other modules. My questions are:-
:
: 1) To interpret the xml files, is a XML parser what I need? Which one is bet
: ter for me? I know there r some like DOM embeded in browser? My platform is
: Windows at the moment and the other modules are developped using C, but in t
: he future the modules are to be ported to an embeded system.
:
: 2) Do I need to extract the elements/attributes from the xml files and conve
: rt them into data contexts declared in C structs? Or I can just store and xm
: l file as it is and search and extract the elements/attributes whenever the
: process flow (parser?) needs the infor to make decision?
:
: 3) Which language is suitable to code the process flow, C or Java script or
: sth else? What's its relationship with the parser? How do I apply the schema
:  files in the parser?
:
: Any pointer and suggestion r highly appreciated.
:
:

--
Scientific advances often come from uncovering an unseen aspect of things as a result
not so much of using some new instrument, but rather looking at objects from a different angle.
"Things should be keep as simple as possible, but not simpler."
※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 152.78.]

[分页:1 ]
[快速返回] [ 进入WWW明日之星讨论区] [返回顶部]
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996