[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Website: indexterm, index?
Right you are, I had an error in the DTD declaration. Now that I understand how indexing works in WebSite, it might not be such bad news. I may try creating several page-level indexes as you describe, and then mining them (using a perl script, or another xsl transform if I'm really ambitious) to create a page with a master index. I don't mind a little post-processing if there's a good way to automate it. Thanks, Denis Bob Stayton wrote: > Well, there's good news and there's bad news. > > The good news is that index and indexterm are permitted inside a webpage > element whose DOCTYPE is website-full.dtd, and they do validate. I just > tested it. I'm not sure what's going wrong when you try it. > > The bad news is that they don't do what you want them to do, which is create > an index for your website. You have to keep in mind that each webpage > document is a separate XML document, and it is processed as a separate > document. That means the scope of an index can be no larger than one > webpage document. In order for the index to cover all your webpages, they > would have to be included as children of a larger container document that is > processed all at once. But that isn't how Website works. > > As it currently ships, Website can't collect index entries from the set of > webpage documents and generate a sorted index. > > Bob Stayton > Sagehill Enterprises > DocBook Consulting > bobs@sagehill.net > > > ----- Original Message ----- > From: "Denis Bradford" <denis.bradford@verizon.net> > To: <docbook-apps@lists.oasis-open.org> > Sent: Saturday, May 29, 2004 12:52 PM > Subject: [docbook-apps] Website: indexterm, index? > > > >>I'm interesting in adding index entries to my WebSite sources and >>generating an index page. website-full.dtd appears to include docbook >>index elements in webpage.mix, but they don't validate, so I must be >>misunderstanding the dtd. >> >>If there's no way to use docbook indexterms and index in WebSite, is >>there perhaps another way to do something similar? >> >>Thanks, >>Denis >> >> >>To unsubscribe from this list, send a post to > > docbook-apps-unsubscribe@lists.oasis-open.org, or visit > http://www.oasis-open.org/mlmanage/. > >> >> > > >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]