0
|
1 |
"{ Package: 'stx:goodies/xmlsuite/xquery' }"
|
|
2 |
|
|
3 |
"{ NameSpace: XQuery }"
|
|
4 |
|
|
5 |
XMLv2::XPathDOMAdaptorXMLReader variableSubclass:#XQueryResultXMLReader
|
|
6 |
instanceVariableNames:''
|
|
7 |
classVariableNames:''
|
|
8 |
poolDictionaries:''
|
|
9 |
category:'XQuery-Executor'
|
|
10 |
!
|
|
11 |
|
|
12 |
|
|
13 |
!XQueryResultXMLReader methodsFor:'visiting'!
|
|
14 |
|
|
15 |
visit: nodeId
|
|
16 |
|
|
17 |
"Dirty hack because of primitive values in result items"
|
|
18 |
|
|
19 |
((nodeId isString) or:[nodeId isInteger or:[nodeId isBoolean or:[nodeId isFloat]]])
|
|
20 |
ifTrue:[^contentHandler characters: nodeId printString].
|
|
21 |
^super visit: nodeId.
|
|
22 |
|
|
23 |
"Created: / 14-12-2006 / 14:58:15 / janfrog"
|
|
24 |
"Modified: / 26-12-2006 / 09:13:33 / janfrog"
|
|
25 |
! !
|
|
26 |
|
|
27 |
!XQueryResultXMLReader class methodsFor:'documentation'!
|
|
28 |
|
|
29 |
version
|
|
30 |
^ '$Header: /opt/data/cvs/stx/goodies/xmlsuite/xquery/XQuery__XQueryResultXMLReader.st,v 1.2 2007-01-03 08:53:33 vranyj1 Exp $'
|
|
31 |
! !
|