2 Replies Latest reply on Mar 12, 2011 9:20 AM by 845488

    Berkeley DB XML putting problem and Saxon


      I am using Berkeley DB XML to develop a DITA based CMS in my graduation project. In this project I will use Apache Wicket Framework and Saxon processor to transform XML files to html files. Therefore, I have some questions:

      1- How to use DB XML with Saxon to transform XML files? Is there any method to retrieve XML files from DB XML with extention .xml? Is it necessary an XML file for Saxon transformation? Because the result set of DB XML is string, can I use string classes that includes XML contents with Saxon?

      2- I can not put DITA files to DB XML even though they are well-formed XML files because of some DTD tags. For example, I can not put this file to DB XML:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE topic
      PUBLIC "-//OASIS//DTD DITA Topic//EN"
      <topic id="shared">
      <title>Shared Content</title>
      <section id="footer">Reviewed by Snyder &amp; Snyder.</section>

      How can I put this file to the database?

      3- Is there any function at DB XML to see the original name of the XML file? (Not the name in DB XML)

      Thank you for everything,

      Edited by: 842485 on 08.Mar.2011 19:02