Relax NG external reference question

K

Ken

For illustration I have three documents

1) A document of definitions
<options>
<option1>
<term>X</term>
<definiton>THE LETTER X</definition>
</option1>
<option2>
<term>Y</term>
<definiton>THE LETTER Y</definition>
</option1>
<option3>
<term>Z</term>
<definiton>THE LETTER Z</definition>
</option1>
</options>

2) An document that uses the terms where a particular tag may only
have one of the elements that appear in the <term> tag from the first
document.

3) A Relax NG document that enforces the structure of document 2...

I am new to Relax NG I know about the choice tag in Relax NG but not
how to reference the elements of the term tag from document 1 as
values for the choice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,734
Latest member
manin

Latest Threads

Top