Michael Santy wrote:
> Would it be a good approach to write a Gadget that does not render the
> outermost node and its text nodes, but renders its element children
> normally with the exising CSS rules?  
> 
> Am I way off base here?  Is there a better way of accomplishing this?

Gadgets are not really part of public, documented, API. Therefore, I
cannot recommend you to write a Gadget.

(
http://www.xmlmind.com/xmleditor/_distrib/doc/api/com/xmlmind/xmledit/gadget/Gadget.html
)

Alain Pierrot wrote:
> If you don't need any fancy styling within your footnotes, nor  displying of 
> their rank within the para, you could try using an xpath  expression as a 
> substitute to the content of Para:
> 
> para {
>         content: xpath('join(./footnote,"\A ")');
>     } 

I didn't think about this solution. Now that Alain Pierrot had this idea
(thanks Alain), I'm sure what's above is the best XXE can do for you.

Well, almost the best: you can display the rank of the footnote within
the para. For that, use XPath extension function:

number index-of-node(node-set1, node-set2)

See http://www.xmlmind.com/xmleditor/_distrib/doc/commands/xpathextfunc.html

(XPath extension functions may be used anywhere you can use XPath: in
macros, in CSS generated content, etc...)

Reply via email to