Click here to Skip to main content
15,917,953 members
Home / Discussions / Database
   

Database

 
GeneralRe: Query Analyzer for SQL Server 2005? Pin
Jörgen Sigvardsson14-Aug-06 14:15
Jörgen Sigvardsson14-Aug-06 14:15 
GeneralRe: Query Analyzer for SQL Server 2005? Pin
Mike Dimmick14-Aug-06 16:09
Mike Dimmick14-Aug-06 16:09 
GeneralRe: Query Analyzer for SQL Server 2005? Pin
Jörgen Sigvardsson14-Aug-06 21:44
Jörgen Sigvardsson14-Aug-06 21:44 
GeneralRe: Query Analyzer for SQL Server 2005? Pin
Mike Dimmick15-Aug-06 1:08
Mike Dimmick15-Aug-06 1:08 
Questioncan any one give following vb code conversion in C# with correct syntaxes Pin
URSrafI14-Aug-06 4:40
URSrafI14-Aug-06 4:40 
AnswerRe: can any one give following vb code conversion in C# with correct syntaxes Pin
Colin Angus Mackay14-Aug-06 4:48
Colin Angus Mackay14-Aug-06 4:48 
AnswerRe: can any one give following vb code conversion in C# with correct syntaxes Pin
Ennis Ray Lynch, Jr.14-Aug-06 4:53
Ennis Ray Lynch, Jr.14-Aug-06 4:53 
QuestionXML document definition question Pin
Super Lloyd14-Aug-06 4:23
Super Lloyd14-Aug-06 4:23 
I have a class which looks like that:

class Stuff
{
Dictionary<string, object> properties;
List<Stuff> children;
}

I'm writing a home made XML 'serialization'.
I quote that, because it's not serialization, I'm writing the XML writer myself (without System.Reflection).


I'm using a shema like that:
<stuff count=2 key1="value1" key2="value2" key3="value3">
<stuf>
.........
</stuff>
<stuf>
.........
</stuff>
</stuff>

where count = children.Count
and key1,2,3 are the keys in the properties dictionary and value1,2,3 their values.

properties is to be filled by the user with whatever (s)he wants.


Now my problem is:
==============

As the user could put whatever (s)he wants in the properties dictionary (s)he could as well create a key named 'count', therefore the 'count' atribute will be present twice in the tag.

It's not a problem for my reader (which expect a first count followed by any kind of attribute) but it might be for other people wanting to consume my XML documents.

What do you think?

it's actually much easier this way...
(particularly because this sample output is far from the whole story)
AnswerRe: XML document definition question Pin
Ennis Ray Lynch, Jr.14-Aug-06 6:10
Ennis Ray Lynch, Jr.14-Aug-06 6:10 
GeneralRe: XML document definition question Pin
Super Lloyd14-Aug-06 13:00
Super Lloyd14-Aug-06 13:00 
QuestionRandom alphanumeric generator Pin
totig14-Aug-06 0:41
totig14-Aug-06 0:41 
AnswerRe: Random alphanumeric generator Pin
totig14-Aug-06 2:19
totig14-Aug-06 2:19 
QuestionRegarding Usage of datatype 'text' Pin
H he el el oooo13-Aug-06 23:01
H he el el oooo13-Aug-06 23:01 
AnswerRe: Regarding Usage of datatype 'text' Pin
Mike Dimmick14-Aug-06 0:01
Mike Dimmick14-Aug-06 0:01 
GeneralRe: Regarding Usage of datatype 'text' Pin
H he el el oooo14-Aug-06 3:01
H he el el oooo14-Aug-06 3:01 
AnswerRe: Regarding Usage of datatype 'text' Pin
Mike Dimmick14-Aug-06 12:59
Mike Dimmick14-Aug-06 12:59 
QuestionHow to set array parameter in Sybase ASE stored procedure? Pin
Best Kiluyar13-Aug-06 20:57
Best Kiluyar13-Aug-06 20:57 
Questiongetting data from a parent table Pin
Glen Harvy13-Aug-06 18:46
Glen Harvy13-Aug-06 18:46 
AnswerRe: getting data from a parent table Pin
Eric Dahlvang14-Aug-06 10:32
Eric Dahlvang14-Aug-06 10:32 
GeneralRe: getting data from a parent table [modified] Pin
Glen Harvy14-Aug-06 13:00
Glen Harvy14-Aug-06 13:00 
QuestionReduce multiple SQL statements [modified] Pin
myNameIsRon13-Aug-06 12:34
myNameIsRon13-Aug-06 12:34 
AnswerRe: Reduce multiple SQL statements Pin
Colin Angus Mackay13-Aug-06 13:00
Colin Angus Mackay13-Aug-06 13:00 
GeneralRe: Reduce multiple SQL statements Pin
myNameIsRon13-Aug-06 15:26
myNameIsRon13-Aug-06 15:26 
Questionhandling closed page Pin
abonasser13-Aug-06 3:20
abonasser13-Aug-06 3:20 
AnswerRe: handling closed page Pin
Colin Angus Mackay13-Aug-06 3:46
Colin Angus Mackay13-Aug-06 3:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.