[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Docbook profiling function in xslt?


Subject: Re: [xsl] Docbook profiling function in xslt?
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Mon, 21 Oct 2013 21:05:18 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 21.10.2013 4:54, Russell Urquhart wrote:
> Does anyone know if there is an xslt function/fragment already
> written that performs the same function as the DocBook profiling
> function. (i.e. parse throught the source file and send to the
> output, those elements that have an attribute(s) value matching
> those on a supplied parameter list or those who's attribute value
> is null.

Sure, you can use directly code from DocBook stylesheets:

http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl

or if you can use XSLT 2.0:

https://github.com/docbook/xslt20-stylesheets/blob/master/xslt/base/preprocess/2-profile.xsl

			Jirka

- -- 
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@xxxxxxxx      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 rep.
- ------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlJleu4ACgkQzwmSw7n0dR6WPgCdGjYJSw0Ap5zGdxIVbe+yAiix
QbwAnRR7J2ClUVtv4XlACG6ZOIIvxoql
=mgEy
-----END PGP SIGNATURE-----


Current Thread
Keywords