Keith That's probably a side effect of the piecemeal approach with which XML functionality was added over the 10.1 - 10.2 releases. Originally you had to capture (e.g. using DIVERT.OUT or COMO) which added the initial annoying blank line. The TO and WITHSCHEMA options were added later.
Brian > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Keith Johnson (DSLWN) > Sent: 12 May 2008 03:26 > To: [email protected] > Subject: RE: [U2] Universe XML is not to standard > > Michael Rajkowski wrote > > "First, capturing the XML to a hold file is not the way > to get an XML file." > > Someone really ought to put this into the documentation! > Retrieve manual page 6-17 specifically states > > "Note: UniVerse does not store the XML document unless > you execute the COMO ON statement prior to executing the > RetrieVe statement. > If you execute COMO ON, the XML document is stored in the &COMO& file. > You can also direct the output to the &HOLD& file using > SETPTR, or the printer using LPTR." > > XMLEXECUTE does what I want, true; but why doesn't the > recommended, documented, simple-to-implement method work properly too? > Then there's the UTF-8 vs iso8859-1 issue that Stuart Boydell > identified > - another *gotcha* waiting for us. > Just tidy things up... there's no benefit to IBM in acting > like stRaining Data. > Regards, Keith (I really should turn the grumpy_old_%^$_mode > off) Johnson > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
