Hi Mike,

I remembered today that we do have a GUI tool for generating HTML from 
the XML. Here you go, this is just install and click one button, much 
easier:
http://www.opensolaris.org/os/community/documentation/files/DocBookTrans-1.zip

Complete instructions are in /bin/userdocs, note that it requires the 
JRE 1.5 to run. It is an open source java app. under CDDL, so feel free 
to hack away.

Regards,
Michelle


Michelle Olson wrote:
> Hiya Mike,
>
> Thanks for testing out this procedure and sending your feedback! Much 
> appreciated. My replies inline.
>
> Mike Pogue wrote:
>   
>> Hi all...I'm trying to follow the xslt process described here:
>>
>> http://opensolaris.org/os/community/documentation/doc_collab/templates/
>>
>> and I ran into a couple of typos, and a problem.  I was wondering if 
>> somebody could help me through this!
>>
>> 1) Typo: on that page (URL above), "tar cfv docbook-xsl-1.70.0.tar" should 
>> probably be "tar xvf docbook-xsl-1.70.0.tar".
>>   
>>     
> fixed.
>   
>> 2) Stale link on this page: 
>> http://opensolaris.org/os/community/documentation/, the link called "PDF 
>> Tarball of the 2007/09/04 XML sources" doesn't point to a valid file. 
>> (Resource Not Found error).
>>   
>>     
> fixed.
>
> note: These PDFs are a bit out-of-date because we hit the site limit 
> (15Mb) this month and we're still sorting it out, stay tuned for PDFs of 
> the November sources.
>   
>> 3) Back to this page:  
>> http://opensolaris.org/os/community/documentation/doc_collab/templates/ .
>> When I try running the suggested command on the sample input file "xsltproc 
>> --nonet --xinclude -o task_template.html docbook/html/docbook.xsl 
>> task_template.xml", I get a bunch of errors that have this form:
>>
>> Olinks not processed: must specify a $target.database.document parameter
>> when using olinks with targetdoc and targetptr attributes.
>> Error: unresolved olink: targetdoc/targetptr = 
>> 'http://opensolaris.org/os/community/documentation/tools/'.
>>   
>>     
> Ah, right, good catch. I forgot about those targetptr/targetdoc attrs, 
> we use them on docs.sun.com to link to other books. You can remove the 
> attrs from the olink elements and that should fix it. I'll fix the 
> template and upload a new one--I need to do this anyway so we have a 
> template for SolBook XML.
>
> Keep the feedback coming, I really appreciate your help!
>
> Thanks,
> Michelle
>   
>> According to the Docbook docs, I need an olinkdb.xml file.  So, is there a 
>> suggested sample "target.database.document" around somewhere, to go along 
>> with the sample "task_template.xml"?
>>
>> Thanks,
>> Mike
>>  
>>  
>> This message posted from opensolaris.org
>> _______________________________________________
>> docs-discuss mailing list
>> docs-discuss at opensolaris.org
>>   
>>     
>
> _______________________________________________
> docs-discuss mailing list
> docs-discuss at opensolaris.org
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/docs-discuss/attachments/20071205/b21547f8/attachment.html>

Reply via email to