Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > documentation tool for XSLT which generates offline text formats

Reply
Thread Tools

documentation tool for XSLT which generates offline text formats

 
 
Christian
Guest
Posts: n/a
 
      04-01-2008
Hi,

are there any documentation tools (like doxygen) for XSLT which could
generate ``offline''-documentation formats like TXT, LaTeX, PDF, ODF etc. ?
Documentation tools like XSLTDOC or XSLDOC generating HTML only.

Thanks Christian.
 
Reply With Quote
 
 
 
 
Joseph J. Kesselman
Guest
Posts: n/a
 
      04-01-2008
The obvious one would be an XSL-FO processor, which is what XSLT was
originally designed to prepare data for. Apache's version, FOP, can
produce PDFs. Depending on your input, there may already be an XSLT
stylesheet which produces FOP markup that you'd be happy with, or at
least that you can use as a starting point; if not, you get to write
your own XSLT for the purpose.

There have been various XML-to-LaTeX approaches implemented; the most
common one is to come up with an XML syntax for LaTeX markup and then
run a postprocessor which renders that into standard LaTeX.
Theoretically you could go direct to LaTeX with an appropriate
stylesheet, using text output mode. Again, if there isn't already an
XSLT stylesheet for your input document type which does what's needed,
you get to write your own.

 
Reply With Quote
 
 
 
 
Peter Flynn
Guest
Posts: n/a
 
      04-02-2008
Christian wrote:
> Hi,
>
> are there any documentation tools (like doxygen) for XSLT which could
> generate ``offline''-documentation formats like TXT, LaTeX, PDF, ODF etc. ?
> Documentation tools like XSLTDOC or XSLDOC generating HTML only.


I haven't seen one (but then I haven't been looking) so I think you'll
need to write your own: if you're starting from their HTML, rewriting
their code to produce LaTeX probably isn't difficult, depending on the
quality of their code. The advantage of going via LaTeX rather than via
FO is that you get to make use of LaTeX's foreknowledge of document
smarts which can be a significant saver in time and money, and a big
jump up in quality. The downside is you need to learn LaTeX properly to
do it.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is MKV formats better than other video formats? helena68 Software 3 11-26-2008 07:57 AM
Detailed Analysis of the file formats for M$ Office 2007 -"Microsoft Office XML Formats? Defective by design" Jonathan Walker NZ Computing 1 08-26-2007 03:43 AM
CyberLink Supports UDF 2.5/2.6 Formats For Blu-ray and HD DVD next generation of disc formats. Allan DVD Video 0 07-15-2005 07:43 PM
XSLT generates values, but not tags wickedbomb XML 2 07-14-2005 02:20 PM
Open-source tool which generates Java Value objects ? writeOnceDebugEverywhere() Java 5 03-23-2005 07:24 PM



Advertisments