Hi there,

 

I'm facing a problem I cannot understand.

 

I'm getting a node reference with this xpath query :

 

/jcr:root/lgw:root/lgw:contracts/descendant::*[position() = 
1]/descendant::*[position() = 6]/@lgw:externalContractor

 

The lgw:externalContractor holds a reference to a node of lgw:contractorType.

 

But when I try to dereference it with the following query, it does not return 
me my node...

 

/jcr:root/lgw:root/lgw:contracts/descendant::*[position() = 
1]/descendant::*[position() = 6]/jcr:deref(@lgw:externalContractor, 
'lgw:contractorType')

 

Does someone have an idea of something I would be missing?

 

Thanks !

 

Frederic Esnault 

Reply via email to