I'm looking to create a footnote pane for a Docbook-like schema.  An
example of the XML is:

<Para>
  This is my paragraph<Footnote>There are many like it but this one is
mine</Footnote>.  It should just serve as filler<Footnote>Another
Example Footnote</Footenote>.  Text after the footnotes.
</Para>

I would like to render this block of CSS like this:

1 - There are many like it but this one is mine.
2 - Another Example Footnote

I was able render the Footnote tags properly, but I cannot hide the text
nodes in the enclosing Paragraph.  I currently have something like this:

This is my paragraph1 - There are many like it but this one is mine.
It should just serve as filler2 - Another Example FootnoteText after the
footnotes.

I've tried styling the Para with:

Para {
  display: none;
}

but this hides all content nested inside of the paragraph.  It would be
nice if XMLmind had a CSS rule for styling text nodes similar to the
rules for styling comments and processing instructions.  In my example,
any properties set on the text nodes of a Para would not cascade to
Footnote elements.  I'm thinking that the syntax would be:

Para::text {
  display: none;
}

Is there another way to accomplish the same goal without adding this
nonstandard CSS rule?

Thanks,
Mike

Reply via email to