8000 GitHub - skatsubo/xslt-exp: Experiments with XSLT
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

skatsubo/xslt-exp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Experiments with XSLT

Preceding with the same ancestor as self

The goal is to sequentially number disp-formulas which belong to the same section <sec id="X">.

xsltproc count.xsl count.xml

It looks awkward, but the idea is to walk up the tree and for each branch get its descendant elements.

ancestor::*[...]/preceding-sibling::*/descendant-or-self::disp-formula 

About

Experiments with XSLT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0