Re: SXML in Emacs
"Joerg F. Wittenberger" <[email protected]> Fri, 16 Jul 2004 12:36:42 +0200
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Organization | softeYes |
| Message-ID | <[email protected]> |
Hi Oliver, Oliver Scholz <[email protected]> writes: > I am working on an XML parser framework, much inspired by SSAX, for > GNU Emacs. An important part of this will probably be an XML->SXML > parser. Oh, great! I'd love to use my good old emacs for XML. I have too much XML in that p2p database and just mozilla to edit it. :-/ > For my XML processing tasks I need a data structure that allows to > keep the contents of a text-node in an Emacs buffer, as an alternative > to keeping them only in Lisp strings. The plan is to have a unique ... > Any thoughts? Or is SXML just not the right thing for me? I have no > particular need for it myself, but I fancied that it would be nice for > users to have a somewhat standard s-expression representation. I had a simillar problem with Askemos/BALL. Only that I had reason to stick with a uniqe data type for the element nodes. Eventually that implied for me, that I can't switch to SXML as the internal data structure. But I'd be fancied for standard too. How about either define the standard in terms of predicates (like xml-element?, xml-attribute? and xml-literal?) or implement it as converter from SXML representation to the internal representation. I'm personally in favor for the predicate-approach, since it would save processing. best regards /Jörg -- The worst of harm may often result from the best of intentions. www.askemos.org ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_idG21&alloc_id040&op=click