Subject: Re: I'm an idiot (was Re: [xsl] How to render TEI <div*>s with chapter-like pagination?) From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 15 Apr 2003 11:29:20 -0400 |
> I wish I knew why > > <xsl:key name="x" > match="node()[not(starts-with(name(), div))]" > use="generate-id((..|preceding-sibling::div1| > preceding-sibling::div2|preceding-sibling::div3)[last()])"/> > > doesn't work,
D'oh!
I'm not thinking. It should be "not(starts-with(name(), 'div'))", with quotes around 'div'. Missing the obvious.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
I'm an idiot (was Re: [xsl] How to , James J. Ramsey | Thread | Re: [xsl] How to render TEI <div*>s, Wendell Piez |
Re: [xsl] How to render TEI <div*>s, Wendell Piez | Date | RE: [xsl] template match for subele, Wendell Piez |
Month |