Bill Fenner wrote:
> In the xml2rfc format, the <?rfc ...> processing instruction is
> often used before the initial <rfc> element in order to give rendering
> instructions; e.g.,
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE rfc SYSTEM "rfc2629.dtd">
> <?rfc toc="no"?>
> <?rfc tocompact="no"?>
> <?rfc tocdepth="6"?>
> <?rfc symrefs="yes"?>
> <?rfc sortrefs="yes"?>
> <rfc category="exp" docName="draft-fenner-literal-zone-00" ipr="full3667">
>
> I haven't figured out how to get these to display. The csssupport
> documentation talks about elements containing processing instructions,
> but these have no container. The default *::processing-instruction
> rule doesn't trigger, and just in case I also tried a
> *::processing-instruction(rfc) rule and that didn't work either.
>
Sorry, but there is no way to edit these processing instructions with XXE.
There is no bug here. XXE is a ``root element editor'', not a document
editor. (Well, you may consider this as being a bug.)
However, you can probably generate CSS content for these processing
instructions, using something like:
---
rfc:before {
display: block;
content: xpath("...");
}
---
See http://www.xmlmind.com/xmleditor/_distrib/docs/csssupport/ch05s32.html
We have never tested this, but we think it should work.