Is there an editor that produce automatic XML code, in the same manner
that Frontpage produce html.
Not really, because an editor cannot guess what you want. You have to
tell it. Even in FP (which produces *horrible* HTML), you have to show it
size and position and font and colour (etc)...it cannot guess.
If I open an editor and type "Lord of the Rings", how is it supposed to
know that I want to rewrite Tolkein's epic; or write an article about it;
or create a poster advertising the film?
You have to TELL an XML editor what you want, by specifying the names of
the element types, either manually (make-it-up-as-you-go) or
programatically using a DTD or Schema for the type of document you want.
In fact, my PhD research project has come up with at least a dozen things
that editors *could* do to make sensible guesses at what the author
wants, based on they keys they have pressed, but for currently unknown
reasons the majority have never been tested or implemented. There are
currently NO editors suitable for use by the non-XML-expert (see my paper
to Extreme Markup 2006 at
http://epu.ucc.ie/articles/extreme06).
How about the XSL stylesheet? Is there an automatic stylesheet generator
for the corresponding XML?
Other way round. There are some editors which (given a DTD/Schema and a
stylesheet) can display a fill-in template for a specific type of
document.
If I had an XML file containing <product code="ABC123"/> how on earth
would an "automatic stylesheet generator" know how I want it formatted?
Think again: XML *is* for automation, but only once you have given it the
first example.
Can you specify more exactly what you want to do?
///Peter