[Home] [By Thread] [By Date] [Recent Entries]
On Mon, Jun 3, 2013 at 4:49 PM, David Lee <dlee@c...> wrote:
Sorry, it's not quite recess, though I'm sure I wouldn't mind a bit of recess. So I'm not going to define "simple" and "complex". You'll have to use your definitions, or the dictionary's will do.
Of course I think Amara is the easiest, but then I'm biased. I think Python's ElementTree is pretty easy as well, though it does have some baffling quirks with respect to Unicode and mixed content. LINQ also seems pretty easy, though I haven't done as much with it.
As for the Java world, I have no idea, but I do know that Java seems to be complex by default. Perhaps just using Jython or Groovy's facilities is the best bet.
Hang on. Let's remember the point in opposition here: generating a schema from an XML file, generating a data binding from that and then deriving from and using the resulting classes. I'm skeptical that anyone will make it through that journey without picking up enough about XML to have just profited from the simpler tools in question.
I've not considered such tools myself in the reckoning. After all, there is always grep, so we could *really* short-cut the thread if we like.
Well substitute SQL or JSON or even plain strings in the above, and you're left with the same question, so I don't see it as anything extraordinary with XML.
"How about lots of databases? Can you load them all at once? or do you have to handle them sequentially?" Again I think you're taking general-purpose concerns and somehow suggesting they're XML-specific.
Consider C and the various arguments to fopen. Same consideration applies.
Back to recess? Could you define in once sentence what a mapping is?
And for an encore, recite the U section of the Encyclopaedia! I could go on and on, after you, but I think the above gives the pattern.
I argue you *do* actually need to know quite a bit of specialist knowledge of XML to answer the above, and if you dont
Well, most of the above doesn't seem relevant to answer in the general case, so that seems a very strange conclusion to me. Uche Ogbuji http://uche.ogbuji.net Founding Partner, Zepheira http://zepheira.com http://wearekin.org http://www.thenervousbreakdown.com/author/uogbuji/ http://copia.ogbuji.net http://www.linkedin.com/in/ucheogbuji http://twitter.com/uogbuji
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



