From: Jirka Kosek Date: Thu, 21 Sep 2006 12:42:15 +0000 (+0000) Subject: Added support for profiling based on xml:lang and status attributes. X-Git-Tag: release/1.79.1~6^2~2493 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=273202c8fed5febb2e91a3b6ed91c4cb5939b43d;p=docbook-dsssl Added support for profiling based on xml:lang and status attributes. --- diff --git a/xsl/fo/param.ent b/xsl/fo/param.ent index 22dc361a9..aa3e51b3d 100644 --- a/xsl/fo/param.ent +++ b/xsl/fo/param.ent @@ -155,6 +155,7 @@ + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 8873eb9f8..bf5a5b85c 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -504,6 +504,7 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http: &profile.revisionflag; &profile.role; &profile.security; +&profile.status; &profile.userlevel; &profile.vendor; &profile.attribute; @@ -765,6 +766,7 @@ around all these parameters. + diff --git a/xsl/html/param.ent b/xsl/html/param.ent index af7d0f5f8..be00c6594 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -194,6 +194,7 @@ + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index 379d93bed..8efa8955d 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -367,6 +367,7 @@ url="http://docbook.sourceforge.net/projects/xsl/doc/tools/profiling.html">http: &profile.revisionflag; &profile.role; &profile.security; +&profile.status; &profile.userlevel; &profile.vendor; &profile.attribute; @@ -689,6 +690,7 @@ around all these parameters. + diff --git a/xsl/params/profile.status.xml b/xsl/params/profile.status.xml new file mode 100644 index 000000000..03b9af9f3 --- /dev/null +++ b/xsl/params/profile.status.xml @@ -0,0 +1,35 @@ + + +profile.status +string + + +profile.status +Target profile for status +attribute + + + + + + + + +Description + +Value of this parameter specifies profiles which should be +included in the output. You can specify multiple profiles by +separating them by semicolon. You can change separator character by +profile.separator +parameter. + +This parameter has effect only when you are using profiling +stylesheets (profile-docbook.xsl, +profile-chunk.xsl, …) instead of normal +ones (docbook.xsl, +chunk.xsl, …). + + + diff --git a/xsl/profiling/profile-mode.xsl b/xsl/profiling/profile-mode.xsl index 4d549e189..a0e927e3b 100644 --- a/xsl/profiling/profile-mode.xsl +++ b/xsl/profiling/profile-mode.xsl @@ -48,15 +48,15 @@ $conformance.content != '' or @conformance = ''"/> - + - + - + @@ -113,6 +113,17 @@ + + + + + + + + + + @@ -150,7 +161,7 @@ + and $status.ok and $userlevel.ok and $vendor.ok and $attribute.ok"> diff --git a/xsl/profiling/profile.xsl b/xsl/profiling/profile.xsl index 4f5029688..a7b8cb2fc 100644 --- a/xsl/profiling/profile.xsl +++ b/xsl/profiling/profile.xsl @@ -31,6 +31,7 @@ +