-----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(_at_)kosek(_dot_)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 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-----
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--