General information
Category:
Internet applications
Title:
Xml, schemas, data binding
I am developing xml based Web appl. This appl. uses tables (and other controls) bound to xml data.
CURSORTOXML('', lcFullPath, 1, 512, 0) produces XML which is OK for binding mechanism to show in html tables. Unfortunately XMLTOCURSOR needs a schema to produce an exact cursor structure. Well, CURSORTOXML('', lcFullPath, 1, 512, 0, '1') will create such xml file with an inline schema but binding mechanism refuses to show xml probably because of an extra info included in the xml file. I tried to use an external schema. Still xml file has an extra line on the top pointing to the external schema file. I can try to rebuild xml output on the fly and remove schema data and then when xml comes back from the browser add removed schema info back to incoming xml stream but I hope there is a better solution.
Has someone came across one?
Thanks Mark
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only