Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

XSLT group following siblings that follow a tag with generated ID

<xsl:variable name="thisgid" select="generate-id(.)" />
 <xsl:apply-templates select="following-sibling::*[not(@class='sectiontitle' or @class='paragraphtitle')]
                              [generate-id(preceding-sibling::p[@class='sectiontitle'][1]) = $thisgid]"/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #XSLT #group #siblings #follow #tag #generated #ID
ADD COMMENT
Topic
Name
6+6 =