Changeset 442 for trunk/Include/Classes/System/Xml/XmlDeclaration.ab
- Timestamp:
- Feb 28, 2008, 11:06:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/Xml/XmlDeclaration.ab
r424 r442 14 14 Public 15 15 Sub XmlDeclaration( version As String, encoding As String, standalone As String, doc As XmlDocument ) 16 XmlLinkedNode( "", "xml", "", doc )16 XmlLinkedNode( XmlNodeType.XmlDeclaration, "", "xml", "", doc ) 17 17 This.version = version 18 18 This.encoding = encoding 19 19 This.standalone = standalone 20 20 End Sub 21 22 Protected 23 Override Function InnerXmlSupportedIndent( isIndent = False As Boolean, indent = 0 As Long ) As String 24 Return Ex"version=\q" + This.version + Ex"\q encoding=\q" + This.encoding + Ex"\q" 25 End Function 26 27 Override Function OwnerXmlSupportedIndent( isIndent = False As Boolean, indent = 0 As Long ) As String 28 Return "<?" + InnerXml + "?>" 29 End Function 21 30 End Class 22 31
Note:
See TracChangeset
for help on using the changeset viewer.