From: <Mat...@i2...> - 2001-06-21 19:03:53
|
On 06/21/2001 02:59:25 PM "Jeff Rancier" wrote: > > Check out: > > http://xae.sunsite.dk and > http://xslt-process.sourceforge.net/index.php I was thinking more along the lines of opening an XML file and having ECB display a list of tagnames in the Methods window, on which I could click and go to that tag in the edit window. Neither of these two projects seem to have written a "plugin" for semantic which enables it to parse xml files in a similar way to which it parses java or c++ files. Matt |
From: Ovidiu P. <ov...@xe...> - 2001-06-22 02:31:26
|
On Thu, 21 Jun 2001 15:03:43 -0400, Mat...@i2... wrote: > On 06/21/2001 02:59:25 PM "Jeff Rancier" wrote: > > > > Check out: > > > > http://xae.sunsite.dk and > > http://xslt-process.sourceforge.net/index.php > > I was thinking more along the lines of opening an XML file and having ECB > display a list of tagnames in the Methods window, on which I could click > and go to that tag in the edit window. Neither of these two projects seem > to have written a "plugin" for semantic which enables it to parse xml > files in a similar way to which it parses java or c++ files. How would see such an user interface? One possibility I see right now is to combine semantic with speedbar or ECB, and show in the window a hierarchical view of the XML document. I'm a little worried though that for large documents this gets easily out of control. Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |
From: John L. U. I. <ut...@si...> - 2001-06-22 18:14:03
|
I have an idea..... On Thu, 21 Jun 2001, Ovidiu Predescu wrote: > On Thu, 21 Jun 2001 15:03:43 -0400, Mat...@i2... wrote: > > > I was thinking more along the lines of opening an XML file and having ECB > > How would see such an user interface? > > One possibility I see right now is to combine semantic with speedbar > or ECB, and show in the window a hierarchical view of the XML > document. I'm a little worried though that for large documents this > gets easily out of control. use selective display! as in 'M2Cx$' if the doc was over a certain size, you could just invoke selective display on startup. i think that this is a really neat idea and would create a tool that would hold it's own against any number of expensive proprietary tools. * (note that i actually think that it does hold it's own already, but this might make it significantly more intuitive for the typical new xml/xslt user) * |
From: Ovidiu P. <ov...@cu...> - 2001-06-24 05:03:20
|
Hi John, On Fri, 22 Jun 2001 11:15:37 -0700 (PDT), "John L. Utz III" <ut...@si...> wrote: > I have an idea..... > > On Thu, 21 Jun 2001, Ovidiu Predescu wrote: > > > On Thu, 21 Jun 2001 15:03:43 -0400, Mat...@i2... wrote: > > > > > I was thinking more along the lines of opening an XML file and having ECB > > > > How would see such an user interface? > > > > One possibility I see right now is to combine semantic with speedbar > > or ECB, and show in the window a hierarchical view of the XML > > document. I'm a little worried though that for large documents this > > gets easily out of control. > > use selective display! as in 'M2Cx$' if the doc was over a certain size, > you could just invoke selective display on startup. > > i think that this is a really neat idea and would create a tool that would > hold it's own against any number of expensive proprietary tools. > > * (note that i actually think that it does hold it's own already, but this > might make it significantly more intuitive for the typical new xml/xslt > user) * I'm not familiar with the notion of selective display. Can you please elaborate on it a little bit? From what I saw so far, there are at least three ways to represent an XML document. One is the XML tree representation, which shows the nesting of the XML elements in a collapsible tree. This has the advantage of quickly navigating through your document. The disadvantage is when the document is either large or has a deep nesting of XML elements, in which case navigating the tree becomes really difficult. Another representation is the tabular representation, where you show repetitive XML elements as a table. Clicking on an cell in the table expands the XML element further, possibly in another table. This has an obvious advantage for simple XML documents where the data is repetitive and the XML hierarchy is not deep. The disadvantage is that if your data is not of this kind, the table view tends to expand horizontally and vertically quite a bit. The other well known representation is of course the plain XML document, which personally I prefer. I like the folding of XML elements provided by PSGML better than showing them in a tree or in a table, but this is my preference. The element navigation provided by PSGML is also very nice. However other people might find the tree and tabular representation better than this one. Is it worthwhile trying to implement something like the first two views? The tree view might be simple to do, but the tabular view seems quite complex and not very well suited for Emacs. Regards, -- Ovidiu Predescu <ov...@cu...> http://orion.nsr.hp.com/ (inside HP's firewall only) http://www.geocities.com/SiliconValley/Monitor/7464/ (GNU, Emacs, other stuff) |