+ Reply to Thread
Results 1 to 5 of 5

How to map/export XML with list of lists?

  1. #1
    Registered User
    Join Date
    07-09-2009
    Location
    Kiev, Ukraine
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question How to map/export XML with list of lists?

    I have an XML file(1) with structure like which I can open with Excel 2007, edit and save as xml file OK:
    <?xml version="1.0"?>
    <CONNECTION>
    <INVENTORY_STATUS_CODE>None</INVENTORY_STATUS_CODE>
    <PRIORITY>2009/07/07 13:18</PRIORITY>
    <CONNECTOR_TYPE_NAME>Unspecified</CONNECTOR_TYPE_NAME>
    <TRAY_NUMBER>0</TRAY_NUMBER>
    <DB_LOSS>0</DB_LOSS>
    </CONNECTION>

    But when I try to work with XML file(2) with structure like:
    <?xml version="1.0"?>
    <CONNECTION>
    <INVENTORY_STATUS_CODE>None</INVENTORY_STATUS_CODE>
    <PRIORITY>2009/07/07 13:18</PRIORITY>
    <CONNECTOR_TYPE_NAME>Unspecified</CONNECTOR_TYPE_NAME>
    <TRAY_NUMBER>0</TRAY_NUMBER>
    <DB_LOSS>0</DB_LOSS>
    <GEOMETRIES>
    <GEOMETRY>X="123" Y=123"</GEOMETRY>
    <GEOMETRY>X="124" Y=124"</GEOMETRY>
    </GEOMETRIES>
    </CONNECTION>
    I could import and edit XML file in Excel but could not export to XML.
    It throws an exeption that it could not export due to XML source containing List of lists.

    Does anybody have an idea how to import/map/edit/export XML file(2) correctly?

    PS: I see two rows per connection in Excel with GEOMETRY column only difference.

    Thanks,
    Sergiy
    Last edited by kiberpress; 07-13-2009 at 11:08 AM.

  2. #2
    Registered User
    Join Date
    07-09-2009
    Location
    Kiev, Ukraine
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: How to map/export XML with list of lists?

    Hi,

    I solved it by XSLT->XML in Excel->Revert XSLT

    Thanks,
    Sergiy

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    Basel, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to map/export XML with list of lists?

    Hi Sergiy,

    I just posted a similar problem when I detected your solution. Can you please give me more details how you resolved the issue? Maybe I then link my post to yours.

    Cheers,
    Tommy

  4. #4
    Registered User
    Join Date
    10-26-2012
    Location
    Gatineau, Qc, Canada
    MS-Off Ver
    Excel 2007 (Or Anything)
    Posts
    43

    Re: How to map/export XML with list of lists?

    Good day,

    You could also use Microsoft Query in the Data Field in Excel>Get External Data>From Another Source> XML

    Have fun

  5. #5
    Registered User
    Join Date
    11-28-2012
    Location
    Basel, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: How to map/export XML with list of lists?

    Hey, I am still messing around with this issue. When trying to follow your recommendation I end up with a message telling me about a missing schema reference. A new schema based on the XML source data will be created. I am confused. Could you please have a look at my sample data?

    Please see my other post on the same issue (hope this is not against the rules )

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1