Created
April 7, 2015 19:24
-
-
Save vadz/add18ade601e85192d84 to your computer and use it in GitHub Desktop.
Example of RELAX NG schema for XRC with a custom element.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default namespace = "http://www.wxwidgets.org/wxxrc" | |
namespace xrc = "http://www.wxwidgets.org/wxxrc" | |
include "http://www.wxwidgets.org/wxxrc" { | |
customClasses = | |
element object { | |
attribute class { "Frobnicator" } & | |
stdObjectNodeAttributes & | |
stdWindowProperties & | |
[xrc:p="o"] element num_times {_, t_integer }* | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment