xsd - XML schema key pairs, references -


how write xsd schema check if reference in xml element valid?

schema should mark error if "redbox" style absent in "styles". code :

  <styles>     <style name="www" color="#f0ff00" text-transform="uppercase"/>     <style name="redbox" background-color="#ff0000" border="1"/>   </styles> 

now want make reference use predefined attributes in new element.

<div style="redbox" position="20 50 500 0" /> 

after 'decode' div object like

<div background-color="#ff0000" border="1" position="20 50 500 0" /> 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -