Difference between revisions of "TXMLDocument/es"

From Lazarus 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...")
 
m (→‎Ver también: Fix formatting)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{TXMLDocument}}
 +
 
La clase TXMLDocument alberga datos XML , e.g. desde un fichero. Es hijo de [[TDOMDocument]].  
 
La clase TXMLDocument alberga datos XML , e.g. desde un fichero. Es hijo de [[TDOMDocument]].  
  
Line 4: Line 6:
  
 
Esto está extraido desde dom.pas
 
Esto está extraido desde dom.pas
<source>
+
<syntaxhighlight lang=pascal>
 
TXMLDocument = class(TDOMDocument)
 
TXMLDocument = class(TDOMDocument)
 
   private
 
   private
Line 10: Line 12:
 
     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;
  
Line 18: Line 20:
 
     property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
 
     property XMLVersion: DOMString read FXMLVersion write SetXMLVersion;
 
   end;
 
   end;
</source>
+
</syntaxhighlight>
  
 
Volver a [[fcl-xml]] resumen.
 
Volver a [[fcl-xml]] resumen.
  
[[Category:XML]]
+
== Ver también ==
  
== Ver también ==
+
* [[xmlread]]
[[xmlread]], [[xmlwrite]], [[TDOMDocument]]
+
* [[xmlwrite]]
 +
* [[TDOMDocument]]

Latest revision as of 03:47, 13 August 2020

English (en) español (es)

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