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