Feature #17
Can save as XML-with-identical-tree
| Status: | New | Start: | ||
| Priority: | High | Due date: | ||
| Assigned to: | Cambell Prince | % Done: | 0% |
|
| Category: | application | Spent time: | - | |
| Target version: | V1.01 | |||
| Resolution: |
Description
Any schema and any well-formed SFM file (whether valid or not) can be used to Save As XML. The resulting XML would have the exact same tree structure as the SFM file, according to the schema, and (unlike SFM) it would be indented to reflect its structure. Of course, if the file is completely invalid according to that schema, the XML file would be completely flat.
For example, using any MDF schema to export to XML, the following file would produce completely flat XML.
\mylex bebas
\mysn 1
\mypos adj
\myge free
\mysn 2
\mypos adj
\myge gratis
\mylex aman
\myge safe
<records>
<mylex>bebas</mylex>
<mysn>1</mysn>
<mypos>adj</mypos>
<myge>free</myge>
<mysn>2</mysn>
<mypos>adj</mypos>
<myge>gratis</myge>
<mylex>aman</mylex>
<myge>safe</myge>
</records>