Thanks for your help.  I'm not opening it with any editor.  I do the HTTP Call
to the URL the vendor gives me.
When I look at the "RESPDATA" (response data) just with a CRT during the
download, that's when I see the
structure I'm referring to.

(I have to remove the 'standalone' or remove the heading entirely in order for
the xdom parser
to even receive it.)

I remove line feeds after the XDOM parser has done it's thing before I write
to my U2 file.

What was throwing me was that I suddenly had to add the extra steps of
altering the heading and removing
line feeds.....

I've downloaded so many xml docs (and I do this all directly through UniBasic
using the extentions) that I
got used to seeing it a certain way.

Another difference I noted in the URL response header that worked w/o the
extra steps is
  content type text/xml and on the new URL it's shown as content type
text/html.

I can make it work.  It just worries me that I don't know exactly why I needed
to blank out the header
and manage line feeds......

thanks again,
Nancy

From: <Stuart.Boydell <at> spotless.com.au>
Subject: RE: [U2] Re: XML Issue
Newsgroups: gmane.comp.db.u2.general
Date: 2006-02-03 00:00:14 GMT (18 hours and 57 minutes ago)

   Nancy,

   I  am  presuming that you are opening the document using a text editor
   and then saving it to an operating system file, not a U2 file??

   XML is `structure' agnostic. The layout of an XML document when opened
   in  a  text  editor (for example) is unaffected by the encoding of the
   document.

   What  you  are  seeing is probably just the difference in how the line
   feeds are represented in your text editor.

   If  you  need  to manipulate the XML before writing it, use a specific
   XML  editor  like  XMLSpy.  Otherwise  a text editor like EditPlus can
   figure out your linefeeds and is also excellent for dealing with XML.

   If  you  want  to  view  the  document  with `pretty' layout, open the
   document with a web browser (Firefox, Internet Explorer etc).

   Cheers,

   Stuart
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to