on 03-10-2009 6:27 AM
Hi Guys,
I have just gone through the SAX Praser , i have a basic doubt
using (startElement) / (endElement) do we need to enter all the element of the target XML structure.
For example i would be having 100 elements in the target XML structure.
From the source XML i need only some elements need to be validated and map only 10 elements of the target XML.
Rest elements of the Target is just one to one mapping
Do i need to type all other 90 elements ??
kinldy share your views
Regards
Sr
Dear Venkat,
As far as i know....you need to create the entire target tree using it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in sax parser there is nothing concept like, how many elements u have in source and how many in destination..
if u want all the elements u just write start element and end element correspondingly..
if u dnt want some elements u can just skip start and element elements for them...
recording records.. u can choose ur records how many u want by givine constraits in characters() method.
i hope this wll solve ur problem...
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.