Re: GSXML, an SXML dialect
"Oleg A. Paraschenko" <[email protected]> Sat, 29 Jul 2006 09:05:58 +0400
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Organization | private person |
| Message-ID | <[email protected]> |
Hi Julian, On Thu, 27 Jul 2006 10:18:38 -0400 "Julian Graham" <[email protected]> wrote: > Have you guys looked at my project, SDOM? It's a DOM implemented > around SXML, so I don't know if it's quite what you're looking for, Yes, I'm aware about SDOM. Sorry, I've forgotten to reference it. I'll fix it in the next revision of the text. DOM is something I definitively avoid to use. Using DOM in programs is like programming in assembler, except the latter is fun, but the former is only tiresome coding. Or, in other words, from one of the early responses on SDOM: On Thu, 16 Dec 2004 11:44:35 -0500, Mike Lin <mikelin@mi...> wrote: > Everyone has different needs, and your mileage may vary, but I think > most SSAX users find that manipulating an SXML structure with Scheme"s > native linguistic features (assoc, pattern matching, etc.) is much > preferable to using a DOM API in Scheme or any other language. > but I think it solves a number of the problems mentioned in your paper > -- for example: > > - 1.2 / 1.3: In SDOM, XML nodes are "strongly typed," so to speak. > It's never ambiguous whether a node is an attribute or an element etc. > - 2.2: SDOM annotates SXML documents with parent node pointers and > maintains document node pointers for nodes when they are manipulated > outside the context of the full SXML s-expression. Presumably, you are aware about the paper "On parent pointers in SXML trees". > - 2.3: SDOM is explicitly capable of ordering a document in > document-order. Interesting. Do you mean, if I have "node1" and "node2", SDOM can say if "node1" comes before or after "node2"? If yes, would you please describe how you implemented it? - 2.4: As required by the document normalization API in > the DOM recommendation, SDOM can join adjacent text nodes during > normalization. > > Furthermore, all SDOM documents are also perfectly valid SXML > documents and can thus be passed to and from applications that only > speak SXML. (I should point out that, at the moment, SDOM is only > compatible with GNU Guile, but compatibility with other Scheme > implementations should not be too difficult to achieve...) > > There's a manual and links to download the module at: > > http://www.nongnu.org/sdom/ > > Hope this helps! > > > Regards, > > Julian > > > On 7/26/06, Oleg A. Paraschenko <[email protected]> wrote: > > Hello, > > > > for my developments, I'm going to use GSXML, a dialect of SXML, with > > an alternative representation of attributes and auxiliary nodes. > > Details on GSXML and reasons why SXML isn't satisfactory are here: > > > > http://xmlhack.ru/protva/xquery/index.php/TowardsXslt > > > > I wonder if anyone else is interested in using GSXML. Are there any > > chances of adoption? > > > > To Kirill Lisovsky: if I remember correctly, we talked about porting > > XSieve to Gambit. Now I think the port is feasible, but it will use > > GSXML. Is it ok for your purposes? > > > > > > -- > > Oleg Parashchenko olpa@ http://uucode.com/ > > http://uucode.com/blog/ Generative Programming, XML, TeX, Scheme > > > > --------------------------------------------------------------------- -- Oleg Parashchenko olpa@ http://uucode.com/ http://uucode.com/blog/ Generative Programming, XML, TeX, Scheme ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV