sxml

Dan Pimentel <nepentheman99-/[email protected]> Sun, 20 Dec 2009 13:24:02 -0800 (PST)
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
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