[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: 1.57.0 - Numbereditem starts at 2?
HA - thanks for the information and the fix. I guess if I had been using the declaration as I should, this problem would never have come up. There you go, now I know! -- Andy Bob Stayton wrote: > On Fri, Nov 22, 2002 at 01:03:15PM -0500, Andy Jewell wrote: > > Hi, all. . . I just started running my documents through the XSL-1.57 > > style sheets and really like the new updates. I'm seeing one new > > anomaly that I didn't get in 1.53. I generate PDFs with FOP-.24 and > > with this XML: > > > > <?xml version="1.0" encoding="iso-8859-1"?> > > <sect1> > > <title>Sample title</title> > > <para>Sample paragraph below the sample title.</para> > > <orderedlist> > > <listitem><para>Item 1</para></listitem> > > <listitem><para>Item 2</para></listitem> > > </orderedlist> > > </sect1> > > > > I get this output: > > Sample title > > Sample paragraph below the sample title. > > 2. Item 1 > > 3. Item 2 > > > > Does anyone else get the same? Or possibly I'm doing something wrong > > that 1.53 didn't care about but 1.57 does? Any help would be > > appreciated! > > This was a very interesting problem. > The 1.57.0 stylesheets have more sophisticated > numbering options, so you hit new code. > When I tested your sample with xsltproc, the > listitems were numbered 1 and 2. When I > tested your sample with Saxon, they were numbered > 2 and 3. Strange. > > If you add a proper DOCTYPE declaration to your sample file > to reference the DocBook DTD,, then Saxon also produces 1 and 2. >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC