Use XML to store configurations and convert to different file formats

Discussion in 'XML' started by Matt, Jul 5, 2004.

  1. Matt

    Matt Guest

    I want to use XML to store a document's configurations. And I can convert
    to different file format by using XSL. For example, convert to HTML,
    PDF, or RTF. But the contents are all stored in single XML file.

    Are they any documentation management tools/web site that help people do that?


    please help. thanks!!
     
    Matt, Jul 5, 2004
    #1
    1. Advertisements

  2. Re: Use XML to store configurations and convert to different fileformats

    Matt wrote:

    > I want to use XML to store a document's configurations. And I can convert
    > to different file format by using XSL. For example, convert to HTML,
    > PDF, or RTF. But the contents are all stored in single XML file.
    >
    > Are they any documentation management tools/web site that help people do that?


    You can use XSLT to convert XML to HTML and to XSL-FO which can then be
    converted to PDF.
    The XSLT 1.0 documentation is at
    http://www.w3.org/TR/xslt
    you can find XSLT processors at
    http://saxon.sourceforge.net/
    http://xml.apache.org/xalan-j/index.html
    http://xml.apache.org/xalan-c/index.html
    and several other places.
    A free FO formatter is available from
    http://xml.apache.org/fop/index.html

    If you use an existing document type for your configuration data there
    might well be existing solutions/stylesheets to transform to HTML and/or
    PDF but I don't know a DTD for that, try a search engine.


    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
     
    Martin Honnen, Jul 5, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. unni
    Replies:
    0
    Views:
    484
  2. Eric
    Replies:
    4
    Views:
    1,213
  3. aks1232001

    How to convert image formats?

    aks1232001, Mar 30, 2006, in forum: C Programming
    Replies:
    5
    Views:
    662
    SM Ryan
    Mar 31, 2006
  4. John Kotuby
    Replies:
    9
    Views:
    477
    Mark Rae
    May 17, 2007
  5. Jim Mitten
    Replies:
    3
    Views:
    564
    Joseph Kesselman
    Jan 29, 2008
  6. Richard Hollenbeck

    convert multiple date formats and compare those dates

    Richard Hollenbeck, Feb 11, 2004, in forum: Javascript
    Replies:
    4
    Views:
    301
    Dr John Stockton
    Feb 12, 2004
  7. Erik Wasser
    Replies:
    5
    Views:
    816
    Peter J. Holzer
    Mar 5, 2006
  8. thomas
    Replies:
    13
    Views:
    829
    Juha Nieminen
    Mar 28, 2012
Loading...