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

xmldoc on Firefox

Im having problems with the xmldoc returned by
XMLHttpRequest.responseXML.

alert(
xmldoc.getElementsByTagName('element')[0].firstChild.nodeValue.length
);

if the text is bigger than 4096 bytes, then the value returned is only
4096

how can I specify a bigger value?

Jun 7 '06 #1
1 2894


skastro wrote:
Im having problems with the xmldoc returned by
XMLHttpRequest.responseXML.

alert(
xmldoc.getElementsByTagName('element')[0].firstChild.nodeValue.length
);

if the text is bigger than 4096 bytes, then the value returned is only
4096


Do
var xmldoc = httpRequestInstance.responseXML;
xmlDoc.normalize();
then the adjacent text nodes in the XML document should be joined and
you should get the full text.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jun 7 '06 #2

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

Similar topics

4
by: Ang Talunin | last post by:
Hey, I'm trying to read an xml from another webpage with: xmlDoc.load("http://www.otherwebsite.com/test.xml"); But this doesn't work...anybody knows a way to fix this? thnx, A.T.
1
by: Leonid | last post by:
we are using : var xmlfileLoaded = xmlDoc.load(xmlFileName); and we noticed that this files are not cached in numbers of clients Internet Exporer v6. We see in httprequest log this request. ...
87
by: expertware | last post by:
Dear friends, My name is Pamela, I know little about CSS, but I would like to ask a question I have an image on a web page within a css layer: <DIV ID=MyLayer STYLE = "position:...
2
by: Steve Gilbey | last post by:
I have a dataset from which I need to extract certain columns, format them into xml and output to an xmldocument object. From reading various posts on similar subjects, I have come up with the...
0
by: rene.rugerio[at]gmail.com | last post by:
hi forum dumb question here i have this xmldocument which is from a certain xml looping in the nodes i can see which if the attributes are empty the thing here is that i just dont know how to...
4
by: James Geurts | last post by:
Hi, I have a schema file defining objects. I then use xsd to convert that schema into a C# class file. Is it possible to have xmldoc comments added to the generated c# file? I have attempted to...
9
by: M.Siler | last post by:
It is my understanding that XMLdoc only works for C#. I'd be glad to pay for a commercial product, but I want to make sure it is a good one, so I thought I'd ask here if anyone is using a product...
2
by: KingdomHeart | last post by:
I recently write code to get IP address of my network devices in Call Manager. ANd I got problems with xmlhttp and xmldoc. what is wrong with these 2 lines below? xmlhttp.Send();...
2
by: MimiMi | last post by:
I'm completely new to xml-manipulation in C#. I have an XmlDocument (xmldoc) and want to add a new element (node) to the xmldoc.DocumentElement.ChildNodes. How do I achieve that? Thanks!
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: 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: 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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: 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...
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.