sxml:sxml->xml

[email protected] (mike) Wed, 15 Oct 2003 23:14:37 -0400
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
I'm having trouble getting what I expect out of sxml->xml, or I'm having trouble understanding what I'm getting.  I'm using plt DrScheme, and I'm new to all of this.

Anyway, I have this as my input file:

<Person id="1111">
   <FirstName>Homer</FirstName>
   <LastName>Simpson</LastName>
   <EmptyElementHere/>
</Person>

I use SSAX:XML->SXML to parse this file, and it generates the following:
> (*TOP* (Person (@ (id 1111)) (FirstName Homer) (LastName Simpson) (EmptyElementHere)))

Now I use sxml:sxml->xml on the above sxml, and I get this:

> (< *TOP* () > (< Person ((  id =' 1111 ')) > (< FirstName () > Homer </ FirstName >) (< LastName () > Simpson </ LastName >) (< EmptyElementHere () />) </ Person >)

I kind of expected this to produce the same xml as my original input file.  Any ideas what I'm doing wrong or where my disconnect is?  Thanks.

mike

__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php