#390 Export to Generic XML Format using XSL

Next full release
open
nobody
5
2015-07-30
2007-08-17
Kariem
No

The requested feature is outlined in [1]. After discussions on the users mailing list and a few pointers from coezbek regarding the plugin API I want to propose the following solution.

JabRef should export to bibtexml [2] an XML representation of the BibTeX content model. In a further customizable step the bibtexml document can be transformed via XSL to any other format.

Existing Implementation And Extension:

The existing bibtexml export in JabRef is based on the ExportFormat/layout system and should be substituted by the converter developed by bibtexml project. This converter is superior to the currently implemented approach in Jabref at different levels:
- uses a parser instead of a template system
- can correctly convert characters from BibTeX to XML
- has a dedicated project team: less maintenance necessary for the JabRef team

The Plugin API in the current version (rev 2186 in trunk) provides several extension points (EP):
- ImportFormat
- LayoutFormatter
- ExportFormatTemplate

Feature Implementation Details:

I propose an additional EP "ExportFormat" that takes a full database as input and implements/overrides the method performExport in ExportFormat. Additionally I propose the EP "ExportFormatProvider" that provides a list of ExportFormats and can be extended to allow for different XSL-based extensions.

Adding a new XSL-based extension would then be implemented in a way similar to the current ExportFormatTemplate EP.

[1] Discussion on users mailing list
http://sourceforge.net/mailarchive/forum.php?thread_name=704030750708090450j3c24272dq158485b66528addd%40mail.gmail.com&forum_name=jabref-users
[2] bibtexml
http://bibtexml.sourceforge.net/

Discussion

  • Kariem

    Kariem - 2007-08-17

    Logged In: YES
    user_id=1543559
    Originator: YES

    I have already implemented most steps outlined above and am preparing a patch contribution.

     
  • Kariem

    Kariem - 2007-08-18

    Logged In: YES
    user_id=1543559
    Originator: YES

    File Added: jabref_exporter_contribution.patch

     
  • Kariem

    Kariem - 2007-08-18

    Logged In: YES
    user_id=1543559
    Originator: YES

    File Added: jabref_xml_contribution.zip

     
  • Kariem

    Kariem - 2007-08-18

    Contributions that extend JabRef via the plug-in system to provide XML extension points and a basic exporter.

     
  • Kariem

    Kariem - 2007-08-21

    Logged In: YES
    user_id=1543559
    Originator: YES

    Updated patch against svn revision 2275.
    File Added: jabref_exporter_contribution.patch

     
  • Kariem

    Kariem - 2007-08-21

    Logged In: YES
    user_id=1543559
    Originator: YES

    Old patch was not overwritten. Deleting both old patches and uploading again.
    File Added: jabref_exporter_contribution.patch

     
  • Kariem

    Kariem - 2007-08-21

    Logged In: YES
    user_id=1543559
    Originator: YES

    Replacing patch with new patch generated via TortoiseSVN. Previous patches were created using Eclipse/Subclipse.
    File Added: jabref_exporter_contribution.patch

     
  • Kariem

    Kariem - 2007-08-21

    Logged In: YES
    user_id=1543559
    Originator: YES

    Corrected patch (again)
    File Added: jabref_exporter_contribution.patch

     
  • Kariem

    Kariem - 2007-08-21

    Contributions to JabRef core in order to support XML-based extensions

     
  • Kariem

    Kariem - 2007-08-29

    Logged In: YES
    user_id=1543559
    Originator: YES

    Additional change in ExportFormat that did not find its way into the last merge from this tracker item to svn.
    File Added: jabref_exporter_contribution_exportformat.patch

     
  • fdar

    fdar - 2015-07-22
    • Labels: --> xml
     
  • fdar

    fdar - 2015-07-22
    • Labels: xml --> xml, export
     
  • fdar

    fdar - 2015-07-23
    • Labels: xml, export --> xml, tocategorize, export
     
  • fdar

    fdar - 2015-07-30
    • labels: xml, tocategorize, export --> xml, Export, ToBeClosed?
    • Group: --> Next full release
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks