W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2010

Re: 6.2 in xsl-fo 1.1

From: Liam R E Quin <liam@w3.org>
Date: Wed, 08 Dec 2010 16:07:52 -0500
To: Dave Pawson <dave.pawson@gmail.com>
Cc: www-xsl-fo@w3.org
Message-ID: <1291842472.4959.29.camel@desktop.barefootcomputing.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 8 December 2010 21:07:59 GMT