Skip to content

Instantly share code, notes, and snippets.

@jgambill
Last active August 29, 2015 14:03
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgambill/51629ee0d1039b3f3c4a to your computer and use it in GitHub Desktop.
Save jgambill/51629ee0d1039b3f3c4a to your computer and use it in GitHub Desktop.
<!-- a schema for my postcard, with some commented-out stuff for other possibilities -->
<!-- ?. *, + act the same as quantiifers in regex -->
<!-- file extension has an extra .xml on the end to get github to color-code properly -->
element postcard {
<!-- attribute example
element date {
attribute iso-date { xsd:gYear }?,
text
},-->
element sender { text },
element recipient { text },
element date { xsd:iso },
element parts {
element heading { text },
element greeting { text }*,
element body { text },
element closing { text },
element signature {
element text { text },
element image { image }? <!-- is this the right type for image/url? -->
}
}+
}
<postcard>
<sender>Jung, Carl</sender>
<recipient>Jelliffe, Smith Ely</recipient>
<date>1931-10-13</date>
<parts>
<heading>Küsnacht, Oct. 13th</heading>
<greeting>My dear Jelliffe,</greeting>
<body>
It is nice to hear of you again
after many years.
I just want to tell you that I see no
point in sending my papers to your journal. You surely
know that I am a mystic according to American standards.
So I think that it will be theoological journals that
might refer to my papers. I have noticed that my medical
colleagues find it particularly hard to understand my
ideas. I therefore should prefer not to disturb the peac
of their mind. The things that I have written in the
last years are the only psychological stuff, which I suppose
is Chinese to the readers of your journal. You will
excuse therefore if I prefer not to enter upon your
proposition.
</body>
<closing>Sincerely yours</closing>
<signature>
<text>C.G. Jung.</text>
<image>[link to image]</image>
</signature>
</parts>
</postcard>
@jgambill
Copy link
Author

I found this item on the LOC Exhibits website -- not knowing the full year and the recipient's full name was driving me crazy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment