Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] xml to pdf
- Date: Tue, 2 Oct 2007 18:17:43 +0900
- From: "Michael(tm) Smith" <smith@example.com>
- Subject: Re: [tlug] xml to pdf
- References: <4701CD50.4060202@dcook.org>
- User-agent: Mutt/1.5.16 (2007-06-11)
Darren Cook <darren@example.com>, 2007-10-02 13:47 +0900: > I've got an xml file, of API documentation, and I need to make it into a > pdf so it looks like a typical software manual. The XML is not of a > standard format (as far as I know), and has no DTD, and the lower level > elements have embedded HTML (that isn't in CDATA blocks). > > I'd welcome advice as to which path I should go down. The main choices > seem to be: > 1a. Make a style sheet and view in firefox then print to PDF. > 1b. Use XSL to convert to HTML (then to PDF using firefox) > 2a. Some open source program > 2b. Some commercial program > > (Oh, it is in Japanese, in UTF-8, but hopefully that is no longer a factor.) You could create a CSS stylesheet for it, then use Prince[1] to create a PDF. [1] http://www.princexml.com/ With the method of viewing in Firefox and then printing, I don't think you'll have any control over the page breaks. Prince supports the page-break-after and page-break-before CSS properties and a bunch of other CSS properties that relate to paged media, so I think you'll get better-looking output using Prince. --Mike -- Michael(tm) Smith http://people.w3.org/mike/ http://sideshowbarker.net/Attachment: smime.p7s
Description: S/MIME cryptographic signature
- References:
- [tlug] xml to pdf
- From: Darren Cook
Home | Main Index | Thread Index
- Prev by Date: [tlug] Old PDA giveaway
- Next by Date: [tlug] NEWS: New Partnership Extends Linux Foundation's Work With Japanese Developers
- Previous by thread: Re: [tlug] xml to pdf
- Next by thread: Re: [tlug] xml to pdf: Provenance
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links