public class Contact {
sequence {
string Name;
string? Email;
}
}
public class Test {
static void Main() {
Contacts cs = <Contacts>
<Contact>
<Name>Erik Meijer</Name>
<Email>{"emeijer"
+"@"+
"microsoft.com"}
</Email>
</Contact>
<Contact>
<Name>Dare Obasanjo</Name>
</Contact>
</Contacts>;
...
}
}
-- IsaacGouy - 09 Jan 2004
I like the idea of a language that understands xml and can express and check types for it. But imho xml literals are just ugly. Humans should not have to grok XML
Though most things(like gui's) could be written in some xml format, it's better to have some syntax that's more general and easier to read.
-- ArjanB - 09 Jan 2004
|
Topic TreeDataConstruction . { |
|
Revision r1.4 - 09 Jan 2004 - 20:28 GMT - ArjanB Parents: WebHome > FeatureProposals |
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |