Thanks, Stuart.
SYSTEM(1017) seems to have a different function in UV10.0 - "1017 Returns the 
user's supplementary UNIX groups in a dynamic array."
Can't find any reference to xmapopen() - maybe new since 10.0 ?

Regards,
========================
David Norman
Senior Software Engineer - SA Ambulance Service

ICT Services
SA Health
Government of South Australia

Box 3, GPO
Adelaide, South Australia 5001
*+61 8 8274 0384
* fax +61 8 8271 4844
* david.nor...@health.sa.gov.au


-----Original Message-----
Message: 3
Date: Wed, 16 Jun 2010 23:38:57 -0700
From: "Boydell, Stuart" <stuart.boyd...@spotless.com.au>
To: U2 Users List <u2-users@listserver.u2ug.org>
Subject: Re: [U2] PrepareXML question
Message-ID:
        <7ee7790a950e094399b01520071826a20106b4a41...@sg1rd3xvs031.red003.local>
        
Content-Type: text/plain; charset="us-ascii"

Hi David,
Doesn't look like it. If you need to write the xml, write it to a type 19 file 
and use system(1017) to ensure the document doesn't get CRLFs converted to UV 
system marks.

   assign @true to system(1017)
   write xml on type19file,id
   assign @false to system(1017)
   z = preparexml('/.../':id,handle)

Otherwise, have a look at the xmapopen() function instead. This works pretty 
well.
Cheers,
Stuart


-----Original Message-----
We have been using PrepareXML (UV 10.0 HP-UX 11.11) etc in a BASIC program 
successfully for several years processing a file, but now also need to extract 
XML from a Web response gained from an HTTP submitRequest. This will of course 
appear in a variable, but PrepareXML seems to require the XML document to be in 
a physical file. Is there any way to persuade PrepareXML to use a variable 
instead of a file ??

*************************************
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to