473,382 Members | 1,775 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,382 software developers and data experts.

getElementsByTagName

I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
the last statement returns an empty collection when running from IE6.
It returns the expected collection when running under Firefox or Mozilla.
Anybody can explain ?
Michel.
Jul 23 '05 #1
23 15538
Michel Bany escribió:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
the last statement returns an empty collection when running from IE6.
It returns the expected collection when running under Firefox or Mozilla.
Anybody can explain ?
Michel.


I think that the function getElementsByTagName does not accept the
string "*" in IE. You will have to correct the DOM behaviour of IE with
something like this:

function IsIE(){
return window.document.all?true:false;
}

if (IsIE()) {
function getElementsByTagName_IE(sTag){
if ((!sTag)||(sTag=='')||(sTag=='*')){
return window.document.all;
}

return document.all.tags(sTag);
}
window.document.getElementsByTagName = getElementsByTagName_IE;
}

Regards,

knocte

--
Jul 23 '05 #2
On Fri, 08 Jul 2005 01:27:54 +0200, knocte
<kn****@NO-SPAM-PLEASE-gmail.com> wrote:
function IsIE(){
return window.document.all?true:false;
}


this is not a remotely acceptable way of detecting if the behaviour of
getElementsByTagName("*") returns what you want it to, document.all is
supported by a very large number of user agents, and is certainly not
a discriminator for IE!

if (document.getElementsByTagName) {
var els=document.getElementsByTagName("*");
if (els.length==0) {
// do whatever...
}
}
Jim.
Jul 23 '05 #3
Michel Bany wrote:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
the last statement returns an empty collection when running from IE6.
It returns the expected collection when running under Firefox or Mozilla.
Anybody can explain ?
Michel.


Something like the following should do the trick:

function getEmAll() {
var els;
if ( document.getElementsByTagName ) {
els = document.getElementsByTagName('*');
}
if ( ( !els || !els.length ) && document.all ) {
els = document.all;
}
return els;
}

Note you should check the returned value, there is still plenty of scope
for failure.

--
Rob
Jul 23 '05 #4
Michel Bany <m.****@wanadoox.fr> wrote in message news:42**********************@news.wanadoo.fr...
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
the last statement returns an empty collection when running from IE6.
It returns the expected collection when running under Firefox or Mozilla.
Anybody can explain ?
Michel.


I get around this by giving priority to document.all if it is available. This will support I.E. but may not work for
some DOM browsers that do not support document.all or the getElementsByTagName wildcard.

var allElements=document.all || document.getElementsByTagName("*");

if(typeof allElements != 'undefined' && allElements.length)
...

This page http://www.siteexperts.com/tips/contents/ts16/page3.asp shows a recursive function that accesses all
elements. Modifying it to append to a supplied array, I found that it returns one element less than
document.getElementsByTagName("*"), probably the html element.
function getElements(allElems, obj)
{
for (var i=0;i < obj.childNodes.length;i++)
if (obj.childNodes[i].nodeType==1) // Elements only
allElems[allElems.length]=obj.childNodes[i];
getElements(allElems,obj.childNodes[i])
}
}

var allElements=[];
getElements( allElements, document.childNodes[0])
--
Stephen Chalmers
547265617375726520627572696564206174204F2E532E2072 65663A205451323437393134

Jul 23 '05 #5
ASM
Jim Ley wrote:

if (document.getElementsByTagName) {
var els=document.getElementsByTagName("*");
if (els.length==0) {
// do whatever...
}
}


hello Jim,

IE is not reactive with this ccs rule :
td { color: blue }
td:hover { color: red }

if(document.all) being digested by others browsers than IE
which detection have I to place in my code in this case ?
--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #6


Michel Bany wrote:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
the last statement returns an empty collection when running from IE6.


The wild card '*' is supported when I test here with MSXML 3 on Windows
XP and IE 6, I am not sure about earlier MSXML releases without testing.

Are you sure the XML is properly loaded and parsed when
getElementsByTagName("*") gives you an empty collection?
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #7
On 08/07/2005 07:28, ASM wrote:

[snip]
IE is not reactive with this ccs rule :
td { color: blue }
td:hover { color: red }
IE is deficient and doesn't recognise the hover pseudo-class on any
elements except A.
if(document.all) being digested by others browsers than IE
which detection have I to place in my code in this case ?


You don't perform any detection at all, at least in the sense of looking
for IE. What you're looking for is specific behaviour, and then an
alternative method of achieving what you want.

var collection;

/* If gEBTN is supported, attempt to use it. */
if(document.getElementsByTagName) {
collection = document.getElementsByTagName('*');
}

/* If the previous attempt failed... */
if(!collection || !collection.length) {

/* Check to see if we can use the all property
* to obtain a collection of all elements in
* the document.
*
* Note that this is *not* a check for IE, but
* a feature test.
*/
if(document.all) {
collection = document.all;

/* If not, return an empty array as failure. */
} else {
collection = [];
}
}
More self-contained (but much more complex):

var getByTagName = (function() {
function isGenericObject(value) {
return isObject(value) || ('function' == typeof value);
}
function isObject(value) {
return !!value && ('object' == typeof value);
}
function tryDOM(a, tN) {
var e = useDOM(a, tN);

if('*' == tN) {
if(e.length) {
this.getByTagName = useDOM;
} else {
e = useTags(a, tN);
if(e.length) {this.getByTagName = useTags;}
}
}
return e;
}
function useDOM(a, tN) {
return a.getElementsByTagName(tN);
}
function useEmpty() {return [];}
function useTags(a, tN) {
return ('*' == tN) ? a.all : a.all.tags(tN);
}
return function(a, tN) {
this.getByTagName = isGenericObject(a.getElementsByTagName)
? isObject(a.all) && isObject(a.all.tags)
? tryDOM
: useDOM
: isObject(a.all) && isObject(a.all.tags)
? useTags
: useEmpty;

return this.getByTagName(a, tN);
};
})();

What you'd use depends on whether you'd end up repeating code. The above
really boils down to something quite simple and efficient, though it may
not look like it at first glance.

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Jul 23 '05 #8
ASM
Michael Winter wrote:

IE is deficient and doesn't recognise the hover pseudo-class on any
elements except A.
Yes, it's what I said (or approx)
and it is exactly what I want to detect.
if(document.all) being digested by others browsers than IE
which detection have I to place in my code in this case ?

You don't perform any detection at all, at least in the sense of looking
for IE. What you're looking for is specific behaviour, and then an
alternative method of achieving what you want.

var collection;

/* If gEBTN is supported, attempt to use it. */
if(document.getElementsByTagName) {
collection = document.getElementsByTagName('*');
}


Does IE Windows unsupport this collection ?

I want to detect IE and IE only
Or much better :
I want to detect browsers
which don't recognise pseudo-class (eventualy except on tag A)

/* If the previous attempt failed... */
if(!collection || !collection.length) {

/* Check to see if we can use the all property
* to obtain a collection of all elements in
* the document.
*
* Note that this is *not* a check for IE, but
* a feature test.
*/
if(document.all) {
collection = document.all;

/* If not, return an empty array as failure. */
} else {
collection = [];
}
}
I think that test is quite egal if(document.all)
and doesn't permit to say : there is IE and IE only
More self-contained (but much more complex):
so complex that I understand anything
does that do what I want ?
var getByTagName = (function() {
function isGenericObject(value) {
return isObject(value) || ('function' == typeof value);
}
function isObject(value) {
return !!value && ('object' == typeof value);
}
function tryDOM(a, tN) {
var e = useDOM(a, tN);
if('*' == tN) {
if(e.length) {
this.getByTagName = useDOM;
}
else {
e = useTags(a, tN);
if(e.length) {this.getByTagName = useTags;}
}
}
return e;
}
function useDOM(a, tN) {
return a.getElementsByTagName(tN);
}
function useEmpty() {return [];}
function useTags(a, tN) {
return ('*' == tN) ? a.all : a.all.tags(tN);
}
return function(a, tN) {
this.getByTagName = isGenericObject(a.getElementsByTagName)
? isObject(a.all) && isObject(a.all.tags)
? tryDOM
: useDOM
: isObject(a.all) && isObject(a.all.tags)
? useTags
: useEmpty;

return this.getByTagName(a, tN);
};
})();


As I understood anything, does this getByTagName return false if
pseudo-class not allowed for tags TD ?

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #9
On 09/07/2005 00:58, ASM wrote:
Michael Winter wrote:
IE is deficient and doesn't recognise the hover pseudo-class on any
elements except A.
Yes, it's what I said (or approx)


Your comment was, to me, so random and at a tangent to the current topic
that I read it as a question, rather than a statement.
and it is exactly what I want to detect.
That's the first time you've said as much.

[snip]
var collection;

/* If gEBTN is supported, attempt to use it. */
if(document.getElementsByTagName) {
collection = document.getElementsByTagName('*');
}


Does IE Windows unsupport this collection ?


Again, I'm confused as to what you mean. Perhaps: "Will IE/Win ever
return a non-empty collection using this code?" If so, then yes, IE6
will return a collection containing all elements within the document, as
it should. IE5.x will always return an empty collection, and IE4 doesn't
support the getElementsByTagName method at all.
I want to detect IE and IE only
Browser detection is flawed, and has been since browsers first started
trying to spoof other browsers. However, you can use Microsoft's
conditional comments mechanism which is, as far as I know, only
implemented by IE.
Or much better :
I want to detect browsers
which don't recognise pseudo-class (eventualy except on tag A)
You can't do that.

[snipped getElementsByTagName emulation]
As I understood anything, does this getByTagName return false if
pseudo-class not allowed for tags TD ?


You've only just explained your desire to detect the lack of support for
the :hover pseudo-class, so of course that code doesn't do what you
want. It accomplished what I read as the direction of discussion: how to
handle earlier IE versions which didn't support the getElementsByTagName
method properly.
You cannot detect what is supported in CSS via scripting. However, what
you can do is emulate some of that functionality. If you want to alter
the appearance of an element, then implement it in both CSS and script:

td {
background-color: transparent;
color: blue;
}

td.on-hover,
td:hover {
background-color: transparent;
color: red;
}
<td onmouseover="this.className='on-hover';"
onmouseout="this.className='';">...</td>

Mike

--
Michael Winter
Prefix subject with [News] before replying by e-mail.
Jul 23 '05 #10
This page http://www.siteexperts.com/tips/contents/ts16/page3.asp shows a recursive function that accesses all
elements. Modifying it to append to a supplied array, I found that it returns one element less than
document.getElementsByTagName("*"), probably the html element.
function getElements(allElems, obj)
{
for (var i=0;i < obj.childNodes.length;i++)
if (obj.childNodes[i].nodeType==1) // Elements only
allElems[allElems.length]=obj.childNodes[i];
getElements(allElems,obj.childNodes[i])
}
}

var allElements=[];
getElements( allElements, document.childNodes[0])

This recursive function works superbly with Firefox and Mozilla, but not
with IE6,
var request = new ActiveXObject("Microsoft.XMLHTTP");
<.. build and send the request ..>
var nodes = request.responseXML.childNodes[0];
I am getting an empty collection for nodes. What's wrong ?
Michel.
Jul 23 '05 #11
ASM
Michael Winter wrote:

sory to have turned of a file from its original question
as mine would be seen as an extension ( ?)

thanks for your patience and answer
On 09/07/2005 00:58, ASM wrote:
I want to detect browsers
which don't recognise pseudo-class (eventualy except on tag A)
You can't do that.


[snip]

You cannot detect what is supported in CSS via scripting. However, what
you can do is emulate some of that functionality. If you want to alter
the appearance of an element, then implement it in both CSS and script:

td {
background-color: transparent;
color: blue;
}

td.on-hover,
td:hover {
background-color: transparent;
color: red;
}
<td onmouseover="this.className='on-hover';"
onmouseout="this.className='';">...</td>


because I wouln't want charge css compatible browsers with events they
don't need (and aso not to much poluate html code)
and because I have double class (and theire hovers) on same element
(depend if selected or not)
by that my wanted is some more complex than a simple roll-over
I'd made a JS code attibutting at page loaded this events only if IE

exercices (tables rows or cells selections)
examples are (in french) here :
http://perso.wanadoo.fr/stephane.mor...ht_rows_fr.htm
more complex :
http://perso.wanadoo.fr/stephane.mor...t_cells_fr.htm
to compare with same for only css (and few JS)
http://perso.wanadoo.fr/stephane.mor..._cells_css.htm

all of them based on an ie dectection (mixed with iCab)
detection ignoring capabilities of other unknown browsers

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #12


Michel Bany wrote:

var request = new ActiveXObject("Microsoft.XMLHTTP");
<.. build and send the request ..>
var nodes = request.responseXML.childNodes[0];
I am getting an empty collection for nodes. What's wrong ?

Hard to tell, check
request.status
request.statusText
request.getAllResponseHEaders()
then check
request.responseXML.parseError.errorCode
request.responseXML.parseError.reason
for IE, that should allow to tell what happens.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #13
VK
> I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");
responseXML doesn't work this way in IE. Overall it's a bogus method:
doesn't fail on calling it, but always gives you empty string for any
XML methods. If you *really* have a valid XML data from your server,
you have to use XML parser first:

....
if (window.XMLHttpRequest) {
// FF & Co
}
else {
try {
var myDataIsland = new ActiveXObject("Msxml3.DOMDocum*ent");}
catch (e1) {
var myDataIsland = new ActiveXObject("Msxml2.DOMDocum*ent");}
}
if (myDataIsland != null) {
var myInOutStream = new ActiveXObject("Microsoft.XMLHT*TP");
<pseudo-code - read data using myInOutStream>
<pseudo-code - if success>
myDataIsland.loadXML(myInOutSt*ream.responseText);
}
}
From this point forward myDataIsland contains perfectly formatted and

parsed XML data.

Now you can: var elm = myDataIsland.getElementsByTagName("*");
It works perfectly in IE.

All the above has sense only if you are really getting a valid XML from
your server. If it's just an unstructured set of strings you're calling
XML for convenience, then simply read your text and parse it manually
in the way you want:
var txt = myInOutSt*ream.responseText;
....

responseText method always works no matter what.

Jul 23 '05 #14
ASM
VK wrote:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");

responseXML doesn't work this way in IE. Overall it's a bogus method:
doesn't fail on calling it, but always gives you empty string for any
XML methods. If you *really* have a valid XML data from your server,
you have to use XML parser first:

...
if (window.XMLHttpRequest) {
// FF & Co
}
else {


if(document.all && navigator.userAgent.indexOf('Mac')<0)
try {
try is not understood by my NC 4.5 and gives an error
var myDataIsland = new ActiveXObject("Msxml3.DOMDocum*ent");}
catch (e1) {
var myDataIsland = new ActiveXObject("Msxml2.DOMDocum*ent");}
}
if (myDataIsland != null) {
var myInOutStream = new ActiveXObject("Microsoft.XMLHT*TP");
<pseudo-code - read data using myInOutStream>
<pseudo-code - if success>
myDataIsland.loadXML(myInOutSt*ream.responseText);
}
}
From this point forward myDataIsland contains perfectly formatted and

parsed XML data.

Now you can: var elm = myDataIsland.getElementsByTagName("*");
It works perfectly in IE.

All the above has sense only if you are really getting a valid XML from
your server. If it's just an unstructured set of strings you're calling
XML for convenience, then simply read your text and parse it manually
in the way you want:
var txt = myInOutSt*ream.responseText;
...

responseText method always works no matter what.

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #15
VK
> try is not understood by my NC 4.5 and gives an error

With all my respect to the old glory of Netscape, NN 4.5 is out of the
scope of support as of the year 2005 (as well as IE 3.02, NN3 Gold,
NCSA Mozaic and others). If for some reasons you want to stay with NN4,
I suggest you at least upgrade to NN 4.71 (that was the last
cummulative upgrade for NN4). NN 4.5 was one of the most bugs-full in
the series.

Jul 23 '05 #16
ASM
VK wrote:
try is not understood by my NC 4.5 and gives an error


With all my respect to the old glory of Netscape, NN 4.5


:-)

On my old Mac, NC4.5 is (exept IE 5.1 (is it really a browser?))
the alone acceptable
You can also use Mozilla 1.02 (US) if you accept its 2 mn for loading
(and 20 seconds on each new popup)

Then, there are some countries where people are happy to can use
very old UC ... (without ADSL or DSL) and by the fact old browsers.

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #17
VK
> On my old Mac, NC4.5 is the alone acceptable

And what's wrong with Opera?
<http://www.opera.com/download/?platform=mac>

Has its faults, but pretty stable, lightweight, and at least you can
work with modern DOM/scripting.

IE 5.1 (is it really a browser?))

It is, and a good one. Just don't tell it to anyone! :-X

Jul 23 '05 #18
ASM
VK wrote:
On my old Mac, NC4.5 is the alone acceptable

And what's wrong with Opera?


Opera 6.03 is a daube (buggued to the bone)
<http://www.opera.com/download/?platform=mac>


donwloaded just now
version 8 seems to run correctly on my new mac
I'll can be more friend with him (not to much cause pub)

--
Stephane Moriaux et son [moins] vieux Mac
Jul 23 '05 #19


VK wrote:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");

responseXML doesn't work this way in IE. Overall it's a bogus method:
doesn't fail on calling it, but always gives you empty string for any
XML methods.


responseXML is not a method but a property and it is not part of the IE
object model but of the MSXML (Microsoft's XML parser) object model. And
of course if the HTTP response is served as text/xml or application/xml
then MSXML tries to parse the response body and populates responseXML as
an XML DOM document if the markup is well-formed. No need to reparse
responseText.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #20
VK


Martin Honnen wrote:
VK wrote:
I am trying to parse responseXML from an HTTP request.
var doc = request.responseXML;
var elements = doc.getElementsByTagName("*");

responseXML doesn't work this way in IE. Overall it's a bogus method:
doesn't fail on calling it, but always gives you empty string for any
XML methods.


responseXML is not a method but a property and it is not part of the IE
object model but of the MSXML (Microsoft's XML parser) object model.


of IServerXMLHTTPRequest object model to be totally correct (if you
look for it on MSDN)

And
of course if the HTTP response is served as text/xml or application/xml
then MSXML tries to parse the response body and populates responseXML as
an XML DOM document if the markup is well-formed. No need to reparse
responseText.


Yep, by setting "text/xml" or "application/xml" response header you'll
make responseXML to work. Just how to do it on your local file system
(whyle testing/debugging)?

Jul 23 '05 #21
Michel Bany <m.****@wanadoox.fr> wrote in message news:42***********************@news.wanadoo.fr...
This page http://www.siteexperts.com/tips/contents/ts16/page3.asp shows a recursive function that accesses all
elements. Modifying it to append to a supplied array, I found that it returns one element less than
document.getElementsByTagName("*"), probably the html element.
function getElements(allElems, obj)
{
for (var i=0;i < obj.childNodes.length;i++)
if (obj.childNodes[i].nodeType==1) // Elements only
allElems[allElems.length]=obj.childNodes[i];
getElements(allElems,obj.childNodes[i])
}
}

var allElements=[];
getElements( allElements, document.childNodes[0])

This recursive function works superbly with Firefox and Mozilla, but not
with IE6,
var request = new ActiveXObject("Microsoft.XMLHTTP");
<.. build and send the request ..>
var nodes = request.responseXML.childNodes[0];
I am getting an empty collection for nodes. What's wrong ?
Michel.


It worked for me under I.E.6, but I did have the same trouble under Mozilla on one page that used a doctype. After
removing the doctype the function worked properly, but not being a spec-basher I can't say why.
I would call the function as a last resort for when document.all and document.getElementById('*') can't deliver. To that
end, I've rewritten it to create and return its own array, so that its return value can be tested.

function getElements(obj)
{
var allElems=[];

for (var i=0; i < obj.childNodes.length; i++)
if (obj.childNodes[i].nodeType==1) // Elements only
allElems[ allElems.length ]=obj.childNodes[i];
allElems=allElems.concat( getElements(obj.childNodes[i]) );
}

return allElems;
}

--
Stephen Chalmers
Jul 23 '05 #22
Martin Honnen a écrit :


Michel Bany wrote:

var request = new ActiveXObject("Microsoft.XMLHTTP");
<.. build and send the request ..>
var nodes = request.responseXML.childNodes[0];
I am getting an empty collection for nodes. What's wrong ?


Hard to tell, check
request.status
request.statusText
request.getAllResponseHEaders()
then check
request.responseXML.parseError.errorCode
request.responseXML.parseError.reason
for IE, that should allow to tell what happens.

Yes, that helps. I could get the parse error : MSXML could not recognize
the &nbsp; entity in the xml.
Probably an old version.
I replaced the entity with   and everything is fine.
Thanks.
Jul 23 '05 #23


Michel Bany wrote:

I could get the parse error : MSXML could not recognize
the &nbsp; entity in the xml.
Probably an old version.


XML predefines only a few entities, contrary to HTML where nbsp is
defined as an entity.
--

Martin Honnen
http://JavaScript.FAQTs.com/
Jul 23 '05 #24

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: 2obvious | last post by:
This is a pipe dream, I realize, but I'm trying to emulate the functionality of the W3C DOM-supported document.getElementsByTagName method under the very nightmarish Netscape 4. Through some...
3
by: Andy | last post by:
Hello, I have the following example XML: <data> <package> <packageid>123</packageid> <package_article> <articleid>article1</articleid> </package_article> </package>
7
by: Dima | last post by:
Call to XmlNode.GetElementsByTagName returns XmlNodeList that stays in sync with XmlDocument thanks to events fired by XmlDocument. Once this list is created there is no way to remove its event...
2
by: JJA | last post by:
Here is my entire XML file - simplified to one node for testing: <root> <FlasConustbl> <ID>42101</ID> <AWARD>P015B030001</AWARD> <INSTITUTION_KEY>300</INSTITUTION_KEY> <INSTITUTION>Boston...
1
by: Max | last post by:
Hello everyone! i would want to know if the getElementsByTagName() function starts to find the elements from documentElement comprising the same documentElement. XML example: <?xml...
1
by: Ben | last post by:
I have a web service that returns the following xml: <?xml version="1.0" encoding="utf-8" ?> <NewDataSet> <Addresses> <XML_F52E2B61-18A1-11d1-B105-00805F49916B> <CustomerAddressBase...
4
by: Ouray Viney | last post by:
Xml <ib>8.4.27.5</ib> python from xml.dom import minidom xmldoc = minidom.parse('C:\TestProfile.xml') xmldoc
15
Dormilich
by: Dormilich | last post by:
I’m trying to do the following document.getElementsByTagName("sup").getElementsByTagName("a"); currently I have this because I somehow need to return a combined result NodeList // can’t prototype...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.