473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Representing Meta Data using an XML Schema

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>or********@abc.org</from>
<to>re*******@here.com</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
Jul 20 '05 #1
0 1098

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James | last post by:
In certain applications, it is necessary to distinguish between an emptyString vs. a null value. What is the appropriate way to make this distinction in XML? <elementName></elementName> looks...
4
by: Mike | last post by:
I am writing a post-processor for an existing XML document (that I have no control over), this entails a lot of inserting and deleting of nodes. I don't want to have to hard code the...
0
by: White Falcon | last post by:
Hi! I would like to build a Schema of a Schema to incorporate extensibility and flexibility into my XML model. So, in effect - I would like an intance document, a model and its meta-model. ...
0
by: White_Falcon | last post by:
Hello, I wonder if anyone has experience in constructing a meta-schema or a meta-model. I wish to build a meta-schema containing various data types and components which would shape up a form...
16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
5
by: Ian Pilcher | last post by:
I was just wondering if anyone has ever been able to use the W3C meta- schema (from http://www.w3.org/2001/XMLSchema) to actually validate a schema, including the meta-schema itself. The tools...
2
by: Pet Matrix. | last post by:
Hi, I am having the schema and one element in that schema is , <xs:element name="EndT" type="TstampType" minOccurs="1" maxOccurs="1"/> How do I represent the NULL value for the datatype dateTime...
2
by: localhost | last post by:
I have these in all of my pages: <meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1"> <meta name="CODE_LANGUAGE" Content="C#"> <meta name=vs_defaultClientScript...
0
by: =?Utf-8?B?Y2luZHk=?= | last post by:
I know I wrote before a week ago when I knew even less than now but I am getting better please anyone give me a clue or an example. Am I completely off track? I have a datarow in a table with the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.