Hi friends
I am using xmladapter class to create xml files and my following code
working fine.
LOCAL oXMLadapter as XMLAdapter
oXMLadapter = CREATEOBJECT("XMLAdapter")
WITH oXMLadapter
.AddTableSchema('nhi') && content to the xml file
.ForceCloseTag= .T. && maintain open and close tags .RespectCursorCP =
.T.
.UTF8Encoded = .T.
*--XML file will created according to XSD file (schema)
.XMLSchemaLocation = "C:\OpthalmologyVirtualConsultationPatientSchema.xsd"
.ToXML('c:\xx.xml',,.T.)
ENDWITH
and i've quick question i've a column in my cursor(nhi) which i dont want
see in final XML file.my schema file does not have that element in it but
still TOXML method still
create that column in final output file.
is there any way to exclude that column in final XML file ??
Thanks for ur ideas
--
cheers