Re: [xsl] Member function?

Subject: Re: [xsl] Member function?
From: "Dave Pawson dave.pawson@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 2 Aug 2022 14:27:50 -0000
On Tue, 2 Aug 2022 at 15:18, Eliot Kimber eliot.kimber@xxxxxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> Itbs not completely clear what youbre asking for.
>
>
>
> Are you simply trying to determine if each book has a an entry in the
sort_index for itbs month?

Yes, a valid entry 'Jan' ...'Dec'? Looking for
if 'bad month' then
   xsl:message

ec

>
>
>
> If the sort_index always has all twelve months, how can it never be the
case?

Because of bad xml authoring :-)
I.e. I'm trying to validate the xml, not the stylesheet which contains
the index?


>
>
>
> Or are you trying to validate the values of the book/d elements to verify
that they are understandable dates?

Both? Some books, OK, I don't know the date, I could add 'Unk' or
similar to make them stand out. Separate problem?



--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.

Current Thread