Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: IWhat is the cause to get XPath in weird format using Python?
Post: RE: IWhat is the cause to get XPath in weird forma...

(May-25-2021, 04:12 PM)snippsat Wrote: I showed you how to parse W2Testfile.xml in your last Thread, both with using BS and lxml for the task. IRSW2.xsd is used for Validation,you still miss a file ...
MDRI General Coding Help 7 3,692 May-27-2021, 02:01 AM
    Thread: IWhat is the cause to get XPath in weird format using Python?
Post: RE: IWhat is the cause to get XPath in weird forma...

I uploaded xml/xsd files related to my thread. Are you able to open/review those files ? Thanks for your guidance.
MDRI General Coding Help 7 3,692 May-23-2021, 11:41 PM
    Thread: IWhat is the cause to get XPath in weird format using Python?
Post: RE: IWhat is the cause to get XPath in weird forma...

Thanks for your responses. I added the attachments to my questions (.xml, .xsd (zipped). What is XPath? XPath is a major element in the XSLT standard. XPath can be used to navigate through element...
MDRI General Coding Help 7 3,692 May-21-2021, 01:29 AM
    Thread: Unable to upload files to my thread?
Post: Unable to upload files to my thread?

Thanks for reviewing my threads. I opened a new thread, where I tried to upload .xml, .xsd files. It is not allowing to upload. It shows the attachment, I uploaded for my previous thread. Why is i...
MDRI Board 2 2,759 May-20-2021, 03:11 AM
    Thread: IWhat is the cause to get XPath in weird format using Python?
Post: IWhat is the cause to get XPath in weird format us...

IWhat is the cause to get XPath in weird format using Python? ============================================== Thanks for reviewing this thread. I am trying to get the Xpaths for input IRSW2.xsd &...
MDRI General Coding Help 7 3,692 May-20-2021, 03:04 AM
    Thread: Best way to process large/complex XML/schema ?
Post: RE: Best way to process large/complex XML/schema ?

(May-15-2021, 06:14 PM)snippsat Wrote: Here a example of how i would read it and parse some data. from bs4 import BeautifulSoup soup = BeautifulSoup(open('W2Testfile.xml', encoding='utf-8'), 'lxml'...
MDRI General Coding Help 7 6,318 May-16-2021, 05:11 PM
    Thread: Best way to process large/complex XML/schema ?
Post: RE: Best way to process large/complex XML/schema ?

Thanks for your reply. 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 <?xml version="1.0...
MDRI General Coding Help 7 6,318 May-15-2021, 05:38 PM
    Thread: Unable to send/reply PM messages?
Post: RE: Unable to send/reply PM messages?

(May-15-2021, 11:34 AM)snippsat Wrote: You can try now should be fixed. It looks like working now. What was the issues ? Thanks.
MDRI Board 6 4,456 May-15-2021, 05:32 PM
    Thread: Best way to process large/complex XML/schema ?
Post: RE: Best way to process large/complex XML/schema ?

Thanks for your response. I like to upload a complex xml message to share here, so we can look , how the above code work. What is the upload limitation in this forum? I did not see an upload optio...
MDRI General Coding Help 7 6,318 May-14-2021, 06:42 PM
    Thread: Unable to send/reply PM messages?
Post: RE: Unable to send/reply PM messages?

(May-13-2021, 09:57 AM)snippsat Wrote: Try again now and see if it work. It remains same. I am not able to send PM.
MDRI Board 6 4,456 May-14-2021, 02:19 AM
    Thread: Best way to process large/complex XML/schema ?
Post: Best way to process large/complex XML/schema ?

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 X...
MDRI General Coding Help 7 6,318 May-13-2021, 01:44 AM
    Thread: Unable to send/reply PM messages?
Post: Unable to send/reply PM messages?

I am not able to send PM messages. I am getting. You do not have permission to access this page. This could be because of one of the following reasons: Your account has either been suspended or ...
MDRI Board 6 4,456 May-13-2021, 01:31 AM
    Thread: How to use a variable in Python (2.x) to define decimal part?
Post: RE: How to use a variable in Python (2.x) to defin...

(May-06-2021, 07:06 AM)Gribouillis Wrote: The precision can be passed as an argument in str.format() # python >= 2.6 rabbits = { "flopsy" : 1.0/3, "mopsy" : 576.0/7, "cotton tail": .76/5, "pe...
MDRI General Coding Help 4 2,342 May-07-2021, 12:39 AM
    Thread: How to use a variable in Python (2.x) to define decimal part?
Post: How to use a variable in Python (2.x) to define de...

How to use a variable in Python (2.x) to define decimal part? ============================================================= Thanks for reviewing this thread. I find the convention of using %.2f to ...
MDRI General Coding Help 4 2,342 May-06-2021, 02:50 AM
    Thread: How to make a test data file for the full length of definition?
Post: RE: How to make a test data file for the full leng...

Thanks for weighing in. I updated my question with additional info. There is no difference between "varchar" and "Varchar". Do you have any types beside varchar and number? Good question Date (Y...
MDRI General Coding Help 6 3,566 Apr-16-2021, 01:47 AM
    Thread: How to make a test data file for the full length of definition?
Post: RE: How to make a test data file for the full leng...

any thoughts ?
MDRI General Coding Help 6 3,566 Apr-15-2021, 02:06 AM
    Thread: How to make a test data file for the full length of definition?
Post: RE: How to make a test data file for the full leng...

Thanks for weighing in. I see the output from this python script comes as of 2736 character length. lengths = (10, 15, 20) defines the length of 3 fields. The need is not to repeat these 3 sets...
MDRI General Coding Help 6 3,566 Apr-01-2021, 03:43 AM
    Thread: How to make a test data file for the full length of definition?
Post: How to make a test data file for the full length o...

How to make a test data file for the full length of definition? ================================================================ Thanks for your replies to my threads. **smile** I am looking to ma...
MDRI General Coding Help 6 3,566 Apr-01-2021, 01:55 AM
    Thread: How do I get full XPath extract using Python?
Post: RE: How do I get full XPath extract using Python?

Any thoughts ?
MDRI General Coding Help 1 2,212 Sep-18-2020, 02:13 AM
    Thread: Why this code not getting desired output ?
Post: RE: Why this code not getting desired output ?

Any thoughts ?
MDRI General Coding Help 2 2,543 Sep-18-2020, 02:11 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020