Feature #17

Can save as XML-with-identical-tree

Added by Jon C - about 5 years ago. Updated almost 5 years ago.

Status:New Start:
Priority:High Due date:
Assigned to:Cambell Prince % Done:

0%

Category:application Spent time: -
Target version:V2.0.x
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>

History

Updated by Cambell Prince almost 5 years ago

Milestone V0.3.0 (basic editing) deleted

Updated by Cambell Prince almost 5 years ago

This looks like a good candidate for the export functionality in V2.x

Also available in: Atom PDF