Hi

Try using the TO option if that is supported on your release (part of that 
piecemeal way in which the XML stuff was released).

That creates a record in &XML& somename.xml. You can also create a schema to go 
with it:

SELECT * FROM BOOK_TITLES TOXML TO 'titles' WITHSCHEMA;

Not sure whether UniQuery has caught up with those features on UDT yet.

Brian


Hi Charles,

Can't comment on Unidata but have done this in Universe and had to jump through 
some hoops which may assist:

1. Try setting your terminal type to Dumb so that you don't get escape 
sequences.
2. Watch out for form feeds and the like that get added anyway (post 10.1.18)

HTH

Brett

<[EMAIL PROTECTED]> wrote in message 
news:<[EMAIL PROTECTED]>..
.
> Hello.  I've been building and returning some simple pages from Unidata to
> PHP, but I now have a big complex report to adapt.  Is there someway that
> I can take advantage of the TOXML verb by CAPTURING the XML and returning
> it to the calling PHP?
>
> I tried something like this.
>
> ECMD = "SELECT ....  TOXML"
> EXECUTE ECMD CAPTURING RESULT  (where RESULT is returned to the calling
> PHP program.but got the error message:
> protocol error: , Invalid document end at col 32. Check the back end log
> for details.
>
> I suspect this is due to the marks separating the dynamic array elements.
> Will something like this work, or am I barking up the wrong tree?
>
> And where is the backend log?
>
> Charles Shaffer
> Senior Analyst
> NTN-Bower Corporation
> -------
> 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/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to