Sorry if this is a bit off topic.

 

Trying to process both node and text children in a for loop.  For some
reason this escapes me.

 

let $expr :=
<expression><refobj>REFOBJ1</refobj>TEXT1<refobj>REFOBJ2</refobj></expressio
n>

for $x in $expr/* return $x

 

returns:

 

<refobj>REFOBJ1</refobj>
<refobj>REFOBJ2</refobj>

 

How do I access TEXT1 in a loop?

 

Thanks,

Gary

 

 



 <http://www.envisn.com/> Envisn

Gary Larsen

|  <http://www.envisn.com/> Envisn, Inc.

| 508.259.6465

|  <http://www.envisn.com/blog> Envisn's IBM Cognos Blog

 

 

 

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to