From simonh at wincom-consulting.co.uk Mon Oct 6 07:03:04 2008 From: simonh at wincom-consulting.co.uk (Simon Heath) Date: Mon, 6 Oct 2008 14:03:04 +0200 Subject: [Etna] Editing attributes with no content Message-ID: <002501c927ab$7ef0c910$4001a8c0@Vaio> Dear Anybody, I like etna, but it lack examples and that make it difficult to get into (shame nice looking XML editor) I want to edit XML like this Migration Director Examples but the property has no "content", so I cannot edit the attributes. I wrote a css where they are displayed but that is as far as I got. Any ideas? Thanks in advance, Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.cnx.rice.edu/pipermail/etna/attachments/20081006/1c87b927/attachment.htm From laurent.jouanneau at disruptive-innovations.com Mon Oct 6 08:19:48 2008 From: laurent.jouanneau at disruptive-innovations.com (Laurent Jouanneau) Date: Mon, 06 Oct 2008 15:19:48 +0200 Subject: [Etna] Editing attributes with no content In-Reply-To: <002501c927ab$7ef0c910$4001a8c0@Vaio> References: <002501c927ab$7ef0c910$4001a8c0@Vaio> Message-ID: <48EA1074.7070608@disruptive-innovations.com> Hello Simon, This is an issue you find in any document editor: you cannot edit things you don't see :-) But this is easy to fix with an extension for Etna. For this kind of problem, an extension should provide a dialog, or any other interface widget, which allows to modify things which are not visible in the document. Exactly like in MSWord/OpenOffice, with the dialog which allows you to edit properties of a document (title, description, keywords, user name etc..) Laurent Simon Heath wrote: > Dear Anybody, > > I like etna, but it lack examples and that make it difficult to get into > (shame nice looking XML editor) > > I want to edit XML like this > > > Migration Director Examples > > > > > > but the property has no "content", so I cannot edit the attributes. I > wrote a css where they are displayed but that is as far as I got. > > Any ideas? > > Thanks in advance, > Simon > > > ------------------------------------------------------------------------ > > _______________________________________________ > Etna mailing list > Etna at cnx.rice.edu > http://mailman.cnx.rice.edu/mailman/listinfo/etna -- Laurent Jouanneau, Software Engineer @ Disruptive Innovations SARL We build today the tools you are going to use tomorrow http://www.disruptive-innovations.com From simonh at wincom-consulting.co.uk Mon Oct 6 16:42:43 2008 From: simonh at wincom-consulting.co.uk (Simon Heath) Date: Mon, 6 Oct 2008 23:42:43 +0200 Subject: [Etna] Editing attributes with no content References: <002501c927ab$7ef0c910$4001a8c0@Vaio> <48EA1074.7070608@disruptive-innovations.com> Message-ID: <001701c927fc$7901e920$4001a8c0@Vaio> Hi Laurent, Thank you for the reply I was not expecting one to be honest. I really like the tool and want to include it in an open source project I am working on. I liked that it was not "techie" really all the the other tools are written for XML nerds not normal people. Anyway I see what you mean but I used css to make the properties appear, I understand they could not be edited but wanted to click them to be able to edit the attibutes. So anyway I am a java guy so updating the code will take me a while although I might get around to it one day :-) I have a work around that I add the in the schema but this also text to be added when I do not really want that. I think I am trying to use an editor to write an XML that is not really a document more a data definition. Thanks again, Simon ----- Original Message ----- From: "Laurent Jouanneau" To: "Simon Heath" ; Sent: Monday, October 06, 2008 3:19 PM Subject: Re: [Etna] Editing attributes with no content > Hello Simon, > > This is an issue you find in any document editor: you cannot edit things > you don't see :-) > > But this is easy to fix with an extension for Etna. For this kind of > problem, an extension should provide a dialog, or any other interface > widget, which allows to modify things which are not visible in the > document. Exactly like in MSWord/OpenOffice, with the dialog which allows > you to edit properties of a document (title, description, keywords, user > name etc..) > > Laurent > > > Simon Heath wrote: >> Dear Anybody, >> I like etna, but it lack examples and that make it difficult to get into >> (shame nice looking XML editor) >> I want to edit XML like this >> >> Migration Director Examples >> >> >> >> but the property has no "content", so I cannot edit the attributes. I >> wrote a css where they are displayed but that is as far as I got. >> Any ideas? >> Thanks in advance, >> Simon >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Etna mailing list >> Etna at cnx.rice.edu >> http://mailman.cnx.rice.edu/mailman/listinfo/etna > > > -- > Laurent Jouanneau, Software Engineer @ Disruptive Innovations SARL > We build today the tools you are going to use tomorrow > http://www.disruptive-innovations.com