I searched the archives and the FAQ to try to resolve this myself. I was getting this error:

 

ERROR] file:/c:/Inetpub/wwwroot/SIGNITEK_PRIVATE/Articles/asp.net/lecture/TestXSLTFO.fo:13:55 No simple-page-master matching '' in page-sequence-master 'psmOddEven'

I did a search and found http://marc.theaimsgroup.com/?l=fop-user&m=102460678229623&w=2 so I tried changing master-name to master reference. This produced a different error:

 

[ERROR] file:/c:/Inetpub/wwwroot/SIGNITEK_PRIVATE/Articles/asp.net/lecture/TestXSLTFO.fo:22:46 master-reference '' for fo:page-sequence matches no simple-page-master or page-sequence-master

Below is my listing. This used to work in FOP 0.19 and now I am trying to use 0.20.5.

Can someone please tell me what I am doing wrong?

 

Thanks,

Siegfried

 

   1<?xml version="1.0" encoding="UTF-8"?>

   2<?cocoon-format type="text/xslfo"?>

   3<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

   4  <fo:layout-master-set>

   5    <fo:simple-page-master margin-right="50pt" margin-left="100pt" margin-bottom="25pt" margin-top="75pt" master-name="right">

   6      <fo:region-body margin-bottom="50pt"/>

   7      <fo:region-after extent="25pt"/>

   8    </fo:simple-page-master>

   9    <fo:simple-page-master margin-right="100pt" margin-left="50pt" margin-bottom="25pt" margin-top="75pt" master-name="left">

  10      <fo:region-body margin-bottom="50pt"/>

  11      <fo:region-after extent="25pt"/>

  12    </fo:simple-page-master>

  13    <fo:page-sequence-master master-name="psmOddEven">

  14      <fo:repeatable-page-master-alternatives>

  15        <fo:conditional-page-master-reference page-position="first" master-name="right"/>

  16        <fo:conditional-page-master-reference odd-or-even="even" master-name="right"/>

  17        <fo:conditional-page-master-reference odd-or-even="odd" master-name="left"/>

  18        <fo:conditional-page-master-reference master-name="right"/>

  19      </fo:repeatable-page-master-alternatives>

  20    </fo:page-sequence-master>

  21  </fo:layout-master-set>

  22  <fo:page-sequence master-reference="psmOddEven">

  23    <fo:static-content flow-name="xsl-region-after">

  24      <fo:block font-size="10pt" text-align-last="center">

  25        <fo:page-number/> of <fo:page-number-citation ref-id="endofdoc"/>

  26      </fo:block>

  27    </fo:static-content>

  28    <fo:flow flow-name="xsl-region-body">

  29     

  30      <fo:block space-before.optimum="14pt" text-align-last="center" font-weight="bold" font-size="14pt">BVSUG XML Web Services</fo:block>

  31      <fo:block space-before.optimum="10pt" text-align-last="center" font-size="10pt">Version 1.0</fo:block>

  32     

  33     

  34      Siegfried Heintze

  35      [EMAIL PROTECTED]

  36     

  37     

  38     

  39     

  40     

  41      <fo:block space-before.optimum="6pt" space-after.optimum="3pt" text-indent="15pt" font-size="10pt" font-family="sans-serif">

  42        .NET Programmers

  43      </fo:block>

  44     

  45     

  46      <fo:block space-before.optimum="6pt" space-after.optimum="3pt" text-indent="15pt" font-size="10pt" font-family="sans-serif">

  47        ASP.NET Programming

  48      </fo:block>

  49     

  50      90 minutes

  51     

  52      <fo:table>

  53        <fo:table-column column-width="1cm"/>

  54        <fo:table-column column-width="12cm"/>

  55        <fo:table-column column-width="1cm"/>

  56        <fo:table-body font-family="sans-serif" font-size="10pt">

  57          <fo:table-row line-height="12pt">

  58            <fo:table-cell>

  59              <fo:block>1</fo:block>

  60            </fo:table-cell>

  61            <fo:table-cell>

  62              <fo:block>Introduction to Using XML For More Interactive Web Pages<fo:leader rule-thickness="1pt" leader-pattern="dots"/>

  63              </fo:block>

  64            </fo:table-cell>

  65            <fo:table-cell>

  66              <fo:block text-align="end">

  67                <fo:leader rule-thickness="1pt" leader-pattern="dots"/>

  68                <fo:page-number-citation ref-id="N10043"/>

  69              </fo:block>

  70            </fo:table-cell>

  71          </fo:table-row>

  72          <fo:table-row line-height="12pt">

  73            <fo:table-cell>

  74              <fo:block>1.1</fo:block>

  75            </fo:table-cell>

  76            <fo:table-cell>

  77              <fo:block margin-left="10pt">Why XML Web Services?</fo:block>

  78            </fo:table-cell>

  79            <fo:table-cell>

  80              <fo:block text-align="end">

  81                <fo:page-number-citation ref-id="N10047"/>

  82              </fo:block>

  83            </fo:table-cell>

  84          </fo:table-row>

  85          <fo:table-row line-height="12pt">

  86            <fo:table-cell>

  87              <fo:block>2</fo:block>

  88            </fo:table-cell>

  89            <fo:table-cell>

  90              <fo:block>Summary<fo:leader rule-thickness="1pt" leader-pattern="dots"/>

  91              </fo:block>

  92            </fo:table-cell>

  93            <fo:table-cell>

  94              <fo:block text-align="end">

  95                <fo:leader rule-thickness="1pt" leader-pattern="dots"/>

  96                <fo:page-number-citation ref-id="N1005F"/>

  97              </fo:block>

  98            </fo:table-cell>

  99          </fo:table-row>

 100        </fo:table-body>

 101      </fo:table>

 102      <fo:block keep-with-previous="auto" break-before="page"/>

 103      <fo:block keep-with-next="10000" space-before.optimum="15pt" space-after.optimum="10pt" font-size="14pt" font-weight="bold" id="N10043">1 Introduction to Using XML For More Interactive Web Pages</fo:block>Introduction to Using XML For More Interactive Web Pages

 104      <fo:block keep-with-next="10000" space-before.optimum="12pt" space-after.optimum="8pt" font-size="12pt" font-weight="bold" margin-left="10pt" id="N10047">1.1 Why XML Web Services?</fo:block>Why XML Web Services?

 105      <fo:block margin-left="20pt&#10;      ">

 106        <fo:list-block>

 107          <fo:list-item>

 108            <fo:list-item-label>

 109              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">A.   </fo:block>

 110            </fo:list-item-label>

 111            <fo:list-item-body>

 112              <fo:block font-size="10pt" font-family="sans-serif">Somebody already wrote a XML Web Service and you need to write a client</fo:block>

 113            </fo:list-item-body>

 114          </fo:list-item>

 115          <fo:list-item>

 116            <fo:list-item-label>

 117              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">B.   </fo:block>

 118            </fo:list-item-label>

 119            <fo:list-item-body>

 120              <fo:block font-size="10pt" font-family="sans-serif">You want to provide a service available to browsers as well as as custom clients</fo:block>

 121            </fo:list-item-body>

 122          </fo:list-item>

 123          <fo:list-item>

 124            <fo:list-item-label>

 125              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">C.   </fo:block>

 126            </fo:list-item-label>

 127            <fo:list-item-body>

 128              <fo:block font-size="10pt" font-family="sans-serif">You want more interactive web pages</fo:block>

 129            </fo:list-item-body>

 130          </fo:list-item>

 131          <fo:list-item>

 132            <fo:list-item-label>

 133              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">D.   </fo:block>

 134            </fo:list-item-label>

 135            <fo:list-item-body>

 136              <fo:block font-size="10pt" font-family="sans-serif">You have more data than what is practical to transmit for a single web page</fo:block>

 137            </fo:list-item-body>

 138          </fo:list-item>

 139          <fo:list-item>

 140            <fo:list-item-label>

 141              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">E.   </fo:block>

 142            </fo:list-item-label>

 143            <fo:list-item-body>

 144              <fo:block font-size="10pt" font-family="sans-serif">You have some proprietary algorithms that cannot reside in client's browser</fo:block>

 145            </fo:list-item-body>

 146          </fo:list-item>

 147        </fo:list-block>

 148      </fo:block>

 149     

 150     

 151      <fo:block keep-with-next="10000" space-before.optimum="15pt" space-after.optimum="10pt" font-size="14pt" font-weight="bold" id="N1005F">2 Summary</fo:block>Summary

 152      <fo:block margin-left="20pt&#10;      ">

 153        <fo:list-block>

 154          <fo:list-item>

 155            <fo:list-item-label>

 156              <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">A.   </fo:block>

 157            </fo:list-item-label>

 158            <fo:list-item-body>

 159              <fo:block font-size="10pt" font-family="sans-serif">Browser resident SOAP clients

 160                <fo:block margin-left="30pt&#10;      ">

 161                  <fo:list-block>

 162                    <fo:list-item>

 163                      <fo:list-item-label>

 164                        <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">1.   </fo:block>

 165                      </fo:list-item-label>

 166                      <fo:list-item-body>

 167                        <fo:block font-size="10pt" font-family="sans-serif">Allow great web pages (expensive, however)</fo:block>

 168                      </fo:list-item-body>

 169                    </fo:list-item>

 170                    <fo:list-item>

 171                      <fo:list-item-label>

 172                        <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">2.   </fo:block>

 173                      </fo:list-item-label>

 174                      <fo:list-item-body>

 175                        <fo:block font-size="10pt" font-family="sans-serif">Don't require download of custom clients</fo:block>

 176                      </fo:list-item-body>

 177                    </fo:list-item>

 178                    <fo:list-item>

 179                      <fo:list-item-label>

 180                        <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">3.   </fo:block>

 181                      </fo:list-item-label>

 182                      <fo:list-item-body>

 183                        <fo:block font-size="10pt" font-family="sans-serif">Require flexible hosting services</fo:block>

 184                      </fo:list-item-body>

 185                    </fo:list-item>

 186                    <fo:list-item>

 187                      <fo:list-item-label>

 188                        <fo:block font-size="10pt" font-family="sans-serif" text-indent="-10pt">4.   </fo:block>

 189                      </fo:list-item-label>

 190                      <fo:list-item-body>

 191                        <fo:block font-size="10pt" font-family="sans-serif">Can be coded in _javascript_ for both IE and Mozilla</fo:block>

 192                      </fo:list-item-body>

 193                    </fo:list-item>

 194                  </fo:list-block>

 195                </fo:block>

 196              </fo:block>

 197            </fo:list-item-body>

 198          </fo:list-item>

 199        </fo:list-block>

 200      </fo:block>

 201     

 202      <fo:block id="endofdoc"/>

 203     

 204      

 205     

 206     

 207    </fo:flow>

 208  </fo:page-sequence>

 209</fo:root>

 210

 

 

 

Reply via email to