Sunday, January 17, 2010

Ruger 10 220 Bull Pup Stock

test in XSL, if immediately preceding a given element type has

How can an XSL transformation to test whether the immediately preceding XML element of an input document has a certain type? The following example (Transformation of Open Office in XSL-FO) is to determine whether the preceding element of type "text: bookmark-start" is.

\u0026lt;xsl:if test="not(preceding-sibling::node()[1][self::text:bookmark-start])">
\u0026lt; !, - is the immediately preceding element is not Bookmark ->
\u0026lt;/ xsl: if>

0 comments:

Post a Comment