[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Parent of fo:marker
Hi, According to the XSF-FO spec (section 6.11.3) "It is an error if two or more fo:markers that share the same parent have the same "marker-class-name" property value." Therefore the following fragment should be illegal becuase all of the <marker> tags are children of the same <block>, and the marker-class-name attributes are repeated. Nevertheless, at least two XSL-FO formatting engines accept it without complaint (though they process the <markers> differently!) <flow flow-name="xsl-region-body"> <block font-family="Times" font-size="12pt"> <marker marker-class-name="hLeftPart"><inline>Header Left part 1</inline></marker> <marker marker-class-name="fLeftPart">Footer Left part 1</marker> <block> Some simple dumb sample document</block> <block break-before="page"></block> <marker marker-class-name="hLeftPart">Header Left part 2 </marker> <marker marker-class-name="fLeftPart">Footer Left part 2 </marker> <block>Hello world</block> </block> </flow> My question is, would this fragment comply with the spec if each group of <marker> tags were enclosed in a nested <block>, as shown below? <flow flow-name="xsl-region-body"> <block font-family="Times" font-size="12pt"> <block> <marker marker-class-name="hLeftPart"><inline>Header Left part 1</inline></marker> <marker marker-class-name="fLeftPart">Footer Left part 1</marker> </block> <block> Some simple dumb sample document</block> <block break-before="page"></block> <block> <marker marker-class-name="hLeftPart">Header Left part 2 </marker> <marker marker-class-name="fLeftPart">Footer Left part 2 </marker> </block> <block>Hello world</block> </block> </flow> (fo namespace implied throughout) Thanks and regards, Rodney -- Rodney Boyd Document Conversion Analyst Exegenix Research http://www.exegenix.com +1 416 762 2433 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|