J
jiaqi.guo
I want to limit the content of a tag to be a string or another tag. How
can I do it?
<mytag att1="abc">Hello World</mytag>
or
<mytag att1="abc"><tag1>...</tag1></mytag>
or
<mytag att1="abc"><tag2>...</tag2></mytag>
Only pure text , one <tag1> OR one <tag2> is allowed in <mytag>
How should I define <mytag> in schema.
Thanks in advance
Jiaqi
can I do it?
<mytag att1="abc">Hello World</mytag>
or
<mytag att1="abc"><tag1>...</tag1></mytag>
or
<mytag att1="abc"><tag2>...</tag2></mytag>
Only pure text , one <tag1> OR one <tag2> is allowed in <mytag>
How should I define <mytag> in schema.
Thanks in advance
Jiaqi