By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,396 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

Use XML to store configurations and convert to different file formats

P: n/a
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!!
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a


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/

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.