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] Any source of Plain-text stylesheets?

Colin Shapiro wrote:
> Hi,
> I'm not quite sure what you're asking for.  If you want a stylesheet that
> simply returns the text from an XML document and does nothing else, then I
> believe something as simple as:
> <xsl:template match="/">
>   <xsl:apply-templates/>
> </xsl:template>
> ...would suffice.  Unless you want it in some specific format?  Please
> elaborate a little further and I'm sure someone can help you more.

Yes for inlines. Not helpful for block elements?
lists become indented,
para's seperated by single line feed,
tables..... not easy.


That's my definition of 'plain text'.


Dave Pawson

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