wwxml::cSchemaUrl
Links in an external or internal schema. Use #SchemaName for internal schemas and a fully qualified or relative URL for external schemas.
The schemas must be compatible with the CreateDataStructureSchema's structure. The schema is attached to the table level node of the document not to the document root.
At the table level:
0
o.cSchemaUrl
Parameters
Default value: empty
Remarks
If a schema is embedded (nCreateDataStructureSchema=1) in CursorToXML this property is ignored and overriden by # + cSchemaName.
Example
oXML = CREATEOBJECT('wwXML')
** Cursor Example with embedded Schema/custom name SELECT * FROM TT_CUST INTO CURSOR TQuery
** Using an external Schema oXML.nCreateDataStructure = 0 && No schema embedded oXML.cschemaurl = "/wconnect/data.xml" lcXML = oXML.CursorToXML("customers","customer") ShowXML(lcXML)
See also
Class wwXML (High Level Methods)wwxml::cSchemaName
wwxml::nCreateDataStructure
© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic