It is possible to embed XXE in your own JAVA application see
(http://www.xmlmind.com/xmleditor/_distrib/docs/dev/index.html) for more
information. But the problem with applets is that they run at the client
side, therefore an Applet runs in a secure sandbox protecting the applet
from using the clients resources like the hard disk and printer. So the
problem you will ran into is that you gone have problems loading and saving
the xml files.

What I do for editing and posting XML files back is a Servlet which set's
the content type to XML and tells the browser to not open the XML file it
self but download it. On the client side the XXE is started and the document
is loaded, I've wrote a custom command to send the XML file back as a post
action to a Servlet.

You might want to take a look at the web-start XXE maybe that comes handy
(http://www.xmlmind.com/xmleditor/_distrib/docs/poweruser/ar01s03s03.html)

Stefan Lenselink

Finalist IT Group
Java Specialists
-------------------------------------------------------------
Amsterdam, The Netherlands                          
Office:         +31 20 596 23 30
Fax:    +31 20 596 23 31
Web:    http://finalist.com
------------------------------------------------------------- 
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
-------------------------------------------------------------
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.


> -----Oorspronkelijk bericht-----
> Van: Patrice Bertrand [mailto:patrice.bertrand at smile.fr] 
> Verzonden: zaterdag 11 oktober 2003 0:09
> Aan: xmleditor-support at xmlmind.com
> Onderwerp: [XXE] Can XXE be an applet ?
> 
> 
> 
> Hello, 
> 
> Searching for "applet" on XMLMind web site, I found a message 
> posted back in august 2002 entitled "Can XXE be an Applet?", 
> and the answer at that time was "This is a planned feature 
> (before end of year)".
> 
> That is a year ago now, so I'm wondering what has become of 
> this feature ?
> 
> If not as an applet, then what would be the recommanded way 
> of integrating XML editing within the web-based back-office 
> of a CMS, for editing content as XML, then posting it back ?
> 
> Thank you.
> 
> --
> XMLmind XML Editor Support List
> xmleditor-support at xmlmind.com 
> http://www.xmlmind.com/mailman/listinfo/xmledi> tor-support
> 


Reply via email to