I used DOMParser to convert a response string to XML object:
DOMParser.parseFromString()
In browsers where DOMParser is not supported (Safari 1-2 for my case)
I cannot use DOMParser. What method is normally used to convert a
string to XML object. For Firefox I use E4X. For IE I use
ActiveXObject loadXML() method.
Thanks. 5 8351
vunet wrote:
It did not work in Safari 1.3.
It did not work? As said I have not tested that myself but blog entries
like <URL:http://web-graphics.com/mtarchive/001606.phpsuggest it works
with Safari versions where DOMParser is not implemented.
In Firefox, however, it gave me an
error: "Permission denied to call method XMLHttpRequest.open"
Well Firefox has DOMParser so I don't understand why you tried the data:
URL approach with Firefox.
--
Martin Honnen http://JavaScript.FAQTs.com/
On Dec 17, 12:01 pm, Martin Honnen <mahotr...@yahoo.dewrote:
vunet wrote:
It did not work in Safari 1.3.
It did not work? As said I have not tested that myself but blog entries
like <URL:http://web-graphics.com/mtarchive/001606.phpsuggest it works
with Safari versions where DOMParser is not implemented.
In Firefox, however, it gave me an
error: "Permission denied to call method XMLHttpRequest.open"
Well Firefox has DOMParser so I don't understand why you tried the data:
URL approach with Firefox.
--
Martin Honnen http://JavaScript.FAQTs.com/
You are right. But I just wanted to see the behavior. Anyway, where do
I look for a solution? Thanks.
On Dec 17, 12:07 pm, vunet <vunet...@gmail.comwrote:
On Dec 17, 12:01 pm, Martin Honnen <mahotr...@yahoo.dewrote:
vunet wrote:
It did not work in Safari 1.3.
It did not work? As said I have not tested that myself but blog entries
like <URL:http://web-graphics.com/mtarchive/001606.phpsuggest it works
with Safari versions where DOMParser is not implemented.
In Firefox, however, it gave me an
error: "Permission denied to call method XMLHttpRequest.open"
Well Firefox has DOMParser so I don't understand why you tried the data:
URL approach with Firefox.
--
Martin Honnen http://JavaScript.FAQTs.com/
You are right. But I just wanted to see the behavior. Anyway, where do
I look for a solution? Thanks.
Sorry I missed the reference: http://web-graphics.com/mtarchive/001606.php
Thanks.
On Dec 17, 12:10 pm, vunet <vunet...@gmail.comwrote:
On Dec 17, 12:07 pm, vunet <vunet...@gmail.comwrote:
On Dec 17, 12:01 pm, Martin Honnen <mahotr...@yahoo.dewrote:
vunet wrote:
It did not work in Safari 1.3.
It did not work? As said I have not tested that myself but blog entries
like <URL:http://web-graphics.com/mtarchive/001606.phpsuggest it works
with Safari versions where DOMParser is not implemented.
In Firefox, however, it gave me an
error: "Permission denied to call method XMLHttpRequest.open"
Well Firefox has DOMParser so I don't understand why you tried the data:
URL approach with Firefox.
--
Martin Honnen http://JavaScript.FAQTs.com/
You are right. But I just wanted to see the behavior. Anyway, where do
I look for a solution? Thanks.
Sorry I missed the reference:http://web-graphics.com/mtarchive/001606.php
Thanks.
As mentioned in one of the comments, it does not work on Mac Safari
1.3. I have exact same problem.
vunet wrote:
As mentioned in one of the comments, it does not work on Mac Safari
1.3. I have exact same problem.
Safari 1.3 is hopelessly outdated.
PointedEars
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8*******************@news.demon.co.uk> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: david |
last post by:
Hello,
Is the code below correct ? I always get an seg fault on execution and
the debugger points to c_str() ?
Basically i want to convert the value std::string to char * within the
iterator...
|
by: MJB |
last post by:
I'm getting an IStream back from function xmlHttp.responsestream. I would
like to convert this to a System.IO.Stream in order to work with it in my
application. Has anyone encountered this and...
|
by: ORC |
last post by:
I will use FieldInfo to import values from a XML file into the fields of an
objects. But how to convert to the proper type like in this:
public void Load(object MyClass)
{
foreach( FieldInfo...
|
by: Kenneth Keeley |
last post by:
Hi,
I am creating a news and events page on my Intranet site and I wish to
allow people to upload an image with there news to my site. The text and
image are all stored in an SQL database. I have...
|
by: Thomas Jansen |
last post by:
When i try this example in IE
http://www.captain.at/howto-ajax-xml-javascript.php
I get DOMParser not defined, it works in Firefox.
How do i make it work in IE?
~tj
|
by: aaronwmail-usenet |
last post by:
Ok, I've seen many examples of javascript
parsing an XML document retrieved from a file
indicated by a URL.
The problem is I need to parse (usually small)
xml *strings* embedded in the...
|
by: davihigh |
last post by:
My Friends:
I am using std::ofstream (as well as ifstream), I hope that when i
wrote in some std::string(...) with locale, ofstream can convert to
UTF-8 encoding and save file to disk. So does...
|
by: groups |
last post by:
This is my first foray into writing a generic method and maybe I've
bitten off more than I can chew.
My intent is to have a generic method that accepts a value name and
that value will be...
|
by: gagandeepgupta16 |
last post by:
I am having problem in parsing a string containing HTML Tags.
The situation is somewhat similar to the following as quoted in some other forum :
if (typeof DOMParser == "undefined") {
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |