Representing Meta Data using an XML Schema

  • Thread starter Hans Oesterholt-Dijkema
  • Start date
H

Hans Oesterholt-Dijkema

Hi,

I'm looking for a way to represent meta data
using an XML Schema. However, I'm running into
a small problem:

1. I want to have meaningfull XML tags
2. I want my meta data to be able to extend
"runtime".

So my XML message for meta data could be:

<?xml ... ?>
<metadata>
<smtp-gateway>
<message-id>abcdeehkfhksa</message-id>
<received-by index=0>abc.org</received-by>
<received-by index=1>abcd.org</received-by>
<from>[email protected]</from>
<to>[email protected]</to>
...
</smtp-gateway>
...
</metadata>

I actually only want to validate the structure and
some types of the xml message: metadata consists of
sections, which are keys with values or
indexed keys with values. index is of type integer,
key is of type "element", etc.

Is this possible?

Best regards,

Hans Oesterholt
 

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
473,999
Messages
2,570,246
Members
46,840
Latest member
BrendanG78

Latest Threads

Top