• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Excel to XML Conversion Issue

 
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Everyone - I was trying to use a very basic excel (literally very basic) to create a well formed XML. I was able to create 90% of XML but where there multiple tags in XML, at that point of time, I was failing.

Request you to review it and let me know, if I am doing something terribly wrong or any help/suggestions? I am attaching sample excel and XML which I am trying to created with this program.

This is how my excel looks like



 
Shaan Shar
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's an example of the Excel sheet
Excel_Sample.JPG
[Thumbnail for Excel_Sample.JPG]
 
Shaan Shar
Ranch Hand
Posts: 1252
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


When I tried to enable second "with tag" and run it in Python, it was throwing following error in console. Any idea, where I am doing incorrect indentation.

 File "C:\Users\shaan\Desktop\Python Utility\Excel.py", line 57
   with tag('Trigger'):
TabError: inconsistent use of tabs and spaces in indentation
 
reply
    Bookmark Topic Watch Topic
  • New Topic