revXMLAddDTD |
Type | command |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | revXMLAddDTD <treeID>, <DTDText>
|
Associations | xml library |
Summary | Adds an internal DTD to an existing XML tree.
|
Introduced | 2.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Parameters | Name | Type | Description |
---|
treeID | | The number returned by the revXMLCreateTree or
revXMLCreateTreeFromFile function when you created the XML tree.
|
DTDText | | A string that makes up a valid Document Type Definition.
|
|
Example | revXMLAddDTD 12,URL "file:ExampleDTD.txt"
revXMLAddDTD theCurrTree,the templateDTD of me
|
Values | Name | Type | Description |
---|
The result | | If the revXMLAddDTD command encounters an error, the result is set
to an error message beginning with "xmlerr".
|
|
Related | Command: revXMLAppend
Function: revXMLValidateDTD, result, revXMLCreateTree, revXMLCreateTreeFromFile
Glossary: Standalone Application Settings, standalone application, DTD, XML tree, command, LiveCode custom library
Library: XML library
|
Security | disk |
Description | Use the revXMLAddDTD command to specify the format of an XML tree.
Important: The revXMLAddDTD command is part of the
XML library. To ensure that the command works in a
standalone application, you must include this
custom library when you create your
standalone. In the Inclusions pane of the
Standalone Application Settings window, make sure the "XML"
checkbox is checked.
|
Tags | text processing |