Subject: Re: XML->sexpr ideas
From: Erik Naggum <>
Date: 22 Jan 2004 10:51:11 +0000
Newsgroups: comp.lang.lisp
Message-ID: <>

* Kenny Tilton
| The only reason I thought mad serial searching was involved was the
| parent pointer, but hey, all my tree nodes know their parents so I
| certainly see the value in that.

  OK, but the point with my approach is to "load" a document into memory
  and then work on and navigate around in the in-memory representation
  instead of the edge-detection scheme that is used in the most popular
  tools.  That is, a DOM without any of the insanity.

| It seems the world agrees. The DTD is dead, long live the Schema.

  I am not pleased with this development, either, FWIW.

| Not that it matters, but why isn't the parent the first slot?

  Because the QAR is the "operator".  In the case of an entity fragment,
  the QAR is the source, and the meaning of the QBR is different, but if
  the two-dimensional vector with indexes instead of pointers is used,
  both a parent and a start position in a source would be a number.

| As for the tail being dotted, bold stroke that.  I've always felt bad
| writing code to ask my parent who is next after me just to get to my
| next sibling.

  Precisely.  That is so wrong.

Erik Naggum | Oslo, Norway

Act from reason, and failure makes you rethink and study harder.
Act from faith, and failure makes you blame someone and push harder.