processing instructions

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 UTC