OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Extend supported output formats


On 26.3.2012 22:31, gihan karunarathne wrote:

> I need to understand few thing about the project idea of "Extend support
> out put formats"[0].
> First, I also need to clarify the idea which is in the idea page[1];
> *“Output format packages” output by the DocBook style sheets would be
> easily consumable / installable by hosting applications.*
>  What does it mean by "easily consumable / installable" ?. Can you explain
> further ?.

Sure, for example output for Android should be application which can be
installed as any other application. Application will contain both simple
application for browsing content and content itself.

> As I understood, the main goal of this project is generating an another
> type of formats file (ex:Android,iPad) by a XSLTProcessor. So, in order to
> do that we want xsl style sheet which includes instructions and other
> directives that guide the processor in the production of the output
> document, right?

Yes, but you will need also some postprocessing step which will take
resulting HTML/CSS/image files and pack them together into single
package, sometimes together with simple application for viewing content.

> My problem was, is it possible to run a apk which is not encrypted (as like
> XHTML-xsl , webhelp-xsl ) and create the structure by using XSLT ?.

I never developed Android application myself, but I bet that you can put
any additional resources into .apk including HTML/CSS/images.

> Or do we have to create the common structure according to the Android
> source code and compile is using Android tools and embedded the DocBook
> documentation into apk application. Thus we can open it in Android. Also we
> can use ANT to configure the procedure.
> What method should I do ? Is there any other successful way to do it ?.
> 
> I also like to know, what should be the output of DocBook Android_xsl(a
> name that is made by me) should look like. I mean, what is final goal of
> this project look like.

Output (in case of Android) should be tool (probably Java written, maybe
Ant build file will be sufficient) which takes as an input DocBook XML
document and proudces Android application which can be installed and
after it is installed it can be used for browsing original DocBook
document including features like collapsible table of contents,
searchable index and full-text searching.
	
					Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]