Anonymous user
XML/DOM serialization: Difference between revisions
→{{header|AutoHotkey}}: indentation
(→{{header|AutoHotkey}}: made serialize recursive) |
(→{{header|AutoHotkey}}: indentation) |
||
Line 32:
{
if %root%_%A_LoopField%_children
{
xml .= serialize(%root%_%A_LoopField%)
}
{
element := "<" . %root%_%A_LoopField%_name . ">"▼
element
element .=
xml .= element
}▼
}
▲ }
Return xml .= "</" . root%root0% . ">"
}
|