on 04-08-2008 10:31 AM
What is an XML Parser?
what is it's use?
XI is middleware tool to send data from one location to another Basically a middleware tool.
and the data that XI send has some structre like
firstname:XYZ
Middlaename:ABX
lastname:PQR
All this data is represent as XML ( A way to store the data with tag here it is firstname last name
So XI uses XLL parser to parse this data
After parsing XI will come to know what is first name what is last name
So actually dat is represent as below in XML
<firstname>XYZ</firstname>
<Middlaename>ABX</Middlaename>
<lastnamePQR</lastname>
Above is the defination of data that XI is going to send
But in case data is wrong like
<Middlaename>ABX</Middlaename>
<firstname>XYZ</firstname>
<lastnamePQR</lastname>
Note Here ABX is first line
and this data is wrong
XI will find this wrong data with help of XML parser which has correct defination of the data
in case data is wrong parser will give error that data is wrong
Ps: If helful please give point
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhanunjay
in addition to sinha , Dom parser are memory extensive
For catalouge types data you need to use SAX parser
for more details on parser you may follow these links
For sax and DOM parsing
http://www.oracle.com/technology/oramag/oracle/03-sep/o53devxml.html
http://search.cpan.org/dist/XML-LibXML/lib/XML/LibXML/Parser.pod
Thanks
sandeep
rewartd points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
XML Parser
The Extensible Markup Language (XML) is a W3C-recommended general-purpose markup language. An XML parser is a processor that reads an XML document and determines the structure and properties of the data. It breaks the data up into parts and provides them to other components.
Benifit
XML Parser can parse one or more XML documents. As it is based on a non-validating parser, it only checks for the document well-formedness, and does not fill in implied attributes. A user-defined handler can be called on each event encountered by the parser, allowing processing of the document.
Regards
Aashish Sinha
PS : reward points if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.