2 Questions about the RelaxNG-Schema

Patrick Kollitsch <[email protected]> Wed, 24 Nov 2004 09:06:08 +0100
Newsgroups gmane.editors.bitflux.general
Message-ID <[email protected]>
Hi,

I wondered if the 2 following problems are solvable with the existing 
trunk-version of bxe:

1. It is possible to blend some tags and attributes out in the 
config.xml via
<context type="dontShow">
<element name="img" ns="http://www.w3.org/1999/xhtml"/>
<attribute name="xml:lang"/>
</context>
Is it possible to eg. dontShow the attribute "a" specifically on tag 
"b"? The way it is done in the examples its only for *all* attributes 
"a" or for the whole tag "b".

2. (maybe not bxe-related) howto say in relaxng "either or"?
we have a tag which has to have either the attribute "src" filled or the 
attribute "id" filled. I wondered if it would be possible to say this 
via relax-ng (i did not found a solution) and if bxe is able to 
interpret this dependance right

greetings
patrick
-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users