Feature #17

Can save as XML-with-identical-tree

Added by Jon C - 1231 days ago. Updated 1106 days ago.

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>

History

07/18/2007 07:17 AM - Cambell Prince

Milestone V0.3.0 (basic editing) deleted

07/19/2007 06:35 AM - Cambell Prince

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

Also available in: Atom PDF