Connecting Tech Pros Worldwide Help | Site Map

xmldoc on Firefox

 
LinkBack Thread Tools Search this Thread
  #1  
Old June 7th, 2006, 12:55 AM
skastro
Guest
 
Posts: n/a
Default 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?


  #2  
Old June 7th, 2006, 11:55 AM
Martin Honnen
Guest
 
Posts: n/a
Default Re: xmldoc on Firefox



skastro wrote:[color=blue]
> 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[/color]

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/
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.