Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML editor using only indentation for nesting?

From: leap@---.---
To: NULL
Date: 7/3/2005 9:37:00 PM
I'm very new to XML, and have only spent about
10 minutes looking for something I already know
I want. Pardon me if the availability of what
I want is common knowledge among XML cognoscenti.

My subject line doesn't really do justice to
my meaning.

What I want is an editor for XML that displays
XML with a lot less redundancy.

For example, the XML snippet as follows

=========================
<configuration-file>
  <section name="section1">
    <entry name="name1" value="value1"/>
    <entry name="name2" value="value2"/>
  </section>
  <section name="section2">
    <entry name="someothername" value="someothervalue"/>
  </section>
</configuration-file>
=========================

would be rendered in the hypothetical editor
pane somewhat like this:

=========================
configuration-file
  section name="section1"
    entry name="name1" value="value1"
          name="name2" value="value2"
  section name="section2"
    entry name="someothername" value="someothervalue"
=========================

Two points I'd like to make clear:

(1) I mean something *like* this, not *exactly*
    like this.  I'm flexible.  Really. ;-)

(2) I don't want to hear about how I should
    really read and write straight XML, how
    it's good for my soul, how I won't really
    understand XML if I don't read and write
    XML using standard syntactic conventions, how
    I'm trying to turn XML into some other
    language, or into a new language, or into
    COBOL, or whatever, or how existing XML
    editors, with their color-codings and
    input helpers, make reading and writing
    XML "as easy" as what I'm thinking of, after
    I "get used to it", etc., etc.,

So that you don't waste keystrokes explaining
the unnecessary: I studied computer science
at a decent school, have programmed in C, C++
Lisp, and various other languages, and my
career in software spans several decades,
including work in integrated circuit design
tools and format converters for them.  I even
hand a small hand in defining an electronic
design interchange format (EDIF 1.0) that was
somewhat somewhat in the spirit of XML,
though different in syntax.  In short, I may
be an XML newbie, but I'm far from a newbie
when it comes to many of the issues XML
seems to address.

Even from what little I've read about XML,
I can see that it affords considerable leverage.
It's just that I'm not sold on reading and
writing raw XML (except for self-tutorial
purposes) if I don't have to.  (If I *do*
have to, I'd appreciate knowing why, despite
my whiny and defensive disclaimer point #2,
above.)

This is just a request for information:
is there something like what I want out
there somewhere?  If there isn't, is there
a good reason why not?

If this is colossally boring issue for this
forum, but you still want to help me, a reply
by private e-mail would be greatly appreciated.

Thanks in advance,
Michael Turner
leap@g...



transparent
Print
Mail
Like It
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