473,382 Members | 1,302 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.

What objects are available in FireFox? (like DOMParser)

DKM
I recently found out that the below code works in FireFox 1.0.4.

str = "<b>Hello world!!!</b>";
var doc = new DOMParser().parseFromString(str, "text/xml");
document.getElementById("div1").appendChild(doc.do cumentElement);

I knew how to manipulate document object. Now, I see that there is this
DOMParser object that one can use in the browser in Javascript.

What other objects are accessible in FireFox?

I went to www.w3.org and searched for DOMParser and did not find
parseFromString as one of its method.

Where can I find about DOMParser and objects available in the browser.

Thanks very much in advance.

D.K. Mishra

Jul 23 '05 #1
2 3761
VK
> Where can I find about DOMParser and objects available in the browser.

It's here:
<http://www.mozilla.org/xmlextras/>

Please note though that it's all marked preliminary/preview.

Jul 23 '05 #2
DKM


VK wrote:
Where can I find about DOMParser and objects available in the browser.


It's here:
<http://www.mozilla.org/xmlextras/>

Please note though that it's all marked preliminary/preview.


Thank you very much. I found the web site xulplanet.com very
informative too. That has a lot of info about these extra stuff.

Again, thanks.

D.K. Mishra

Jul 23 '05 #3

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

Similar topics

0
by: abwabe | last post by:
im using WSAD 5.0 when i try to execute this : public static void main(String args) { myHash = new Hashtable(); try { String strHtmlFile = "C:\\test.html";
4
by: Al Dykes | last post by:
I'm playing around with FireFox and RSS for the first time and I'm getting this error "This XML file does not appear to have any style information associated with it. The document tree is shown...
44
by: lester | last post by:
a pre-beginner's question: what is the pros and cons of .net, compared to ++ I am wondering what can I get if I continue to learn C# after I have learned C --> C++ --> C# ?? I think there...
0
by: jui | last post by:
I am currently using DOMParser, i want to switch to DOMBuilder, as the DOMParser is supposedly deprecated...I need help to find the implementation mapping....
3
by: jphaycock | last post by:
Hi all I am trying to get a url attribute from an xml node: <item> <media url="http://blablabla.com" /> </item> I can do this in IE with the following code: var newDom =...
0
by: rahat09 | last post by:
I am new to JavaScript/XML, I am trying to load xml file as well as xml as string input, and have written following code. This is working in IE but not in FireFox, can anyone help?...
1
by: rahat09 | last post by:
I am trying to load xml file as well as xml as string input, and have written following code. This is working in IE but not in FireFox, can anyone help? ...
8
by: Sunny | last post by:
Hi, I am creating an Element on page in Firefox. But It gives me an error in Firefox. String contains an invalid character" code: "5 county = document.createElement('"' + countyVMLtext +...
1
by: webmaniac | last post by:
Hi, I am creating a legend for my webpage. I am using svg to draw rectangles. But somehow it just draws one rectangle only. Here is the code. var rColor=new Array(); var legendArr=; var...
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: 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:
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
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?

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.