W3C home > Mailing lists > Public > www-style@w3.org > April 2003

processing instructions

From: Michael Day <mikeday@yeslogic.com>
Date: Tue, 22 Apr 2003 20:33:09 +1000 (EST)
To: www-style@w3.org
Message-ID: <Pine.LNX.4.44.0304222027330.1741-100000@lorien.yeslogic.com>


Hi,

It would be convenient to have a selector to match processing 
instructions. For example:

?page-break? {
    page-break-after: always
}

OR

:processing-instruction("foobar") {
    content: "This way we can insert arbitrary content"
}

Although this ignores the "content" of processing instructions, they can
still be used to insert line and page breaks or content into the document
(or be used in conjunction with sibling selectors).

Sadly the ?syntax? probably won't fly, and the pseudo-class syntax is a
somewhat confusing, given that such selectors normally match elements.

Any ideas?

Michael Day

YesLogic Pty. Ltd.
Received on Tuesday, 22 April 2003 05:15:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:21 GMT