/    Sign up×
Community /Pin to ProfileBookmark

Copying the DOM into an XML object

Hello. I am struggling to copy the DOM i am working on into an xml object so I can send it using an AJAX request

Thus far my attempts haven;t worked out too well.

I’ve been trying to use some 3rd party libraries that claim to do exactly this but none of them have worked with FireFox.

I’ve tried E4x and sarissa and FireFox balked on both of them.

Can anyone suggest a good library that can help me save the DOM as XML?
Thanks a lot

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @darkling235 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.21,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...