Mdri Na

Greenhorn
+ Follow
since May 12, 2021
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
1
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mdri Na

Thanks for your replies and guidance.

I opened thread

Best way to process large/complex XML/schema ?
https://coderanch.com/t/742280/java/process-large-complex-XML-schema

I like to know, how do I address this challenge in Python environment?



Thanks for your guidance.
2 weeks ago
Thanks for your reply/suggestion. I appreciate for extending help in this exercise.

As I mentioned this is big XML, if I go with above element by element with explicit navigation using SAX. it is  a hard task to pull it up.

We may have 45K to 50K xml elements to traverse this way. How do we handle this kind ?

We know SAX do parallel parsing .

Is there a way to pull elements using XPATH in SAX?



Thanks for your guidance.
3 weeks ago
Thanks.

The attachment tab says 1024 kb size. I tried to upload a smaller xml of 70 kb to my thread. It says uploaded, but I did not see it in my thread.

It looks like it is not liking .txt, .xml files. I did not see any guidelines about file extensions in attachment TAB.

What are the file extensions allowed for upload?

What is going on ?

Thanks for your guidance.
4 weeks ago
Thanks for your reply.

I meant environment settings.  As I see many items related to SAX/STax via google. It shows as linux kind.

I am attaching a .xml file extracted from big xml to show . It has complexly nested structure and it has its .xsd as well.

The header portion looks like




Are you able to point me to a code snippet /template to process this XML ?

Thanks for your guidance.
4 weeks ago
Thanks for sharing.

What are the env set under windows for SAX/Stax?

Are there any IDEs to use with SAX/Stax?

Thanks for sharing.
4 weeks ago
Thanks for your response.

I like to upload a complex xml message to share in my thread, so we can look , how the suggestions work.

What is the upload limitation in this forum?



Shall I upload to google drive and share link here?

Thanks for your guidance.
4 weeks ago
I tried to upload a .xml file to my thread of 839kb size. It is not working.

How do I upload?

Thanks for your guidance.
4 weeks ago
Thanks for your reply and suggestion.

I am attaching a sample complex XML meseage file.

I am not expert of SAX and StAX. Are you able to point me to coding sample of SAX and StAX to process attached complex XML meseage file

I am not able upload my attachment with 839kb .

Thanks for your guidance.
4 weeks ago
Best way to process large/complex XML/schema ?
==============================================

Thanks for reviewing this thread.

I like to figure out a way to process large complex XML and push the XML data to flat file or Data base.

Here is the high level view.



I did see a old thread in this forum posted 13 years ago.

how about process large XML file(bigger than 1GB) in Java?

https://coderanch.com/t/203004/java/process-large-XML-file-bigger


the links of the above threads are broken. We may have a better way to address the above due to technology advancement.

Is Pyhton the right one to do the above for performance?

What are the option we have ?

Thanks for your guidance.
1 month ago