Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML generation

From: Peter Laman <peter.laman@-----.--->
To: NULL
Date: 5/6/2008 12:51:00 AM
On May 5, 9:38 pm, "Joseph J. Kesselman" <keshlam-nos...@comcast.net>
wrote:
> I should say that, if you do need to generate XML source (probably not
> true in browser code, but may be true in the server or standalone apps):
> DOM Level 3 and later has  an optional load/save module. If you don't
> have that available you may be able to put the DOM through an XSLT
> stylesheet or JAXP serializer. Check the documentation for your
> environment to see what's available, or load up one of the available
> libraries.
>
> But the right place to begin is with the problem you're trying to solve.
> If you're working with a DOM in a brower, it would be somewhat unusual
> for you to need to see the XML via anything but the browser's "view
> source" or by looking at the source file some other way... except
> possibly as a debugging aid.

What I'm trying to do is to have the user edit a table's content which
comes from the server in XML format. The scripts parses the XML string
into DOM and manipulates the DOM as the user edits its content. The
aim is to minimize interaction with the server. So all the editing is
done locally using JavaScript. If the user confirms the edits made, I
want to post the changed XML code to the server and for that I want to
generate the XML text from the DOM document.


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent