[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: I used Excel Save As to generate XML but some rows inthe X

  • From: Roger L Costello <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Tue, 13 Jul 2021 18:27:12 +0000

Re:  I used Excel Save As to generate XML but some rows inthe X
Hi Peter,

> if the right-hand-most column[s] are missing (no data) they can be omitted.

A very reasonable guess indeed. Unfortunately, not correct. In my data the very first <Row> containing 15 child elements, the last child element (the last Excel column) contains data. An earlier column was deleted. Which one? 

/Roger


-----Original Message-----
From: Peter Flynn <peter@silmaril.ie> 
Sent: Tuesday, July 13, 2021 2:17 PM
To: xml-dev@lists.xml.org
Subject: [EXT] Re:  I used Excel Save As to generate XML but some rows in the XML are missing cells ... which cells?


On 13/07/2021 18:51, Roger L Costello wrote:
> Hi Folks,
> 
> I have an Excel spreadsheet. If has 16 columns. I did a File >> Save 
> As "XML Spreadsheet 2003 (*.xml)" to generate XML.
> 
> I opened the generated XML document. It has a <Row> for the header. 
> That <Row> has 16 child elements, corresponding to the 16 columns in
> the spreadsheet. And, there is a <Row> corresponding to each row in
> the spreadsheet. Most of the <Row> elements have 16 child elements,
> but some have only 15 child elements.

My [limited] understanding of spreadsheets is that if the
right-hand-most column[s] are missing (no data) they can be omitted.
This appears to be true for CSS export (try it and see), so perhaps they
are doing the same for their XML.

Peter

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
subscribe: xml-dev-subscribe@lists.xml.org
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.