<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.lisp.scheme.ssax-sxml">
    <title>gmane.lisp.scheme.ssax-sxml</title>
    <link>http://blog.gmane.org/gmane.lisp.scheme.ssax-sxml</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/347"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/344"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/343"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/347">
    <title>XML parsing bug?</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/347</link>
    <description>&lt;pre&gt;Hello,

using the "ssax-sxml-gambit-060529.tgz", parsing the XML document

&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;so,&amp;lt;/b&amp;gt; &amp;lt;b&amp;gt;so&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;so&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;

I get

(*TOP* (p
  (b "so,")
  (b "so")
  " and "
  (b "so")))

The space between the first "b"-tags is lost. Right now I can't check
if the latest version from the sorceforge repository produces the same
error, but I'm afraid yes, why not. Can you reproduce the bug? If yes,
is there a chance that the bug would be fixed?



&lt;/pre&gt;</description>
    <dc:creator>Oleg Parashchenko</dc:creator>
    <dc:date>2011-08-26T12:28:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/344">
    <title>how to unwrap a tag in pre-post-order</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/344</link>
    <description>&lt;pre&gt;Hello,

I try to "unwrap" an XML tag: delete the tag, but retain the subtrees.
For example, the source document:

&amp;lt;chapter&amp;gt;
  &amp;lt;proxy&amp;gt;&amp;lt;section&amp;gt;&amp;lt;/section&amp;gt;&amp;lt;/proxy&amp;gt;
  &amp;lt;proxy&amp;gt;&amp;lt;section&amp;gt;&amp;lt;/section&amp;gt;&amp;lt;/proxy&amp;gt;
&amp;lt;/chapter&amp;gt;

after unwrapping the tag "proxy" gives:

&amp;lt;chapter&amp;gt;
  &amp;lt;section/&amp;gt;
  &amp;lt;section/&amp;gt;
&amp;lt;/chapter&amp;gt;

A first attempt with SXSLT:

(define doc '(*TOP* (chapter (proxy (section)) (proxy (section)))))
(define unwrapped (pre-post-order doc `(
  (*default* . ,(lambda args args))
  (proxy     . ,(lambda (tag . kids) kids))
  )))
(display unwrapped)(newline)

The result is:

(*TOP* (chapter ((section)) ((section))))

But I want:

(*TOP* (chapter (section) (section)))

Any trick to get the desired result?

The idea is to apply several "pre-post-order" in sequence, and mix them
with sxpath expressions. But right now the result of a transformation is
not SXML anymore. Any suggestions are welcome.


&lt;/pre&gt;</description>
    <dc:creator>Oleg Parashchenko</dc:creator>
    <dc:date>2011-08-17T11:47:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/343">
    <title>sxml</title>
    <link>http://comments.gmane.org/gmane.lisp.scheme.ssax-sxml/343</link>
    <description>&lt;pre&gt;Hello all! 

I am trying to learn SXML and attempting to follow to follow a tutorial at the following URL:

http://modis.ispras.ru/Lizorkin/sxml-tutorial.html

Right away I am receiving an error on example 1 hindering my progress:

here's the code (In Modular language and using PTL scheme 4.2.3 plus the latest version of SXML)



#lang scheme

(require (planet lizorkin/sxml:2:1/sxml))

(sxml:document "http://modis.ispras.ru/Lizorkin/XML/poem.xml")




The error i receive is as Follows

XLink API error: resource doesn't exist: http://modis.ispras.ru/Lizorkin/XML/poem.xml
#f


Could I be following old syntax from this website? The SXML source code (http://planet.plt-scheme.org/package-source/lizorkin/sxml.plt/2/1/xpath-context_xlink.ss) states 
"(define (sxml:document req-uri . namespace-prefix-assig)

and "NAMESPACE-PREFIX-ASSIG is an optional argument"


any help would be greatly appreciated,

Thanks!
Dan




      
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
&lt;/pre&gt;</description>
    <dc:creator>Dan Pimentel</dc:creator>
    <dc:date>2009-12-20T21:24:02</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.scheme.ssax-sxml">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.scheme.ssax-sxml</link>
  </textinput>
</rdf:RDF>

