Page 1 of 1

XML and Namespace

PostPosted: Fri Apr 20, 2012 8:11 pm
by dekberg
I am trying to create an XML BOD with multiple Namespaces.
<SyncSCSItem xmlns="http://www.af.mil/oagis/sup" xmlns:oa="http://www.openapplications.org/oagis" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.af.mil/oagis/sup SyncSCSItem.xsd">


I am not sure if this can be done or not. I have Cobol Enterprise 4.2. I have searched different manuals and have not seen any examples of this for COBOL.

Re: XML and Namespace

PostPosted: Fri Apr 20, 2012 8:22 pm
by BillyBoyo
Can you just try it? What are you going to do if you can't use Cobol?

Re: XML and Namespace

PostPosted: Fri Apr 20, 2012 8:27 pm
by dekberg
I have tried it, the XML GENERATE statement only allows me to use one NAMESPACE. We do this from a Mid-Tier now and are trying to see if we can do the same thing on the Mainframe with the new 4.2 COBOL.

Re: XML and Namespace

PostPosted: Fri Apr 20, 2012 9:05 pm
by BillyBoyo
It's maybe a question for IBM then, or a forum wider than this one (which is for Beginners and Students), or both, if you search for a coffee with IBM Cobol XML?