From: Michael Smith Date: Tue, 17 Jul 2007 13:49:03 +0000 (+0000) Subject: Make lib.xweb valid against our litprog grammar. X-Git-Tag: release/1.79.1~6^2~1942 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdb278e2233a1d095fef52b4d60edcc94955839f;p=docbook-dsssl Make lib.xweb valid against our litprog grammar. --- diff --git a/xsl/lib/lib.xweb b/xsl/lib/lib.xweb index 584681132..e763273a2 100644 --- a/xsl/lib/lib.xweb +++ b/xsl/lib/lib.xweb @@ -49,7 +49,13 @@ Description - + Given a string, the dot.count + template returns the number of dot/period characters in the + string. This template is useful, for example, when testing the + nesting level of nested inline markup (for nested emphasis, + quotations, etc.). + + @@ -66,7 +72,7 @@ - + @@ -81,7 +87,12 @@ Description - + Given a string, the copy-string + template creates n copies of the + string, when the value of n is + given by the count parameter. + + @@ -104,7 +115,7 @@ - + @@ -124,7 +135,7 @@ occurances of target in string with replacement and returns the result. - + @@ -149,7 +160,7 @@ with replacement and returns the result. - + @@ -172,7 +183,7 @@ document, or the empty string if it is not. or #xpointer(id('foo')), otherwise it returns the empty string. - + http://... @@ -187,7 +198,7 @@ the empty string. - + @@ -207,7 +218,7 @@ the empty string. unqualified length ("20" for "20pt") from a dimension. - + @@ -231,7 +242,7 @@ unqualified length ("20" for "20pt") from a dimension. - + @@ -250,7 +261,7 @@ unqualified length ("20" for "20pt") from a dimension. units ("pt" for "20pt") from a length. If no units are supplied on the length, the defauilt.units are returned. - + @@ -273,7 +284,7 @@ length, the defauilt.units are returned. - + @@ -293,7 +304,7 @@ qualified length from a dimension. If an unqualified length is given, the default.units will be added to it. - + @@ -331,7 +342,7 @@ the default.units will be added to it. - + @@ -362,7 +373,7 @@ which is initially 10 (for 10pt). - + @@ -409,7 +420,7 @@ which is initially 10 (for 10pt). - + @@ -436,7 +447,7 @@ attribute that it finds. Presented with processing instructions that contain badly formed pseudo-attributes (missing or unbalanced quotes, for example), the template may silently return erroneous results. - + filename @@ -470,7 +481,7 @@ for example), the template may silently return erroneous results. - + @@ -489,7 +500,7 @@ for example), the template may silently return erroneous results. the lookup.key template extracts the value associated with a particular key. - + @@ -517,7 +528,7 @@ with a particular key. - + @@ -536,7 +547,7 @@ with a particular key. absolute path from the root of the tree to the current element node. - + @@ -560,7 +571,7 @@ absolute path from the root of the tree to the current element node. - + @@ -580,7 +591,7 @@ that has been transformed so that it can safely be output as an XML comment. Internal occurrences of "--" will be replaced with "- -" and a leading and/or trailing space will be added to the string, if necessary. - + @@ -596,7 +607,7 @@ trailing space will be added to the string, if necessary. - + @@ -614,7 +625,7 @@ trailing space will be added to the string, if necessary. The comment-escape-string.recursive template is used by comment-escape-string. - + @@ -630,7 +641,7 @@ by comment-escape-string. - + @@ -647,7 +658,7 @@ by comment-escape-string. Given a text node, this function trims leading and trailing whitespace from it and returns the trimmed contents. - + @@ -701,7 +712,7 @@ whitespace from it and returns the trimmed contents. - + @@ -730,7 +741,7 @@ and preserving the delimiters as text nodes between the tokens. differs only in that it preserves the delimiters instead of discarding them. - + @@ -788,7 +799,7 @@ and preserving the delimiters as text nodes between the tokens. - + @@ -843,7 +854,7 @@ and preserving the delimiters as text nodes between the tokens. class="attribute">string attributes. - + @@ -870,7 +881,7 @@ and preserving the delimiters as text nodes between the tokens. - + @@ -928,7 +939,7 @@ and preserving the delimiters as text nodes between the tokens. class="attribute">string attributes. - + @@ -955,7 +966,7 @@ and preserving the delimiters as text nodes between the tokens. - + @@ -991,7 +1002,7 @@ given in the value of the subset.profile parameter. The current implementation of that capability here relies on the evaluate extension XSLT function. - + @@ -1026,7 +1037,7 @@ does not support it. - + @@ -1069,7 +1080,7 @@ which would effectively move up the hierarchy. This function counts the number of path components in a relative URI. - + @@ -1086,7 +1097,7 @@ which would effectively move up the hierarchy. - + @@ -1103,7 +1114,7 @@ which would effectively move up the hierarchy. This function trims common leading path components from a relative URI. - + @@ -1130,7 +1141,7 @@ which would effectively move up the hierarchy. - +