Hi James,

Creating a mapping with .odd for filename should work but you must take into account that first rule that matches is applied so you need to move up your rule in the list of rules so that it is before the rule that associates the TEI namespace with your TEI schema.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


James Cummings wrote:
Hi there,  I'd like to set a default schema associate by file extension. I.e.
I'd like all my *.odd files processed by another schema even though they are in
the TEI namespace.  I have it set that everything in the TEI namespace gets
validated against a particular schema.

So if I can't set by root element or namespace, but just want to say anything
ending in .odd use this schema, is there a way to do that?  I've tried basing it
on filename but just putting *.odd or .odd doesn't work.  Can we put a regex of
some sort in here?

Any suggestions appreciated.

-James
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to