comp.lang.ada
 help / color / mirror / Atom feed
From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: XML generator
Date: Thu, 16 May 2002 10:30:26 -0400
Date: 2002-05-16T14:30:28+00:00	[thread overview]
Message-ID: <ac0fq4$isb$1@nh.pace.co.uk> (raw)
In-Reply-To: 3CE2DF3C.682F07C4@despammed.com

O.K. but I'm not sure what you expect to find that will write out your XML
for you. The XML, presumably, is some reflection of the "info in memory"
part - which could be almost anything. I could imagine some version of:

--> ASIS --> DOM --> XML file

but the XML specification of the DOM didn't require some kind of output (or
input, for that matter. Big mistake IMHO) What you might build is:

--> ASIS --> DOM --> custom tree walk --> XML file

because that at least gives you a structure to work with. I just don't know
of any tools that do that for you already. (I've been tinkering with this a
bit, but don't have anything complete to offer. Maybe someone else did an
extension of the Ada XML stuff from: http://libre.act-europe.fr/xmlada/ but
it is unfortunately not part of the XML DOM specification.)

MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas    www.pacemicro.com
Enabling the digital revolution
e-Mail:    marin.condic@pacemicro.com


"Wes Groleau" <wesgroleau@despammed.com> wrote in message
news:3CE2DF3C.682F07C4@despammed.com...
> Right.  But I need to write or find code that
> goes the other way--instead of loading the XML
> into a memory based DOM model, I need to write
> the XML to a file.
>
> To be more specific, I have to do:
>
> --> ASIS --> info in memory --[a]--> XML file
>
>
> but SAX and XML/Ada offer
>
> XML file --> DOM model in memory --> user-written code
>
> so I am looking for code that does transformation [a]
> in a more logical way than what I already have.
>
> --
> Wes Groleau
> http://freepages.rootsweb.com/~wgroleau





  parent reply	other threads:[~2002-05-16 14:30 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13 21:23 XML generator Wes Groleau
2002-05-13 21:51 ` Ingo Marks
2002-05-13 22:00   ` Wes Groleau
2002-05-14 16:57     ` Wes Groleau
2002-05-15  2:59       ` Steve Doiel
2002-05-15 16:05         ` Wes Groleau
2002-05-15 16:44           ` Pascal Obry
2002-05-15 16:59             ` Marin David Condic
2002-05-15 22:20             ` Wes Groleau
2002-05-16 13:50               ` news.realtime.net
2002-05-16 14:30               ` Marin David Condic [this message]
2002-05-17  1:15                 ` Aidan Skinner
2002-05-17 13:40                   ` Marin David Condic
2002-05-18  2:32                     ` Aidan Skinner
2002-05-20 14:38                       ` Marin David Condic
2002-05-20 16:20                       ` Stephen Leake
2002-05-20 17:11                       ` Wes Groleau
2002-05-20 18:13                         ` Marin David Condic
2002-05-21 14:59                           ` Pascal Obry
2002-05-21 17:43                             ` Marin David Condic
2002-05-17 13:47                 ` Wes Groleau
2002-05-22  9:43                   ` Georg Bauhaus
2002-05-22 17:31                     ` Wes Groleau
2002-05-16  1:55           ` Steve Doiel
2002-05-16  9:49             ` Emmanuel Briot
2002-05-16 17:09             ` Wes Groleau
2002-05-19  2:54       ` David Botton
2002-05-19 20:26         ` achrist
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox