First,
do you want to store the whole document or the content of /user/type only?
Here is a possibility to store the content of /user/type when using X-Application 3.1.3:
<BR><xapp:directcommand type="read" docid="/user[id='nf']" document="theDocument"/><BR><BR><xapp:form document="theDocument"><BR> <xapp:setvar name="typeInVar" scope="session"><BR> <xapp:display select="/user/type"/><BR> </xapp:setvar><BR></xapp:form><BR>
Retreiving the variable is possible with our
getvar tag:
e.g.: <xapp:getvar name=“typeInVar”/>
Bye Thorsten
#webMethods#Tamino#API-Management