[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: Macro for XML indexing help needed
- Subject: Re: Macro for XML indexing help needed
- From: Lisa Kleinholz lkleinholz@xxxxxxxx
- Date: Tue, 18 Jul 2006 12:22:30 -0700 (PDT)
I'm back from vacation in Spain, and finally got a chance to try this.
It works, except for one problem. I need to fill in the page number
after I finish listing the entries on each page. I work one page at a
time. Right now, with a list such as:
Dickinson, Emily, #
Bronte, Charlotte, #
Dickens, Charles, #
(where all are indexable items on page #)
Running the program yields:
Dickinson, Emily, 1.1
Bronte, Charlotte, 1.2
Dickens, Charles, 1.3
There seems to be no way to create entries for anything other than page
1.
After creating entries for each page, I need the program to prompt me
to fill in the proper page number before it substitutes the page number
followed by item number on that page. So that when I finish listing all
the entires on page two, the numbers are substituted as follows:
Dickinson, Emily, 2.1
Bronte, Charlotte, 2.2
Dickens, Charles, 2.3
And so forth (3.1, etc for page 3; 45.1, etc for page 45).
If there is a way to do this that I missed, let me know. Thanks so much
for your help. This will save me many hours of tedious work.
Lisa
--- Robert Holmgren wrote:
> ** Reply to message from Lisa Kleinholz on
> Sat, 17 Jun
> 2006 10:18:32 -0700 (PDT)
>
>
> Try this:
>
> XPLeNCODE v2.0
> b-gin [UNTITLED]
> [BX_]es 1[Q2_][TF_][SP_]{<}SX01,0{>}{<}LBA{>}[BX_]se/f #[Q2_
> ]{<}IF@NOT({<}ER{>}){>}[DO_][FF_]{<}SX02,{<}VA$PG{>}{>}{<}IF{
> <}PV02{>}>{<}PV01{>}{>}{<}SX03,0{>}{<}SX01,{<}PV02{>}{>}{<}EI
> {>}{<}SX03,{<}PV03{>}+1{>}[BX_]ci/1 # {<}PV02{>}.{<}PV03{>}[
> Q2_]{<}GLA{>}{<}EI{>}[TF_]{<}PRDone{>}{<}EX{>}[cr|lf]
> -nd
> XPLeNCODE
>
> -----------------------------
> Robert Holmgren
> holmgren@xxxxxxxx
> -----------------------------
>
>