Re: Does it make sense to work only with strings?
"Oleg A. Paraschenko" <[email protected]> Thu, 23 Dec 2004 09:56:29 +0300
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Organization | xmlhack.ru |
| Message-ID | <[email protected]> |
Hello Dmitry, On Wed, 22 Dec 2004 12:49:42 +0300 "Dmitry Lizorkin" <[email protected]> wrote: ... > > I believe it useful to make SXPath consistent with the SXML > Specification ... Nice to hear it. > and thus make SXPath consider non-string attribute > values and text nodes as a correct situation. > > I modified the function "sxml:string-value" and committed the file > "sxpath-ext.scm" to SSAX CVS on SourceForge. Thank you, it works. > ... > To elaborate, it may also be reasonable to map the XPath node test > "text()" not to > (ntype?? '*text*) > as it is currently mapped in SXPath, but to > (ntype?? '*data*) > in order to be able to extract non-string attribute values and text > nodes properly with SXPath. Does anyone has any objections to making > such a change in SXPath? No, I'm not against. > > Dmitry > > > -- Oleg ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/