comp.lang.ada
 help / color / mirror / Atom feed
Subject: Re: XML ada
Date: Wed, 26 Mar 2003 20:43:06 +0100
Date: 2003-03-26T20:43:06+01:00	[thread overview]
Message-ID: <3e8202cb$1@epflnews.epfl.ch> (raw)
In-Reply-To: 3e81cd83$1_1@mk-nntp-1.news.uk.worldonline.com

Andy Ingram wrote:
> I have just started using XML/Ada.
> I have been playing around and have managed to get to grips with nodes and
> node lists to get a 'list' of elements with the same tag.  However i am now
> trying to get the data within these tags.  I am attempting this by using
> DOM.Core.Character_Datas.Data and passing it a node (obtained from my
> nodelist).  This returns a DOM String.  How do i then use this DOM String as
> a 'normal' string? I.e how do i output this to the display or store it in a
> string for later use?

   The format of a DOM string should be UTF-16 following the standard 
specification. This is not the same format that Ada uses for String 
characters.

   If you want to print a DOM string with XML Ada, use the Print_String 
function in Dom.Core.Nodes.


Rodrigo




  reply	other threads:[~2003-03-26 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-26 15:57 XML ada Andy Ingram
2003-03-26 19:43 `  [this message]
2003-03-27  4:53 ` Steve
2003-03-28  3:29   ` Steve
2003-04-08 11:54     ` darren.i
replies disabled

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