OK, so I ran the following XPATH on the spec //div3[(@id = ./head/quote) and (.//table/tbody/tr[./td = 'Inherited: ']/td[(position() = 2) and (text() = 'yes')])]/head/quote
And got the following universally inheritable attributes which I will add into my schema font-family letter-spacing font-selection-strategy text-transform font-stretch word-spacing font-size-adjust color font-style intrusion-displace font-variant keep-together font-weight orphans country widows language leader-alignment script leader-pattern hyphenate leader-pattern-width hyphenation-character leader-length hyphenation-push-character-count rule-style hyphenation-remain-character-count rule-thickness start-indent auto-restore end-indent border-collapse display-align border-separation relative-align caption-side hyphenation-keep empty-cells hyphenation-ladder-count direction last-line-end-indent glyph-orientation-horizontal line-height glyph-orientation-vertical line-height-shift-adjustment provisional-label-separation line-stacking-strategy provisional-distance-between-starts linefeed-treatment score-spaces white-space-treatment visibility text-align border-spacing text-align-last font text-indent page-break-inside white-space-collapse white-space wrap-option xml:lang Arved wrote: Comments below. >>>> -----Original Message----- >>>> From: Chuck Paussa [mailto:[EMAIL PROTECTED]] >>>> Sent: May 2, 2002 7:16 PM >>>> To: [EMAIL PROTECTED] >>>> Subject: What the spec says about table-row, table-cell etc. >>>> >>>> >>>> I've been working on a schema for FO documents so that I can off-load >>>> the validation chore. I created the schema from the W3C documents which >>>> state the following for table-cell: >>>> >>>> Contents: >>>> >>>> (%block;)+ >>>> >>>> In addition this formatting object may have a sequence of zero or more >>>> fo:markers as its initial children. >>>> >>>> The following properties apply to this formatting object: >>>> >>>> * [7.4 Common Accessibility Properties] >>>> * [7.6 Common Aural Properties] >>>> * [7.7 Common Border, Padding, and Background Properties] >>>> * [7.12 Common Relative Position Properties] >>>> * [7.26.1 "border-after-precedence"] >>>> * [7.26.2 "border-before-precedence"] >>>> * [7.26.4 "border-end-precedence"] >>>> * [7.26.6 "border-start-precedence"] >>>> * [7.14.1 "block-progression-dimension"] >>>> * [7.26.8 "column-number"] >>>> * [7.13.4 "display-align"] >>>> * [7.13.6 "relative-align"] >>>> * [7.26.10 "empty-cells"] >>>> * [7.26.11 "ends-row"] >>>> * [7.14.4 "height"] >>>> * [7.28.2 "id"] >>>> * [7.14.5 "inline-progression-dimension"] >>>> * [7.26.13 "number-columns-spanned"] >>>> * [7.26.14 "number-rows-spanned"] >>>> * [7.26.15 "starts-row"] >>>> * [7.14.12 "width"] >>>> >>>> FOP, in addition, both allows and implements the setting of block's >>>> inheritable attributes such as "color" and "text-align" which are then >>>> propagated down to the enclosed blocks. My questions are as follows: >>>> >>>> Is there a place in the spec that says "Containers may hold inheritable >>>> attributes so they can be passed on to their child objects"? >>>> Or is this just a side-effect of inheritabliity? >>>> Or is this illegal and will disappear in future FOP versions to be >>>> compatible with the spec? >> >> >> > > Yes, at Section 5.1.4. Every inheritable property exists on every formatting object, whether or not the property is actually applicable to (useable by) that FO. This isn't just a side-efefct of inheritability, this _is_ inheritability. :-) >>>> and >>>> >>>> Is there a list of these "inheritable attributes" ? Or do I just >>>> generate the list from those attributes that have an enumeration value >>>> of inherit? >> >> >> > > Don't do the latter...what you want to want to look at is the "Inherited:" field in the property descriptions. Chuck, one thing you may find helpful (maybe you've done it already) is to work off the XML version of the spec, and extract the property tables, at which point you can do SAX or XSLT to get at interesting bits. This was my approach. Regards, Arved