Subject: [xsl] Wrap HTML headings and following siblings in <section/> From: Jack Bates <ms419@xxxxxxxxxxxxxx> Date: Fri, 26 Mar 2010 18:01:34 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] error when trying to run , Wendell Piez | Thread | Re: [xsl] Wrap HTML headings and fo, Jesper Tverskov |
RE: [xsl] error when trying to run , Michael Kay | Date | Re: [xsl] Wrap HTML headings and fo, Jesper Tverskov |
Month |