difficult question?:)

Z

zbiszko

I have such problem:)

i have xml file:
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<page name="title1"/>
<page name="title2" inherit="title1"/>
<page name="title3"/>
<page name="title4" inherit="title2"/>
</doc>

value of atttribute name are uniqe in hole document

i have no idea how to make that the value of attribut inherit can't be
the same like value of attribute name in the same element, i.e. it
can't occor such situation:
<page name="title4" inherit="title4"/>

thanks for help
 
J

Joris Gillis

Hi,

Tempore 10:50:14 said:
I have such problem:)

i have xml file:
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<page name="title1"/>
<page name="title2" inherit="title1"/>
<page name="title3"/>
<page name="title4" inherit="title2"/>
</doc>

value of atttribute name are uniqe in hole document

i have no idea how to make that the value of attribut inherit can't be
the same like value of attribute name in the same element, i.e. it
can't occor such situation:
<page name="title4" inherit="title4"/>
The question seems to be quite difficult indeed: I can't find it. What exactly is the question/what output do you want?
 
J

Joris Gillis

Tempore 11:00:42 said:
:) sorry :)
i have to do a xml schema to the xml file
OK, now the question is understandable.
I can't hellp you personally, though; I don't know a bit about xml schema...

regards,
 

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

No members online now.

Forum statistics

Threads
474,000
Messages
2,570,252
Members
46,848
Latest member
CristineKo

Latest Threads

Top