AH Formatter / XSL Formatter
Q&A



XSLT/XSL-FO/MathML Technics

Inheritance

Top
Basic, General
About AH Formatter
About XSL Formatter
Operation
Programming
XSLT/XSL-FO/SVG/MathML Conformance
XSLT/XSL-FO/MathML Technics
Index
Q.  Why was the text indented though I didn't spcify any indent property to a block-container? Why it appeared as I didn't expected? [No.2002111508]
A. 

This behavior is not peculiar to the matter of indent. Most of the problem of getting an unexpected result is the matter of inheritance. Please think of the inheritence first.

As the first step, check if the parent property is inherited or not. There are two types in the property specifed to the parent FO. One is inherited, the other is non-inherited. The inherited property affects the child property and the affected result is often shown as an unexpected format.

If you don't want to have it double indented, you need to reset the property (specify 'start-indent=0in' to fo:block, for example) and finish inheritting.

Extensible Stylesheet Language (XSL) Version 1.0 W3C Recommendation 15 October 2001


Copyright © 1999-2011 Antenna House, Inc. All rights reserved.
Antenna House is a trademark of Antenna House, Inc.