Ignore:
Timestamp:
Mar 3, 2008, 8:38:25 PM (17 years ago)
Author:
dai
Message:

XmlDocument.Saveメソッドを実装。
Xml文書生成処理を改良。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/Xml/XmlDeclaration.ab

    r442 r451  
    2626
    2727    Override Function OwnerXmlSupportedIndent( isIndent = False As Boolean, indent = 0 As Long ) As String
    28         Return "<?" + InnerXml + "?>"
     28        Dim crlfStr = ""
     29        If isIndent Then
     30            ' インデントをサポートする場合
     31            crlfStr = Ex"\r\n"
     32        End If
     33        Return "<?" + InnerXml + "?>" + crlfStr
    2934    End Function
    3035End Class
Note: See TracChangeset for help on using the changeset viewer.