Caché Class Definition Reference
XData Blocks
[Home] [Back] 
InterSystems: The power behind what matters   

Describes the structure of an XData block.
An XData block is a named unit of data that you include in a class definition, typically for use by a method in the class. Most frequently, it is a well-formed XML document, but it could consist of other forms of data, such as JSON.
An XData block has the following structure:
/// description XData name [ keyword_list ]  { data }
XData Contents [ XMLNamespace="" ]
  <page xmlns="" title="HelpDesk">
    <html id="title">My Title</html>
      <pane paneName="menuPane"/>
      <spacer width="20"/>
      <vgroup width="100%" valign="top">
        <pane paneName="tablePane"/>
        <spacer height="20"/>
        <pane paneName="detailPane"/>
See Also
Help us improve this page

Copyright © 1997-2020 InterSystems Corporation, Cambridge, MA