473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

XML Innertext Vs Innertext null

Hi all, if xml innertext is nothing, can the 1 line of data drop it?

eg:

Expand|Select|Wrap|Line Numbers
  1. <customer>
  2. <name>john</name>
  3. <age></age>
  4. <tall>175</tall>
  5. </customer>
instaed of

Expand|Select|Wrap|Line Numbers
  1. <customer>
  2. <name>john</name>
  3. <tall>175</tall>
  4. </customer>
im using xmlelement and str for the innertext
any one can help? or i hv to provide more info on my xml?

thanks
Apr 28 '14 #1
2 2794
zmbd
5,501 Expert Mod 4TB
alsonsux: Please read the FAQ and please, click on the [CODE/] button in the post toolbar and then cut and paste your script between the [code] [/code] tags.
Without the proper formatting, your XML script flagged your post as spam; thus, delaying any help we might be able to offer.
May 5 '14 #2
Dormilich
8,658 Expert Mod 8TB
or i hv to provide more info on my xml?
on the XML there is no more info necessary. what’s of importance is what you use to work with the XML.
May 6 '14 #3

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

Similar topics

13
by: Jeff | last post by:
Hi! I'm trying to update a number in a document with the following code. It displays a number, a div block with a minus sign and a div block with a plus sign. When I click the plus sign I want...
2
by: oembuilders | last post by:
Having a bit of trouble figuring out how to get the innerText of a cell other that the one selected. Any help would be apprecated as I am very new to javascript. I got the working example from...
2
by: delraydog | last post by:
I know that innerText is not supported in FireFox and I've found the following code fragment which was originally designed in an HTMLElement prototype for an innerText getter. I do not however want...
3
by: Dan | last post by:
I've loaded the following xml into an XMLDocument object: <?xml version="1.0" ?> - <Preferences> <Institution>Argh</Institution> <Speaker>Chigier, Ben (1234)</Speaker>...
3
by: John A Grandy | last post by:
when setting the InnerText property of a tag such as <span> , how to force a line break? Span1.InnerText = "some stuff" & vbCrLf & "some more stuff" doesn't work ... the vbCrLf just shows up...
6
by: martin | last post by:
Hi, I would like to write the text of an element to an xml doc as that it look like this <Address>&quot;Marty Jones&quot; &lt;mj@mydomain.com&gt;</Address> however I can't seen to get the quote marks to...
13
by: Lyners | last post by:
I have a web page writen in ASP.NET that contains some javascript so that when a user presses a button, or edits a certain field in a datagrid, another cell in the datagrid is filled with a value....
10
by: Angel | last post by:
I want to concat a space in an HTML Control's innerText property. here is a sample code Dim celCreate As New HtmlControls.HtmlTableCell() celCreate.innerText = " TEST" When the page is...
2
by: Paulers | last post by:
Hello all, I am trying to parse an XML document and populate objects to store in an ArrayList but I am having issues when an element is NULL. I cant seem to figure out how to handle it. I keep...
2
gchq
by: gchq | last post by:
Hi there I am attempting to compute some values from a DataTable. It works fine as long as there is a value to retrieve, otherwise it blows out! This will work as there are valid dates:- ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.