Difference between revisions of "TXMLDocument/es"

From Free Pascal wiki
Jump to navigationJump to search
(Created page with "La clase TXMLDocument alberga datos XML , e.g. desde un fichero. Es hijo de TDOMDocument. == Declaración == Esto está extraido desde dom.pas <source> TXMLDocument = c...")
 
Line 10: Line 10:
 
     procedure SetXMLVersion(const aValue: DOMString);
 
     procedure SetXMLVersion(const aValue: DOMString);
 
   public
 
   public
     // These fields are extensions to the DOM interface:
+
     // Estos campos son extensiones al interface DOM:
 
     Encoding, StylesheetType, StylesheetHRef: DOMString;
 
     Encoding, StylesheetType, StylesheetHRef: DOMString;
  

Revision as of 14:41, 23 September 2016

La clase TXMLDocument alberga datos XML , e.g. desde un fichero. Es hijo de TDOMDocument.

Declaración

Esto está extraido desde dom.pas

TXMLDocument = class(TDOMDocument)
  private
    FXMLVersion: DOMString;
    procedure SetXMLVersion(const aValue: DOMString);
  public
    // Estos campos son extensiones al interface DOM:
    Encoding, StylesheetType, StylesheetHRef: DOMString;

    function CreateCDATASection(const data: DOMString): TDOMCDATASection; override;
    function CreateProcessingInstruction(const target, data: DOMString): TDOMProcessingInstruction; override;
    function CreateEntityReference(const name: DOMString): TDOMEntityReference; override;
    property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
  end;

Volver a fcl-xml resumen.

Ver también

xmlread, xmlwrite, TDOMDocument