All Downloads are FREE. Search and download functionalities are using the official Maven repository.

relaxng.ruby.rnc Maven / Gradle / Ivy

The newest version!
datatypes w = "http://whattf.org/datatype-draft"
namespace local = ""

# #####################################################################
##  RELAX NG Schema for HTML 5: Ruby                                  #
# #####################################################################

#######################################################################

## Ruby Annotation: 

	ruby.elem =
		element ruby { ruby.inner & ruby.attrs }
	ruby.attrs =
		(	common.attrs
		&	common.attrs.aria?
		)
	ruby.inner =
		(  (  common.inner.phrasing
		   ,  (  rt.elem
		      |  (  rp.elem
		         ,  rt.elem
		         ,  rp.elem
		         )
		      )
		   )+
		)

	common.elem.phrasing |= ruby.elem

## Ruby Text: 

	rt.elem =
		element rt { rt.inner & rt.attrs }
	rt.attrs =
		(	common.attrs
		&	common.attrs.aria?
		)
	rt.inner =
		( common.inner.phrasing )
	
## Ruby Parenthesis: 

	rp.elem =
		element rp { rp.inner & rp.attrs }
	rp.attrs =
		(	common.attrs
		&	common.attrs.aria?
		)
	rp.inner =
		( common.inner.phrasing )




© 2015 - 2024 Weber Informatics LLC | Privacy Policy