SQL uses single quotes for string values, not double quotes.
I'm not sure what you are asking. Transactions are for saving to disk. The methods I referred to just load the SDA into memory.
You can use an XML editor that can validate XML against a schema. You can get the schema via ##class(HS.SDA3.Container).ExportXMLSchemaAPI.
You can call GetNextSDA in a loop like ##class(HS.SDA3.Container).TestXMLParse does. But, I don't think this will catch datatype validation errors. To catch those, you could use ##class(%XML.Reader).Correlate.
Log in or create a new account to continue