473,387 Members | 1,590 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,387 software developers and data experts.

XML format for extensive calendar

I was typing a bit yesterday, trying to make a reasonable XML format for
a calendar system which I will perhaps implement. One thing which struck
me after chopping down a few lines, was that to make the format
extensible and uniform, I ended up with only having
- grouping elements, like <persons> and <locations>, containing
- individual elements, like <location> and <company>, containing
- one of either <name>, <description>, or <title> element and
- numeric references to other (grouping or individual) elements.

This seems to look a lot like a relational DB, or indeed RDF. Only one
element per "object" describing it, and then the rest of the object data
references other objects.

Example:
<persons id="1">
<person id="1">
<name>
<bornName>John</bornName>
<familyName>Doe</familyName>
</name>
<job ref="1"/> <!-- a <job> with a company / organization, title etc. -->
<spouse ref="2"/> <!-- person[@id=2] -->
</person>
</persons>
<jobs id="1">
<job id="1">
<title>Professor at CERN</title>
<location ref="1"/>
<organization ref="1"/>
</job>
</jobs>
etc.

One of the intriguing things I thought to be able to do with this was
exporting / backing up data easily by just copying the file. Would you
say this is a good enough reason to avoid using an RDB? Do you have any
good reasons to
- change this format and continue using it,
- continue using this format unchanged,
- using a relational / XML DB, or
- using something else?
Jul 20 '05 #1
0 1153

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

Similar topics

2
by: Lee Falataco | last post by:
I have the tables set up in Access, viewing in column format on ASP pages but now the company wants the schedule reports to be in a wall-calendar type format. I've searched and found calendar...
7
by: Tom Petersen | last post by:
I must have the format of the below line wrong for IE: click <a href="cal.asp?sdate=<% =strDate1 %>&location=<% =strLocation %>&eTime=<% =strDate2 %>">here</a> to add this information to your...
0
by: GFro | last post by:
I have a calendar page that returns a date to a textbox on the parent page. It is returning the wrong format on the deployment server. On the development server the calendar returns to textbox in...
13
by: Roy | last post by:
Hi all, I'm creating a project that should always use this date format when displays the dates or create dates. The back end database is a SQL Server and I like to know what is the logical way...
20
by: andreas | last post by:
When I copy a vb.net project using date formats from one PC with a windows date format f.e. dd/mm/yyyy to another PC having a format yy/mm/dd then I get errors. How can I change for a while in the...
7
by: Richiep | last post by:
I am trying to get a UK format date of dd/mm/yyyy. Why does the following subroutine not return a valid date in a web form? The date returned is #12:00:00 AM# but the date I entered into the...
1
by: Yas | last post by:
Hello I've got the following Javascript for a web calendar popup that outputs the date in 4/24/2008 (m/d/yyyy). How can i modify it to output dd/mm/yyyy e.g. 24/04/2008. So all outputs are in...
1
by: Yas | last post by:
Hello I've got the following Javascript for a web calendar popup that outputs the date in 4/24/2008 (m/d/yyyy). How can i modify it to output dd/mm/yyyy e.g. 24/04/2008. So all outputs are in...
1
by: Patrick.O.Ige | last post by:
I have a simple textbox control <asp:TextBox ID="calendar" runat="server" CssClass="textbox"></asp:TextBox> ( Would be changing it to a calendar control) on a page .I want the user to type...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...

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.