[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Parent of fo:marker

Subject: Parent of fo:marker
From: Rodney Boyd <rodney@xxxxxxxxxxxx>
Date: Thu, 20 Dec 2001 14:33:15 -0500
rodney boyd
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.