XSLT question

Hi all,
Need help on reading attribute value of XML field in XSLT mapping .
Part of source code, where we want to read attribute actionCode value i.e., "Accepted".
<ResponseCriteria actionCode="Accepted">
                                   <ChangeStatus>
                                        <Code>Position Opening was created</Code>
                                        <ReasonCode/>
                                        <Reason>PositionID assiggned - 10939</Reason>
                                        <Description/>
                                   </ChangeStatus>
                              </ResponseCriteria>
We are able to reach till the location with below code in XSLT,
<xsl:value-of select="//*[local-name()='ResponseCriteria']"/>
This code is giving us values of Code & Reason fields.
How to get the values of attribute actionCode?? any ideas........

Rahul has correctly pointed that xsl:value-of can also be used to retrieve the value of attributes of XML elements.
<xsl:value-of select="@actioncode"/> -

Similar Messages

  • XML/XSLT question

    At the moment my java servlet just takes content from an ArrayList and populates html blocks that get concatenated and thrown to the client as a html page. This is not the best way to do things because the java code and html vocabulary is interspersed.
    In a bid to seperate the presentation(html code) from the logic(java code) I am turning to XSLT. From my research this takes as input an XML file that contains the content. But how do you insert the content? Is there a standard way? When the tranformation from XML to html is complete, how do you hand back the resulting html page within the java application? Thanks in advance.

    One solution would be to use a JSP. It can retrieve the ArrayList from the Servlet and use it to build HTML. At least that way the mixture of HTML and Java is minimized in the source form. (Behind the scenes, the JSP is turned into a Servlet, so the mixture is still there, it is just not as visible.)
    Another choice is to use DOM or JDOM to create the Html content using Element objects to create tags. The main advantage of that over doing "
    ...out.println( "<h1>...</h1>);
    is that it makes sure the closing tags match, and empty tags are properly coded.
    In answer to your direct question, there is no standard for how to code data into XML so you can run an XSLT transform to convert it into HTML. It also mixes Java logic and XML in the same file. You need to choose your poison.
    Dave Patterson

  • Xslt question (114.XSLTTransformations)

    the xslt in this sample has the following for the buyers and sellers streets:
    <street><xsl:value-of select="a:address/a:street1"/> <xsl:value-of select="a:address/a:street2"/>
    There is a space between the value of street1, and street2, however the result is in the format:
    <street>Bridge Parkway1600</street>
    and the space has been removed.
    could someone explain why the space is being ignored? I can add other characters, e.g. " -" and i then see both the space and minus symbol.
    Toby

    Hi Toby,
    I had a similar problem, my case was opposite, but I think it trims all the space , anyways if there is a new line then that is not trimmed. my suggestion is to use nbsp; instead of space, and also use any text like this and it should work fine
    <xsl:text> </xsl:text>
    It should work fine.
    Let me know how you went.
    Cheers
    Sandeep

  • XSLT question, Parameters from itab

    Hi Experts,
    I'm using the following code in my abap program:
    TYPE-POOLS: abap.
    TYPES: BEGIN OF line_type,
      vartag   TYPE string,
      varvalue TYPE string,
      END OF line_type.
    TYPES: itype TYPE TABLE OF line_type.
    DATA: gt_source_itab TYPE abap_trans_srcbind_tab,
          gs_source_wa   TYPE abap_trans_resbind.
    DATA: line TYPE line_type.
    DATA: itab TYPE itype.
    DATA: output_stream TYPE xstring.
    clear line.
    line-vartag   = 'tagname'.
    line-varvalue = 'value'.
    APPEND line TO itab.
    GET REFERENCE OF itab INTO gs_source_wa-value.
    gs_source_wa-name = 'TAG'.
    APPEND gs_source_wa TO gt_source_itab.
    TRY.
        CALL TRANSFORMATION z_cd_xsl
          SOURCE (gt_source_itab)
          RESULT XML output_stream.
    In my Transformation I'm having trouble using the right expression in the select-attribute of xslt-element "xsl:with-param".
    <xsl:transform version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:sap="http://www.sap.com/sapxsl"
    >
    <xsl:include sap:name="Z_INCLUDE_UDKXML"/>
    <!-- xsl:strip-space elements="*"/ -->
    <xsl:template match="/">
    <xsl:call-template name="udk_nachrichtenAnfang">
                   <xsl:with-param name="NachrAnf_MesBez" select=<Don't know what to do here> />
    There are no syntactic errors (rest of the corresponding code is in the include). If i just set the select attribute with plain text, it works. But I want to use the value from my abap variable "varvalue".
    I tried select='$LINE-VARVALUE', select="//TAG/VARVALUE", select="VARVALUE" and several others, didn't work.
    I'm guessing I'll need some XPATH expression to access the serialized asXML deep structure, but I can't figure it out
    Regards, Lukas

    Check this code.....
    <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sap="http://www.sap.com/sapxsl" version="1.0">
      <xsl:strip-space elements="*"/>
      <xsl:template match="/">
        <TAG>
          <xsl:apply-templates select="//TAG/item"/>
        </TAG>
      </xsl:template>
      <xsl:template match="TAG/item">
        <item>
          <VARTAG>
            <xsl:value-of select="VARTAG"/>
          </VARTAG>
          <VARVALUE>
            <xsl:value-of select="VARVALUE"/>
          </VARVALUE>
        </item>
      </xsl:template>
    </xsl:transform>

  • Dreamweaver, XSLT question

    I'd like to duplicate a node. The duplicate has to be placed as the first child of the root. The original node has to remain intact.
    Is this possible with XSLT in Dreamweaver?

    I'd like to duplicate a node. The duplicate has to be placed as the first child of the root. The original node has to remain intact.
    Is this possible with XSLT in Dreamweaver?

  • A XSLT question?

    How to use XSLT to transform several XML files, then generate one output file?
    I have one xsl file and many XML files, and I want to transform XML files to just one output file.
    How to do it?
    Waiting for your reply. Thank you.

    <!-- Open the relevant document and use the templates for handling schema information
    to translate it. -->
    <xsl:variable name="doc1" select="document('foo.xml')"/>
    <!-- Use for-each as a convenient way to pass content to relevant template, we're not
    actually expecting to get more than one file returned. -->
    <xsl:for-each select="$doc1">
    <xsl:apply-templates select="schema"/>
    </xsl:for-each>
    In fact the string defining the name of the document is taken from the 'higher-level' XML document rather than being a constant value

  • XSLT Question: xsl:for-each select="//MYELEMEMT[1]"

    Hi everybody,
    does anybody know, what [1] means?
    Thanks Regards Mario

    Check this:
    http://www.w3schools.com/xpath/xpath_examples.asp
    <i>select the First book Node
    The following example selects only the first book node under the bookstore element:
    xmlDoc.selectNodes("/bookstore/book[0]")
    If you have IE 5 or higher you can try it yourself
    Note: IE5 and later has implemented that [0] should be the first node, but according to the W3C standard it should have been [1]!!
    A Workaround!
    To solve the [0] and [1] problem in IE5+, you can set the SelectionLanguage to XPath.
    The following example selects only the first book node under the bookstore element:
    xmlDoc.setProperty "SelectionLanguage", "XPath"
    xmlDoc.selectNodes("/bookstore/book[1]")</i>
    Regards
    Stefan

  • Any way to generate a single quote (') with XSLT?

    Hi:
    I guess this is really an XSLT question. I'm using the Transform() method of an XMLType variable to apply a style sheet. The XML in the variable is just something simple like
    <TBL>
    <LAST_NAME>LIKE|JONES</LAST_NAME>
    <FIRST_NAME>=|MARY</FIRST_NAME>
    <AGE>=|50</AGE>
    </TBL>
    I am trying to get a stylesheet to transform something like the above into SQL such as
    Select * from foo where LAST_NAME like 'JONES'
    and FIRST_NAME ='MARY'
    and AGE = 50But to do this, I need to generate the single quotes around the search terms and I can't get anything but LAST_NAME LIKE &apos;JONES&apos;. Is there a way to do this? For now I am generating a ~ and replacing ~ for ' throughout the generated SQL text but that's a pretty sorry solution.
    I thought that something like <xsl:text disable-output-escaping="yes">&amp;</xsl:text> was going to work but then found out it has been deprecated. I was thinking character-map might work but that's an XSLT 2.0 thing and apparently 10g is on XSLT 1.0? In any case, it had no idea what I was trying to do with a character map.
    So, am I overlooking an obvious way to get my stylesheet to insert apostrophes?
    Thanks.

    It's 10.2.0.4.
    Here's the procedure that accepts the XML/XSL clobs and tries to produce a SQL statement.
    PROCEDURE GetSQLQueryFromXML(XMLClob in CLOB, XSLStylesheet in CLOB,
                SQLQuery out CLOB, status out integer) IS
        -- Define the local variables
      xmldata               XMLType;  -- The XMLType format of the XML to transform
      xsldata               XMLType;  -- The XMLType format of the stylesheet to apply
      sqlQuery_XMLType      XMLType;  -- The XMLType format of the SQL query.
      v_SQLQuery            Clob;     -- Holds XML Clob before translating ~ to '
    BEGIN
    status := -1;  -- Initially unsuccessful
      -- Get the XML document using the getXML() function defined in the database.
      -- Since XMLType.transform() method takes XML data as XMLType instance,
      -- use the XMLType.createXML method to convert the XML content received
      -- as CLOB into an XMLType instance.
      xmldata := XMLType.createXML(XMLClob);
      -- Get the XSL Stylesheet using the getXSL() function defined in the database.
      -- Since XMLType.transform() method takes an XSL stylesheet as XMLType instance,
      -- use the XMLType.createXML method to convert the XSL content received as CLOB
      -- into an XMLType instance.
      xsldata := XMLType.createXML(XSLStylesheet);
      -- Use the XMLtype.transform() function to get the transformed XML instance.
      -- This function applies the stylesheet to the XML document and returns a transformed
      -- XML instance.
      sqlQuery_XMLType := xmldata.transform(xsldata);
      -- Return the transformed XML instance as a CLOB value.   
      v_SQLQuery := sqlQuery_XMLType.getClobVal();
      -- Change tildas to apostrophes.  Currently unable to get an XSLT transformation
      -- to insert single quotes, so we're inserting ~ instead.  Now we need to
      -- translate all ~s to 's in our query.
      SQLQuery := translate(to_char(v_SQLQuery),'~','''');
      status := 1; -- Everything went fine to get here
    EXCEPTION
      WHEN OTHERS THEN         
        raise_application_error
        (-20102, 'Exception occurred in GetSQLQueryFromXML :'||SQLERRM);
    END GetSQLQueryFromXML;The XML it works off of is
        someXML CLOB :=
        to_clob('<?xml version="1.0" encoding="windows-1252" ?>
    <variable table_name="SOME_PERSON_TABLE" query_type="PERSON">
      <item>
        <fieldName><![CDATA[PERSON_KEY]]></fieldName>
        <criteria><![CDATA[=]]></criteria>
        <fieldType><![CDATA[Integer]]></fieldType>
        <value><![CDATA[123456789]]></value>
      </item>
      <item>
        <fieldName><![CDATA[LAST_NAME]]></fieldName>
        <criteria><![CDATA[=]]></criteria>
        <fieldType><![CDATA[String]]></fieldType>
        <value><![CDATA[DOE]]></value>
      </item>
      <item>
        <fieldName><![CDATA[FIRST_NAME]]></fieldName>
        <criteria><![CDATA[=]]></criteria>
        <fieldType><![CDATA[String]]></fieldType>
        <value><![CDATA[JOHN]]></value>
      </item>
      <item>
        <fieldName><![CDATA[MIDDLE_NAME]]></fieldName>
        <criteria><![CDATA[-]]></criteria>
        <fieldType><![CDATA[String]]></fieldType>
        <value />
      </item>
      <item>
        <fieldName><![CDATA[SUFFIX]]></fieldName>
        <criteria><![CDATA[-]]></criteria>
        <fieldType><![CDATA[String]]></fieldType>
        <value />
      </item>
    </variable>');And the corresponding XSLT that should translate it is:
      myStylesheet  CLOB :=
      to_clob('<?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <!-- <xsl:preserve-space elements="list-of-element-names"/> -->
      <!-- We just want the SQL text output.  No XML declaration etc. -->
      <xsl:output method="text" omit-xml-declaration="yes" indent="no"/>
    <!-- Apostrophes will be made tildas and the PL/SQL will translate those to -->
    <!-- apostrophes for the final SQL string. -->
    <xsl:variable name="apos">~</xsl:variable>
      <xsl:template match="/">
        select * from
        <xsl:value-of select="variable/@table_name"/>
        where 1=1
        <xsl:for-each select="variable/child::node()">
          <xsl:choose>
            <!-- if the value node is not null... -->
            <xsl:when test="./value/text()[normalize-space(.)]">
            <!-- There is another predicate.  Add the AND term and the predicate -->
              AND <xsl:value-of select="./fieldName"/>
              <xsl:text> </xsl:text>
              <xsl:value-of select="./criteria"/>
              <xsl:text> </xsl:text>       
              <xsl:choose>
                <xsl:when test="string(./fieldType)=''String''">
                  <xsl:copy-of select="$apos" />
                  <xsl:value-of select="./value"/>
                  <xsl:copy-of select="$apos" />
                </xsl:when>         
                <xsl:when test="string(./fieldType)=''Clob''">
                  <xsl:copy-of select="$apos" />
                  <xsl:value-of select="./value"/>
                  <xsl:copy-of select="$apos" />
                </xsl:when>
                <xsl:otherwise>
                  <xsl:value-of select="./value"/>
                </xsl:otherwise>
              </xsl:choose>
            </xsl:when>
          </xsl:choose>
        </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>');Basically if the VALUE element has a value then the fieldType is checked. If fieldType is String or Clob then we'll need the apostrophes. For now I'm putting in tildas and changing them later.

  • XSL file include problem.

    Hi Friends,
    We are facing problem while include our file inside XSL.
    we have code like below
    <xsl:for-each select="givingLanding/briefPageInclude">
                                  <xsl:variable name="pageUrl" select="pageUrl" />
                                       <xsl:choose>
                                            <xsl:when test="not($pageUrl = '') ">
                                                 <!-- <xi:include href="{$pageUrl}"/> -->
                                                 <xsl:text disable-output-escaping="yes"><#include file="</xsl:text>
                                                 <xsl:value-of disable-output-escaping="yes" select="pageUrl" />
                                                 <xsl:text disable-output-escaping="yes">"></xsl:text>
                                            </xsl:when>
                                       </xsl:choose>
                             </xsl:for-each>Here we tried two ways two attach file but none of them attach the given file. ( here it will render XSL --> XHTML output)
    Can anybody have idea how to include file ? ( in such loop structure)
    Thanks

    It's a little hard to quess what you're trying to do based on the XSLT you posted.
    You can't xsl:include a document whose URL is determined at run time in XSLT. The normal pattern is to generate the stylesheet using XSLT to insert the path, then apply that generated stylesheet.
    In XSLT2 you can fetch a document whose URL is determined at run time, and operate on that, if that's what you're trying to do. See the [document function|http://www.w3.org/TR/xslt#document]
    XSLT questions are better asked on the [Mulberry XSL list |http://www.mulberrytech.com/xsl/xsl-list/].

  • Question about JSP, XSLT and JDOM

    hi, folks. Let's say within page1.jsp, i have <jsp:include page="page2.jsp" flush="true"> On the other hand, i have a servlet helper class which queries the database, then converts the ResultSet object into a JDOM Document object. My question is i want to make the transformed output of the JDOM Document and XSLT template to be a partial content of the page2.jsp page. How can i get this done properly? I have no problem of doing the transformation, but just dont know how to concatenate the output with the rest content of page2.jsp. Hope i clearly explained the question. Any advice is greatly appreciated.
    //code fragment on page2.jsp
    <td valign="top" width="788">
        <font size="3"><br>  
            <p>
           //i want put the transformed results here
           </p>
         </font>
    </td>

    this is a fragment of my testing program, which transform direct to response output stream. but i dont want put this bounch of java code within page2.jsp. do i some other way around to get it done?
    Document myDocument = createDocument();
                   TransformerFactory tFactory = TransformerFactory.newInstance();
                // Make the input sources for the XML and XSLT documents
                org.jdom.output.DOMOutputter outputter = new org.jdom.output.DOMOutputter();
                org.w3c.dom.Document domDocument = outputter.output(myDocument);
                javax.xml.transform.Source xmlSource = new javax.xml.transform.dom.DOMSource(domDocument);
                StreamSource xsltSource = new StreamSource(new FileInputStream("d:/tomcat/webapps/project/car.xsl"));
            //Make the output result for the finished document
                StreamResult xmlResult = new StreamResult(response.getOutputStream());
                //StreamResult xmlResult = new StreamResult(System.out);
            //Get a XSLT transformer
            Transformer transformer = tFactory.newTransformer(xsltSource);
            //do the transform
                transformer.transform(xmlSource, xmlResult);

  • XSLT, XML Question???

    I've recently found that I can use XSLT to transform XML docs into SQL using x-path... Is there any documentation out there referencing a transformation using x-query???? I've searched the web but have not seem much on this...
    Any direction would be greatly appreciated.

    XSLT doesn't use XQuery. So it's not surprising you haven't found much documentation about using XQuery in XSLT. You might want to direct questions like this one to an XSLT forum rather than a Java forum.

  • XSLT mapping for 856 question

    Ramesh,
    I hate to keep bugging everyone but i have another question.
    I am trying to transform data into an X-12 856 document (outbound). I have most of the looping and everything working. My only issue is how do you handle the parent child relationships in the HL01/02 ? Since xpath does not let you increment a variable how can you keep the count of the HL loops let alone tell the HL02 (parent's HL01) We are using a SOPI scenario and the items need to be subordinate to the appopriate pack level.
    I really appreciate all the time and awnsers you have given me so far :)
    Thank you in advance,
    Jaden

    Is there a tutorial on how to use the XSLT Data Mapper? I can't seem to find it, I'm using JDeveloper 11g preview 2. I ran the studio version 10.1.3.1.0, but I can't find it either.
    I found a document on XSLT Data Mapper, but it seems like they are for WSDL mapping. Is it possible to map between two XMLs/XSD?
    http://download.oracle.com/docs/cd/E10291_01/doc.1013/e10295/xslt_mpr.htm#BABBCIAI

  • 856 xslt Mapping question ...

    I was asked in the jdev forum to post this here as well :)
    Ramesh,
    I hate to keep bugging everyone but i have another question.
    I am trying to transform data into an X-12 856 document (outbound). I have most of the looping and everything working. My only issue is how do you handle the parent child relationships in the HL01/02 ? Since xpath does not let you increment a variable how can you keep the count of the HL loops let alone tell the HL02 (parent's HL01) We are using a SOPI scenario and the items need to be subordinate to the appopriate pack level.
    I really appreciate all the time and awnsers you have given me so far :)
    Thank you in advance,
    Jaden

    Hi,
    There is a way to handle x=x+1 in XSLT....here it is..assume u want to sum all the elements of an arraylist in an XML...create a temporary variable(TransCountSumVar) and do a foreach and group them in one more variable (Transactions_Count2)
    <xsl:variable name="TransCountSumVar">
                  <xsl:for-each select="/ns1:TotalDate/ns1:price">
                                   <Transactions_Count2>
                      <xsl:value-of select="number(ns1:price)"/>
                                  </Transactions_Count2>
                  </xsl:for-each>
    </xsl:variable>now get the sum of those in Transactions_Count2 as follows
    <xsl:variable name="TComp" select="sum(exsl:node-set($TransCountSumVar)/Transactions_Count2)"/>where Tcomp is another variable with holds the final sum and be sure to the the namespace xmlns:exsl="http://exslt.org/common" in XSL at name space declarations.

  • Very simple XSLT string replacing question

    Hi,
    This is a really simple question for you guys, but it took me long, and i still couldn't solve it.
    I just want to remove all spaces from a node inside an XML file.
    XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type='fiction'>
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0  0 8</year>
          </book>
       </books>
    </root>in the 'year' node, the value should not contain any spaces, that's the reason why i need to remove spaces using XSLT. Apart from removing space, i also need to make sure that the 'year' node has a non-empty value. Here's the XSLT:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
        <xsl:strip-space elements="*"/>
        <xsl:template match="@*|node()">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
        </xsl:template>
        <xsl:template match="//books/book[@type='fiction']">
            <xsl:copy>
                <xsl:apply-templates select="@*"/>
                <xsl:attribute name="id">101</xsl:attribute>
                <xsl:call-template name="emptyCheck">
                    <xsl:with-param name="val" select="year"/>
                    <xsl:with-param name="type" select="@type"/>
                    <xsl:with-param name="copy" select="'true'"/>
                </xsl:call-template>
                <xsl:value-of select="translate(year, ' ', '')"/>
            </xsl:copy>
        </xsl:template>
        <!-- emptyCheck checks if a string is an empty string -->
        <xsl:template name="emptyCheck">
            <xsl:param name="val"/>
            <xsl:param name="type"/>
            <xsl:param name="copy"/>
            <xsl:if test="boolean($copy)">
                <xsl:apply-templates select="node()"/>
            </xsl:if>
            <xsl:if test="string-length($val) = 0 ">
                <exception description="Type {$type} value cannot be empty"/>
            </xsl:if>
        </xsl:template>
    </xsl:stylesheet>The 'emptyCheck' function works fine, but the space replacing is not working, this is the result after the transform:
    <?xml version="1.0" encoding="utf-8"?>
    <root insertedtime="2008-05-01T14:03:00.000+10:00" pkid="23421">
       <books>
          <book type="fiction" id="101">
             <author>John Smith</author>
             <title>Book title</title>
             <year>2 0 0 8</year>2008</book>
       </books>
    </root>The spaced year value is still there, the no-space year is added outside the 'year' tags'
    anyone can help me, your help is extremely appreciated!
    Thanks!

    You should add a template for 'year' :<xsl:template match="year">
    <year><xsl:value-of select="translate(.,' ','')"/></year>
    </xsl:template>and remove the translate call in the 'book' template.
    It would be better to add a 'priority' attribute at each template so it would be explicit which template to use because match="@*|node()" could be interpreted by another transform engine as the unique template to be used !

  • Question about  getSpaceContents and XSLT.

    Hello everybody. Have some problems with understanding of working with getSpaceContents. I Have some *.xmls in ContentSpace and need put each of them into varaiable (to work with it in loop). How should I do it correct? The point of loop is :I have some xmls with one xsd into ContentSpace, i must to produce set of xmls (with another xsd) using xslt.First xsd looks like : Supplier, Good(unbounded) , second like : Good , Supplier(unbounded).I.e. each xmls with 1st xsd have 1 of all suppliers and list of goods, the 2nd have one of all goods and list of suppliers,corresponding to it.Could anyone give an idea , how to do it the best way? The problem is , that the information to make one of output xmls  contained in each of  input xmls.
    Thx in advance.

    upd:
    The problem of working with getSpaceContents : i made a variable doclist ( list<CRCResult> ). After getSpaceContents operation doclist looks like that :
    <list>
      <com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
        <attributeMap>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}creator</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
            <string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/42dbbb75-abfa-43e1-96cd-b3454477d541/ID_1_Урожай.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
            <string>workspace</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
            <string>contentUrl=store://2010/11/17/18/54/d143cd65-1dfc-460e-88cb-1f08975ecfea.bin|mimetype=text/xml|size=3968|encoding=UTF-8|locale=en_</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
            <string>42dbbb75-abfa-43e1-96cd-b3454477d541</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modifier</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}name</string>
            <string>ID_1_Урожай.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
            <string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_1_Урожай.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modified</string>
            <date>2010-11-17 18:54:32.622 MSK</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}node-type</string>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
            <string>/Company Home/RetailerSupplierInteraction/Proposal</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}created</string>
            <date>2010-08-26 12:45:12.512 MSD</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
            <string>SpacesStore</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
            <string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_1_Урожай.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
            <long>629</long>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content-type</string>
            <string>text/xml</string>
          </entry>
        </attributeMap>
        <document serialization="custom">
          <com.adobe.idp.Document>
            <int>3</int>
            <boolean>false</boolean>
            <boolean>false</boolean>
            <null/>
            <string>81.5.113.36/127.0.0.1</string>
            <null/>
            <null/>
            <null/>
            <string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
            <int>82</int>
            <string>text/xml</string>
            <null/>
            <map>
              <entry>
                <string>basename</string>
                <string>ID_1_Урожай.xml</string>
              </entry>
              <entry>
                <string>file</string>
                <string>ID_1_Урожай.xml</string>
              </entry>
              <entry>
                <string>wsfilename</string>
                <string>ID_1_Урожай.xml</string>
              </entry>
            </map>
            <string>adobe/idp/DocumentPullServant/adobejb_null</string>
            <long>-1</long>
          </com.adobe.idp.Document>
        </document>
      </com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
      <com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
        <attributeMap>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}creator</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
            <string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/0ac06777-e5ae-48ef-99d8-1ed029253987/ID_2_Три топора.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
            <string>workspace</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
            <string>contentUrl=store://2010/11/17/18/55/3ad2fac7-2b6e-4dae-a87a-382ca0f35fd4.bin|mimetype=text/xml|size=3979|encoding=UTF-8|locale=en_</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
            <string>0ac06777-e5ae-48ef-99d8-1ed029253987</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modifier</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}name</string>
            <string>ID_2_Три топора.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
            <string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_2_Три_x0020_топора.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modified</string>
            <date>2010-11-17 18:55:26.206 MSK</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}node-type</string>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
            <string>/Company Home/RetailerSupplierInteraction/Proposal</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}created</string>
            <date>2010-08-26 12:49:54.431 MSD</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
            <string>SpacesStore</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
            <string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_2_Три_x0020_топора.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
            <long>630</long>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content-type</string>
            <string>text/xml</string>
          </entry>
        </attributeMap>
        <document serialization="custom">
          <com.adobe.idp.Document>
            <int>3</int>
            <boolean>false</boolean>
            <boolean>false</boolean>
            <null/>
            <string>81.5.113.36/127.0.0.1</string>
            <null/>
            <null/>
            <null/>
            <string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
            <int>83</int>
            <string>text/xml</string>
            <null/>
            <map>
              <entry>
                <string>basename</string>
                <string>ID_2_Три топора.xml</string>
              </entry>
              <entry>
                <string>file</string>
                <string>ID_2_Три топора.xml</string>
              </entry>
              <entry>
                <string>wsfilename</string>
                <string>ID_2_Три топора.xml</string>
              </entry>
            </map>
            <string>adobe/idp/DocumentPullServant/adobejb_null</string>
            <long>-1</long>
          </com.adobe.idp.Document>
        </document>
      </com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
      <com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
        <attributeMap>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}creator</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
            <string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/c793f4b8-0f42-462c-a75b-d104f286f66f/ID_3_Теремок.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
            <string>workspace</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
            <string>contentUrl=store://2010/11/17/18/56/b57edc81-c288-4258-9710-18632ad86a66.bin|mimetype=text/xml|size=3974|encoding=UTF-8|locale=en_</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
            <string>c793f4b8-0f42-462c-a75b-d104f286f66f</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modifier</string>
            <string>usersystemcontext/DefaultDom</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}name</string>
            <string>ID_3_Теремок.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
            <string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_3_Теремок.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}modified</string>
            <date>2010-11-17 18:56:05.332 MSK</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}node-type</string>
            <string>{http://www.alfresco.org/model/content/1.0}content</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
            <string>/Company Home/RetailerSupplierInteraction/Proposal</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}created</string>
            <date>2010-08-26 12:51:10.671 MSD</date>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
            <string>SpacesStore</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
            <string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_3_Теремок.xml</string>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
            <long>631</long>
          </entry>
          <entry>
            <string>{http://www.alfresco.org/model/content/1.0}content-type</string>
            <string>text/xml</string>
          </entry>
        </attributeMap>
        <document serialization="custom">
          <com.adobe.idp.Document>
            <int>3</int>
            <boolean>false</boolean>
            <boolean>false</boolean>
            <null/>
            <string>81.5.113.36/127.0.0.1</string>
            <null/>
            <null/>
            <null/>
            <string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
            <int>84</int>
            <string>text/xml</string>
            <null/>
            <map>
              <entry>
                <string>basename</string>
                <string>ID_3_Теремок.xml</string>
              </entry>
              <entry>
                <string>file</string>
                <string>ID_3_Теремок.xml</string>
              </entry>
              <entry>
                <string>wsfilename</string>
                <string>ID_3_Теремок.xml</string>
              </entry>
            </map>
            <string>adobe/idp/DocumentPullServant/adobejb_null</string>
            <long>-1</long>
          </com.adobe.idp.Document>
        </document>
      </com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
    </list>
    I read Help about CRCResult variable, it is said there ,that we can receive the information like document, link , etc. from it. I can't figure out how to do it.So the question : what function should we apply or how can we get access to what we need? For example, i want to get document from the doclist.
    Thanks in advance.

Maybe you are looking for