Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8408645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:41:25+00:00 2026-06-09T23:41:25+00:00

I got this issue. I have about 10k xml files containing a bunch of

  • 0

I got this issue. I have about 10k xml files containing a bunch of performance data. I need to parce, and then import them into excel so I can generate a graph out of it.

I am trying to decide what would be the best approach to solving this. I can’t do a direct import because excel doesn’t recognize it as a valid xml format. (excel gives me schema not recognized or some thing)

the file format goes something like this: (I have only included the useful information.)
name of the file goes like this: YYDDMM.startOfPMPeriod_endOfPMPeriod
and in the file:

<time stamp>
<PM category1>
<PM category2>
<PM category3>
...

<sub system 1>
<result>1</result>
<result>2.0</result>
...

<sub system 2>
<result>0.221</result>
<result>2.0</result>
...

<sub system n>
<result>1</result>
<result>2.0</result>

And there are approx 10k these files. each files goes for about 6k lines. 🙂

I am not sure about how to approach this. I got the basic logic of it:

while (we got more files to read) 
    read a file
    parse PM category and timestamp
          while (not end of file)
               reading in results data and the subsystems
    //store it in an array of some sort, but I am not sure about the structure of it
//once we are done with our files
pass the array to excel, (somehow, maybe as a CSV?)

What do you guys think would be the best approach to solve this? My programming skills are limited. I am familiar with java, c++ and bash scripting. 3 dimensional arrays are beyond me. I have enough trouble with 2 dimensions. 🙂 My most complicated assignment was to make a multi-threaded banking application with java.

Davy

Update: it is for excel 2003
and the excel table should look like this: and I can’t attach images so you will have to make do with this:

                      timestamp 1   timestamp2  timestamp 3
subsystem 1 pm cat 1
            pm cat 2
            pm cat 3

subsystem 2 pm cat 1
            pm cat 2
            pm cat 3
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T23:41:26+00:00Added an answer on June 9, 2026 at 11:41 pm

    I recommend you start by by inserting a piece of data using VSTO. Once you insert a single row, you can re-use what you learned to insert multiple rows.

    XML to an NxN array is an overly complicated means to attack XML parsing. XML parsing can be effectively accomplished via XPATH or LINQ to XML. If you have no experience with LINQ, perhaps XPATH is a better start.

    First figure out how you want the rows to look in excel, then extract the XML accordingly. This will avoid N x N arrays and give you a goal of producing a known output.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I got stumbled upon this issue once and I guess I need some expertise
Before you say anything, I have read the previously asked questions about this issue.
I got this issue, In the above html I cannot click on the dropdown
Got this design issue with JSF + Spring :- I got a datatable on
I got an issue. The scenario is like this: I got an NSOperationQueue that
recently got an issue when loading vs 2008, it displays this... can anyone tell
I've got an issue where strtotime returns my afternoon times as 0. This is
I've placed panel from this example http://docs.sencha.com/ext-js/4-0/#!/example/dd/dnd_grid_to_grid.html to Ext.window.Window and got an issue: proxy
So I'm just going to dive into this issue... I've got a heavily used
I am new to asp.net and have got some concerns about the bloated viewstate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.