Hi,

I have documents with xinclude elements that contain fallback child 
elements.

How can I override the default CSS setting for xi:include elements in 
XmlMind so that it it possible to display the contents of a child 
xi:fallback element when the inclusion fails?

I tried:

@namespace xi "http://www.w3.org/2001/XInclude";;

xi|include {
    display: block;
}

xi|fallback {
    display: block;
    content: "[fallback]";
}

as a test, but it doesn't seem to work. I imagine this is because the 
default rule for xi:include uses "content" - is there anyway I can 
override that so that I can show the element's contents?

I'm not very good with CSS, so sorry if this is a stupid question.

Kevin Flynn
Escenic AS
Oslo, Norway

Reply via email to