From: "Steve Doiel" <nospam_steved94@attbi.com>
Subject: Re: XML generator
Date: Thu, 16 May 2002 01:55:59 GMT
Date: 2002-05-16T01:55:59+00:00 [thread overview]
Message-ID: <PkEE8.9680$gD6.15173@sccrnsc01> (raw)
In-Reply-To: 3CE2875B.F2A54C0D@despammed.com
"Wes Groleau" <wesgroleau@despammed.com> wrote in message
news:3CE2875B.F2A54C0D@despammed.com...
[snip]
> DOM is merely an allegedly language-independent
> specification of features that must be available
> in the internal representation. Nothing about
> writing out that I could see in the DOM spec.
>
Agreed.
> And XML/Ada docs say that you'd have to write
> callbacks to get anything out of a DOM tree.
>
Right. I just reviewed XML/Ada. While there are facilities to read a text
file containing XML into a DOM tree (input_sources.file) there are currently
no sources to write the DOM tree as a text file.
If you contact ACT for support I'm sure they would be more than happy to put
something together.
> What I am trying to do is avoid future bugs
> in a tool that currently writes XML as little
> independent pieces. It has no concept of nesting
> or of matching beginnings to ends, and so it's
> very easy for a change to unintentionally make
> the results invalid or malformed.
>
I don't know whether it would be an improvement over what you have, but
writing recursive routine to dump the content of a DOM tree producing a
valid XML file would (I think) be trivial.
SteveD
> --
> Wes Groleau
> http://freepages.rootsweb.com/~wgroleau
next prev parent reply other threads:[~2002-05-16 1:55 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
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 [this message]
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