Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Last active June 11, 2022 19:51
Show Gist options
  • Save uncoded-ro/6d30200c998e598e53e02b84d8f9a679 to your computer and use it in GitHub Desktop.
Save uncoded-ro/6d30200c998e598e53e02b84d8f9a679 to your computer and use it in GitHub Desktop.
<!-- cursuri.dtd -->
<!ENTITY % prefix "t">
<!ENTITY % colon ":">
<!ENTITY % nsdecl1 "xmlns">
<!ENTITY % nsdecl2 "xmlns%colon;%prefix;">
<!ENTITY % tutor "%prefix;%colon;tutor">
<!ENTITY % titlu "%prefix;%colon;titlu">
<!ENTITY % nume "%prefix;%colon;nume">
<!ENTITY % birou "%prefix;%colon;birou">
<!ELEMENT cursuri (curs)*>
<!ATTLIST cursuri %nsdecl1;
CDATA #FIXED "https://virtualcampus.ro/cursuri/curricula/" %nsdecl2;
CDATA #FIXED "https://idata.upt.ro/personal/">
<!ELEMENT curs (titlu, an , semestru, tutori)>
<!ELEMENT titlu (#PCDATA)>
<!ELEMENT an (#PCDATA)>
<!ELEMENT semestru (#PCDATA)>
<!ELEMENT tutori (%tutor;)+>
<!ELEMENT %tutor; (%titlu;, %nume;, %birou;)>
<!ELEMENT %titlu; (#PCDATA)>
<!ELEMENT %nume; (#PCDATA)>
<!ELEMENT %birou; (#PCDATA)>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment