Flow-Maps isn't working properly

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Flow-Maps isn't working properly


I am trying to use flow-maps from the URLĀ http://www.w3.org/TR/xslfo20/#d2e10878

and below is the template i am trying to run but i am getting many errors.

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:page-master master-name="sample1" 
     page-height="11in" page-width="8.5in" margin-top="3pt"
     margin-bottom="3pt" margin-left="3pt" margin-right="3pt">
  <fo:region  region-name="R1" 
  <fo:region  region-name="R2" 

<fo:flow-map flow-map-name="M1">
       <fo:flow-name-specifier flow-name-reference="A"/>
     <fo:region-name-specifier region-name-reference="R1"/>
     <fo:flow-name-specifier flow-name-reference="B"/>
     <fo:region-name-specifier region-name-reference="R2"/>

<fo:page-sequence force-page-count="1" flow-map-reference="M1">
  <fo:flow flow-name="A">
   <fo:block> Lorem maecenas blandit ac, neque sed ut pulvinar,
   lectus sagittis sapien per risus vel.  Ligula sapien sed morbi cras
   tellus commodo. Si qua ex docet dei etris crucis</fo:block>
  <fo:block> curabitur magna nisi, faucibus sed ornare sed,
  congue eu dui.  Pellentesque habitant morbi tristique senectus et
  netus et malessecularia uada fames ac turpis
  egestas. </fo:block>
  <fo:block> Nunc sit amet dolor sed sem congue mattis sed ut
  arcu. Mauris id magna sit amet elit aliquam.</fo:block>
  <fo:block>Pellentesque habitant morbi tristique senectus et
  netus et malesuada fames.</fo:block>

 <fo:flow flow-name="B">
  <fo:block>Crucis rosa ut hoc sien qua non res veni.</fo:block>
  <fo:block> Etiam tristique, nulla a pulvinar hendrerit nihil
  tortor urna auctor etim domine secularia cali sed ut quotie ire in
  domince hoc fantus quis eius rei rei.  </fo:block>

Please let me know if i am missing anything here?