[Openmcl-devel] CXML-RNG, Plexippus XPath, and Xuriella XSLT
rm at tuxteam.de
rm at tuxteam.de
Sun May 20 08:00:16 PDT 2012
On Sun, May 20, 2012 at 10:54:58AM +0000, Steven N??ez wrote:
> Greetings,
>
> Has anyone got any of the above working on CCL? Specifically I'm trying to use Plexippus, but get:
>
> Unknown type specifier: CXML-STP-IMPL::DOCUMENT-TYPE
>
> When invoking any Plexippus functions. Not even the simple examples in the documentation run. This is on the latest 1.8 CCL.
>
> Any other suggestions for XPath with CCL?
No problem here:
*-----------------------------------------------------------------------------
|
| (ql:quickload "xpath")
|
| (defvar *doc*
| (cxml:parse "<doc><a>foo</a><b>foo<a>Test</a></b></doc>"
| (cxml-dom:make-dom-builder))
| "A simple xml document")
|
| => *DOC*
|
| (xpath:evaluate "/" *doc*)
|
| => #<XPATH:NODE-SET #<DOCUMENT {C8F9189}>, ... {B7DF609}>
|
| (defvar all-a-nodes (xpath:evaluate "//a/text()" *doc*))
|
| => ALL-A-NODES
|
| (xpath:do-node-set (a-node all-a-nodes)
| (format t "Node ~A~%" (xpath:string-value a-node)))
|
| Node foo
| Node Test
| => NIL
|
*-------------------------------------------------------------------------------------
Maybe you can report to us your version/platform of CCL? And hoew did
you load cxml/plexippus etc.?
Cheers, Ralf Mattes
> Regards,
> - SteveN
>
> --
> Illation Pty Ltd
> 8/350 Collins Street
> Melbourne 3000
>
> T: +61 3 8399 9442
> M: +61 4 0096 4240
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list