[Mozile] Editing xml files
Paul Everitt
paul at zeapartners.org
Mon Jun 26 15:37:32 EDT 2006
Thanks for doing this, James. I tried the .xml in the tests
directory this weekend and couldn't make it work. Perfect timing. :^)
I'm interested in trying to get XHTML 2 editing working next month.
--Paul
On Jun 25, 2006, at 12:25 AM, James A. Overton wrote:
> Two new XML+CSS editing demos are available. Right now they only
> work in Firefox 1.5:
>
> http://mozile.mozdev.org/0.8/demo/docbook.xml
> Demonstrates DocBook editing, using a simplified RNG schema for
> DocBook. (The full DocBook schema is quite complex and Mozile's RNG
> system can't handle it yet.)
>
> http://mozile.mozdev.org/0.8/demo/address.xml
> Demonstrates generic XML editing without an RNG schema. See the
> http://mozile.mozdev.org/0.8/demo/address.js file for the
> configuration. The most important new method is mozile.editAllText
> (rich) -- it enables a set of default editing commands. When "rich"
> is false, only basic text editing inside elements is allowed. When
> "rich" is true elements can be split, merged, and removed.
>
> In order to make this work I've completed the mozile.editElement(),
> editElement(), and editDocument() methods. You can now use these
> methods instead of setting the contentEditable attribute. To make
> sure that they will work properly, you probably want to wait until
> the document is loaded before calling them, using code like this:
> window.onload = function() {
> mozile.editElements("editor");
> }
> See http://mozile.mozdev.org/0.8/core/mozile.js for an example.
> The documentation hasn't been updated yet. I'll do that tomorrow.
>
> James
>
>
>
> On 2006-Jun-24, at 9:14 AM, James A. Overton wrote:
>> ...
>> I'll take some time today to see if I can get a proper XML
>> editing demo up and running. It won't do validation (which will
>> take a while longer) but it'll show you what's possible. I'll post
>> a followup when I have something.
>> ...
>>
>> On 2006-Jun-24, at 2:10 AM, Kenneth Dunbar wrote:
>>
>>> I am looking for a elegant way to allow some non-technical people
>>> to edit
>>> xml file, which feed a web site. Essentially setting up a simple
>>> content
>>> management system. I was hoping that Mozile would be the answer,
>>> however it
>>> will not allow me to edit an xml file that is presented with a
>>> xsl. Anybody
>>> know of a way around this? Or possibly a way to edit an xml file
>>> presented
>>> in some format other than one big long line? (which is what you
>>> see if you
>>> try to edit an xml file without an associated stylesheet.
>>>
>>> kd
>>>
>>>
>>> _______________________________________________
>>> Mozile mailing list
>>> Mozile at mozdev.org
>>> http://mozdev.org/mailman/listinfo/mozile
>>
>
>
>
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>
More information about the Mozile
mailing list