xsl-list
[Top] [All Lists]

Re: I'm an idiot (was Re: How to render TEI <div*>s with chapter-like pagination?)

2003-04-15 08:29:20
Hi again James,

At 07:53 PM 4/14/2003, you wrote:
> 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.

Oops! I think I followed you in this error. :-> (An easy one to make, at least judging from the number of times I've done it myself.)

Adjust previous e-mail accordingly.

Cheers,
Wendell


======================================================================
Wendell Piez                            
mailto:wapiez(_at_)mulberrytech(_dot_)com
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
======================================================================


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list