XMLVALIDATE()
From Recital Documentation Wiki
Revision as of 14:16, 20 March 2009 by Yvonnemilne (Talk | contribs)
Contents
XMLVALIDATE()
Class
XML
Purpose
Function to validate an XML file against its DTD file
Syntax
XMLVALIDATE(<XML filename>)
See Also
XMLCOUNT(), XMLCREATEDTD(), XMLFIRST(), XMLNEXT(), COPY TO, SELECT, FETCH, UPDATE
Description
The XMLVALIDATE() function will validate an Extensible Markup Language (XML) file against its Document Type Definition (DTD).
Parameters | Required | Default | Description |
---|---|---|---|
<XML filename> | Yes | None | The name of the XML file to validate. |
The XMLVALIDATE() function will return .T. for success and .F. if it fails.
Note: The XMLFORMAT setting determines whether Recital creates an accompanying DTD file when creating XML files. A DTD file is only created when XMLFORMAT is set to Recital.
Example
? xmlvalidate("sales.xml") .T.
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer