
14 Aug
2006
14 Aug
'06
10:23 p.m.
Is there a way to have oXygen select different RELAX NG schemas depending on the version attribute of an XML document's root element? Also, why, if I make a document like the following, do I receive the error, "element "equation" from namespace "http://docbook.org/ns/docbook" not allowed in this context. Is it not allowed in the schema? <?xml version="1.0" encoding="UTF-8"?> <equation xmlns='http://docbook.org/ns/docbook' version='5'> <title>Fermat's Last Theorem</title> <alt>x^n + y^n ≠ z^n ∀ n ≠ 2</alt> <mathphrase>x<superscript>n</superscript> + y<superscript>n</superscript> ≠ z<superscript>n</superscript> ∀ n ≠ 2</mathphrase> </equation> Thank you, -- http://chris.chiasson.name/