473,508 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Removing Blank Cell info when save as xml data

5 New Member
Sorry for posting an excel problem here
I am maintaining an excel sheet using references from other worksheet of a same workbook . I want to save the data as xml data. Problem is when i save is as xml data it counts all the blank cells too.

I have an excel document where some of the cells are empty When i save the excel as xml spreadcheet i get the row with all the data from the cells that have data and and the empty cells. Is there a way to save the excel in xml and have the empty cells disappear instead of saving all the data ? I am running xsl on that xml and need to know the value of a non blank cell. Blank cells data is creating problem at the time of uploading.

But i want them not to appear in the xml data sheet. Please help



Attached Images
File Type: png With Problem.PNG (18.2 KB, 1625 views)
File Type: png Expected Solution .PNG (8.2 KB, 1587 views)
Jul 23 '16 #1
3 3717
zmbd
5,501 Recognized Expert Moderator Expert
1) Please do NOT double post your question. We tend to delete the doubled threads.

2) PLEASE do NOT use IMAGES for script. Copy and paste to the TEXT to the thread, and FORMAT THE SCRIPT using the [CODE/] tool

3) Your XML map is going to be the root cause of this effect and that is by design. If the XML map has an element in it and the assigned ranges do not have data then the element in the resulting XML file will be blank.

4) How are you getting your XML data to begin with and what method are you using to export the file to the XML file.

and finally, I am not very familiar with exporting Excel information to the XML format so it will be at best a learning experience for us both. :)
Jul 24 '16 #2
ADezii
8,834 Recognized Expert Expert
Can't you Filter the Data prior to the Save As *.XML?
Jul 24 '16 #3
zmbd
5,501 Recognized Expert Moderator Expert
The issue I see is the elements in the XSD file are mapped
MS: Overview of XML in Excel
I don't see an easy way to filter in this that would avoid the blank elements in the exported XML
Jul 25 '16 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2289
by: Doug | last post by:
When I fill an html table using ASP with data from a database, there is no border around any cell that has no data. I know I can manually put in a blank character or nbsp, but how do I do this...
2
1286
by: Sam | last post by:
Hi, I have a winform app where users enters in data. The data is comprised of options (strings), values (doubles) and so on. I am trying to pass this data to a class which will be used as a...
2
1835
by: diazhenrique | last post by:
Hi all, How could I substitute the blank lines in my .txt data file. It has many empty lines between groups of "text". In truth, the file is not a well-formated one, in strict sense. I would...
1
1479
by: jobs at webdos | last post by:
Loading gridview in edit mode with a blank row at top of data source? I'd like to have a button that when selected will rebind my gridview to a blank row + the original datasource in edit mode on...
0
1882
by: Rob | last post by:
I have a Webservice written in C# that provides data to both a web browser through ASP.net and to a VC++ client. I have been able to retrieve data from SQLServer and passing to my C++ client as...
3
5224
by: STEPHENSS | last post by:
Hi, I have a crystal report that has many subreports over many pages and Iam getting the following error Unable to save data with report, the save data is incomplete generate the saved data Yes...
1
2597
by: TonyJ | last post by:
Hello! I'm using VS2005. I'm looking at ADO.NET and have found some test tutorial solution on microsoft MSDN. The one that I'm looking at now is called Walkthrough: Saving Data to a Database...
0
1334
by: Pickles | last post by:
Hi I was wondering if someone could help me with this problem I have plotting with Office Web Components... In have a data sheet with x vs y data where if a value is zero it is removed and...
3
2170
by: stabesh | last post by:
hi I have a problem I want not save data until click 'ok' and Do not save anything when click 'cancel' in form and subform i'm find two file (in attachments) but incorrect please help me
4
2008
by: ehpratah | last post by:
hi i just wanna know if it is possible to save data in mysql and at the same time redirect it to another page with the data in php..(note: i know how to save the data but i can't find a way to drag...
0
7114
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7321
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7377
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5045
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1544
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.