Re: 6.2 in xsl-fo 1.1

On Wed, 2010-12-08 at 18:56 +0000, Dave Pawson wrote:

> E.g. 6.13.4 fo:wrapper
> 
> Contents:
> 
> (#PCDATA|%inline;|%block;)*
> 
> Crudely, is
> <fo:wrapper> Plain text <fo:inline> .....</  </
> Compliant to the rec?

The "content" is intended to be a DTD content model for
the element.

#PCDATA matches text, of course, as in an XML DTD, and
if you follow the link from %inline; you'll get to
http://www.w3.org/TR/2006/REC-xsl11-20061205/#inline.fo.list
in which we see that fo:inline is included, so yes,
<fo:wrapper> Plain test <fo:inline>.....</fo:inline> </fo:wapper>
is fine.

The notation used is described in 6.2, "Formatting Object Content",
http://www.w3.org/TR/2006/REC-xsl11-20061205/#d0e6532

Although DTDs are less commonly used these days, they're still very
much part of XML of course. Do you think that it'd be clearer if we
used some other notation for 2.0?

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org www.advogato.org

Received on Wednesday, 8 December 2010 21:07:58 UTC