Hi, i am using OpenEdge 10 to create an XML file for use with Crystal Reports XI. I am using the following code to generate the XML file.
ASSIGN
cTargetType = "file"
cFile = "c:\shipperxml.xml"
lFormatted = YES
cEncoding = ?
cSchemaLocation = ?
lWriteSchema = YES
lMinSchema = NO.
v-buffer-handle = BUFFER tt-shipper:HANDLE.
retOK = v-buffer-handle:WRITE-XML(cTargetType, cFile,lFormatted, cEncoding, cSchemaLocation, lWriteSchema, lMinSchema).
My problem is to the naked eye it seems to create an XML file with the schema embedded but if i try to use it as a source in Crystal it says Schema is not defined in the XML file. I need to use embedded schema not a seperate schema file. Any suggestions would be greatly appreciated. As you might have guessed, I am new to the XML part of progress.
Thanks in advance for the help.
Jeff
ASSIGN
cTargetType = "file"
cFile = "c:\shipperxml.xml"
lFormatted = YES
cEncoding = ?
cSchemaLocation = ?
lWriteSchema = YES
lMinSchema = NO.
v-buffer-handle = BUFFER tt-shipper:HANDLE.
retOK = v-buffer-handle:WRITE-XML(cTargetType, cFile,lFormatted, cEncoding, cSchemaLocation, lWriteSchema, lMinSchema).
My problem is to the naked eye it seems to create an XML file with the schema embedded but if i try to use it as a source in Crystal it says Schema is not defined in the XML file. I need to use embedded schema not a seperate schema file. Any suggestions would be greatly appreciated. As you might have guessed, I am new to the XML part of progress.
Thanks in advance for the help.
Jeff