[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Wrap HTML headings and following siblings in <section/
I'm sure this has been solved before, I'm working on a stylesheet to wrap all HTML headings and following siblings, until the next same or greater heading, in <section/> elements Here's my attempt so far, http://www.sfu.ca/~jdbates/tmp/xsl/201003260/section.xsl Currently processors choke on the XPath, (html:h1|html:h2|html:h3|html:h4|html:h5|html:h6)/following-sibling::node() Must I expand this and all similar XPaths? Are there any tricks I'm forgetting to make this stylesheet more concise? Is there a *better* way to solve this problem? Thanks
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|