How to retrieveText Node value

I am generating an xml doc containing two set of data (one from ord table corresponding to orderId passed to the stored proc from calling app) and then appending child nodes for the values coming as In parameter. When I try to get the value of text node of the child element which has been appended through code, I am getting no values (I could only get to the first child value by (<xsl:value-of select="/EQUITYCONNECT//text()"/>). If I have to get the values of ORD_ID,EXECSIDE and SECURITY node in /EQUITYCONNECT/EXECRPT, how will the XPATH expression coded. (<xsl:value-of select="/EQUITYCONNECT/EXECRPT/EXECSIDE/text()"/> returns null value.
Here is the code segment
PROCEDURE xmlRules(orderID NUMBER,execSide NUMBER,security VARCHAR2) IS
p xmlparser.Parser;
xmldoc xmldom.DOMDocument;
docnode xmldom.DOMNode;
newele xmldom.DOMElement;
newele1 xmldom.DOMElement;
newelenode xmldom.DOMNode;
newelenode1 xmldom.DOMNode;
textele xmldom.DOMText;
newtextelenode xmldom.DOMNode;
compnode xmldom.DOMNode;
nl xmldom.DOMNodeList;
n xmldom.DOMNode;
len number;
rootnode xmldom.DOMNode;
vbuffer varchar2(32767);
line varchar2(4000);
ordQueryCtx DBMS_XMLGen.ctxHandle;
execRpt CLOB;
result CLOB;
result1 CLOB;
xmlout VARCHAR2(4000);
strResult VARCHAR2(4000);
strResult1 VARCHAR2(4000);
prtOut VARCHAR2(255);
begin
-- new parser
p := xmlparser.newParser;
-- set some characteristics
xmlparser.setValidationMode(p, FALSE);
-- xmlparser.setErrorLog(p, dir || '/' || errfile);
xmlparser.setPreserveWhiteSpace(p, TRUE);
-- set up the query context...!
ordQueryCtx := DBMS_XMLGen.newContext('select * from ord where ord_id ='|| orderID);
dbms_xmlgen.setrowsettag(ordQueryCtx,'EQUITYCONNECT');
dbms_xmlgen.setrowtag(ordQueryCtx,'ORDER');
-- get the result..!
result := DBMS_XMLGen.getXML(ordQueryCtx);
-- Turn into string (test purposes only)
strResult := dbms_lob.SUBSTR(result);
-- parse xml file
xmlparser.parseclob(p,result);
-- get document
xmldoc := xmlparser.getDocument(p);
-- get all elements of document
nl := xmldom.getElementsByTagName(xmldoc, '*');
len := xmldom.getLength(nl);
-- check if number of element nodes are atleast 2
if len > 1 then
dbms_output.put_line('Document has more than two elements including Root');
-- get root element of document
rootnode := xmldom.item(nl,0);
-- get the element next to the root element
n := xmldom.item(nl, 1);
-- make node for dom document
docnode := xmldom.makeNode(xmldoc);
-- create a new element node
newele := xmldom.createElement(xmldoc, 'EXECRPT');
newelenode := xmldom.makeNode(newele);
newele1 := xmldom.createElement(xmldoc, 'ORD_ID');
newelenode1 := xmldom.makeNode(newele1);
compnode := xmldom.appendChild(newelenode, newelenode1);
-- create a new text node
textele := xmldom.createTextNode(xmldoc, orderID);
newtextelenode := xmldom.makeNode(textele);
-- append text node to element node
compnode := xmldom.appendChild(newelenode1, newtextelenode);
newele1 := xmldom.createElement(xmldoc, 'EXECSIDE');
newelenode1 := xmldom.makeNode(newele1);
compnode := xmldom.appendChild(newelenode, newelenode1);
-- create a new text node
textele := xmldom.createTextNode(xmldoc, execSide);
newtextelenode := xmldom.makeNode(textele);
-- append text node to element node
compnode := xmldom.appendChild(newelenode1, newtextelenode);
newele1 := xmldom.createElement(xmldoc, 'SECURITY');
newelenode1 := xmldom.makeNode(newele1);
compnode := xmldom.appendChild(newelenode, newelenode1);
-- create a new text node
textele := xmldom.createTextNode(xmldoc, security);
newtextelenode := xmldom.makeNode(textele);
-- append text node to element node
compnode := xmldom.appendChild(newelenode1, newtextelenode);
-- insert the node just after the parent node
newelenode := xmldom.insertBefore(rootnode, newelenode, n);
-- Perform these two operations to avoid ORA-20000 (cannot write to NULL CLOB)
dbms_lob.createtemporary(result1, true, dbms_lob.session);
dbms_lob.open(result1, dbms_lob.lob_readwrite);
xmldom.writetoclob(docnode,result1);
strResult1 := dbms_lob.substr(result1);
xmldom.writeToBuffer(docnode, vbuffer);
-- print the output stored in buffer
loop
exit when vbuffer is null;
line := substr(vbuffer,1,instr(vbuffer,chr(10))-1);
dbms_output.put_line('| '||line);
vbuffer := substr(vbuffer,instr(vbuffer,chr(10))+1);
end loop;
-- Call Java function which takes (varchar2, varchar2) as args
xmlout := transform_xml(strResult1, '<html xsl:version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
lang="en">
<head>
     <title>Order Report</title>
</head>
<body>
     <table border="1">
     <tr>
          <th>Row Number</th>
          <th>Order ID</th>
          <th>Order ID</th>
          <th>Txn</th>
          <th>Security</th>
          <th>Quantity</th>
     </tr>
     <xsl:for-each select="EQUITYCONNECT">
          <!-- order the result by revenue -->
          <xsl:sort select="ORD_ID"
               data-type="number"
               order="ascending"/>
          <tr>
          <td>
               <xsl:value-of select="ORDER/ORD_ID"/>
          </td>
          <td>
<xsl:value-of select="/EQUITYCONNECT//text()"/>          </td>
     </tr>
     </xsl:for-each>
     </table>
</body>
</html>');
-- Close the query context
DBMS_XMLGen.closeContext(ordQueryCtx);
end if;
exception
when xmldom.INDEX_SIZE_ERR then
raise_application_error(-20120, 'Index Size error');
when xmldom.DOMSTRING_SIZE_ERR then
raise_application_error(-20120, 'String Size error');
when xmldom.HIERARCHY_REQUEST_ERR then
raise_application_error(-20120, 'Hierarchy request error');
when xmldom.WRONG_DOCUMENT_ERR then
raise_application_error(-20120, 'Wrong doc error');
when xmldom.INVALID_CHARACTER_ERR then
raise_application_error(-20120, 'Invalid Char error');
when xmldom.NO_DATA_ALLOWED_ERR then
raise_application_error(-20120, 'Nod data allowed error');
when xmldom.NO_MODIFICATION_ALLOWED_ERR then
raise_application_error(-20120, 'No mod allowed error');
when xmldom.NOT_FOUND_ERR then
raise_application_error(-20120, 'Not found error');
when xmldom.NOT_SUPPORTED_ERR then
raise_application_error(-20120, 'Not supported error');
when xmldom.INUSE_ATTRIBUTE_ERR then
raise_application_error(-20120, 'In use attr error');
when others then
dbms_output.put_line('exception occured' || sqlcode || substr(sqlerrm, 1, 100));
end xmlRules;
function xml_transform is taking the xml and xsl file as string and returning me xml as string after processing. Basiccally I have to do some comparison on the value of /EQUITYCONNECT/ORDER elements and /EQUITYCONNECT/EXECRPT element.
Any help will be appreciated.

Here you go:
       Node nameNode =
                (Node) XPathFactory.newInstance().newXPath().evaluate(
                        "/root/name", doc, XPathConstants.NODE);
        nameNode.setTextContent("bob");

Similar Messages

  • Xml: how to get node value when pasing node name as a parameter

    Hi,
    I've got some xml:
    var xmlData:XML =
    <1stNode>
        <buttonID>first child node value</buttonID>
        <imageID>second child node value</imageID>
        <labelID>third child node value</labelID>
    </1stNode>
    Then I want to read specific node value based on a value passed to a function. .
    var buttonID = new Button;
    var imageID = new Image;
    var labelID = new Label;
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData.nodeName)                      //doesn't work
    var str:String = "xmlData." + nodeName;
    var xml:XMLList = str as XMLList             //doesn't work
    I'm don't know how to get the value when node name is dynamically changed.

    use:
    getNodeValue(buttonID); //the value here is set dynamically
    private function getNodeValue (nodeName:String):void {
    trace (xmlData[nodeName])                    

  • How to get node value of XML file from XMLTYPE field of databases

    Hi,
    I want to select node value of XML from XMLTYPE field of oracle db into java code.
    Feel free to answer me if you have any idea about it.
    Thanks

    For XMLType refer
    http://www.oracle.com/oramag/oracle/01-nov/o61xml.html
    http://www.lc.leidenuniv.nl/awcourse/oracle/appdev.920/a96620/xdb04cre.htm

  • How to extract node value by using xpath in orchestration shape

    i want extract the node value by using xpath in expression shape in orch, then assign to variable.
    then decide shape in if branch im using check condition based nodevalue .
    str = xpath(Message_3, ("string(/*[local-name()='Root' and namespace-uri()='http://BizTalk_Server_ProjectRNd2.Schema3']/*[local-name()='no' and namespace-uri()=''])"));
    but i got below error:
    xlang/s engine event log entry: Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1(f3c581d3-049f-8a8a-9316-fc1235b03f99)'.
    The service instance will remain suspended until administratively resumed or terminated. 
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: 020779be-713d-408c-9ff4-fd1462c2e52c
    Shape name: Expression_1
    ShapeId: b865a3e1-7ebe-410d-9f60-8ad2139ad234
    Exception thrown from: segment 1, progress 10
    Inner exception: There is an error in the XML document.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
       at Microsoft.XLANGs.Core.Part.XPathLoad(Part sourcePart, String xpath, Type dstType)
       at BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1.segment1(StopConditions stopOn)
       at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
    Additional error information:
            <no xmlns=''> was not expected.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Read_string()
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializationPrimitiveReader.Read_string()
       at System.Xml.Serialization.XmlSerializer.DeserializePrimitive(XmlReader xmlReader, XmlDeserializationEvents events)
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)

    Hi,
    as per your  code i got below error 
    Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'BizTalk_Server_ProjectRNd2.BizTalk_Orchestration1(f3c581d3-049f-8a8a-9316-fc1235b03f99)'.
    The service instance will remain suspended until administratively resumed or terminated. 
    If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
    InstanceId: f5fffb05-e6d6-4765-83da-4e6c9696dd8a
    Shape name: Expression_1
    ShapeId: b865a3e1-7ebe-410d-9f60-8ad2139ad234
    Exception thrown from: segment 1, progress 10
    Inner exception: There is an error in the XML document.
    Exception type: InvalidOperationException
    Source: System.Xml
    Target Site: System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)
    The following is a stack trace that identifies the location where the exception occured
       at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializat
    this is my schema:
      <?xml version="1.0" encoding="utf-16"
    ?>
    <xs:schema xmlns="http://BizTalk_Server_ProjectRNd2.Schema3" xmlns:b="http://schemas.microsoft.com/BizTalk/2003"
    xmlns:ns0="https://BizTalk_Server_ProjectRNd2.PropertySchema" targetNamespace="http://BizTalk_Server_ProjectRNd2.Schema3" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:annotation>
    <xs:appinfo>
    <b:imports>
      <b:namespace
    prefix="ns0" uri="https://BizTalk_Server_ProjectRNd2.PropertySchema" location=".\PropertySchema.xsd"
    />
      </b:imports>
      </xs:appinfo>
      </xs:annotation>
    <xs:element name="Root">
    <xs:annotation>
    <xs:appinfo>
    <b:properties>
      <b:property
    name="ns0:no" xpath="/*[local-name()='Root' and namespace-uri()='http://BizTalk_Server_ProjectRNd2.Schema3']/*[local-name()='no' and namespace-uri()='']"
    />
      </b:properties>
      </xs:appinfo>
      </xs:annotation>
    <xs:complexType>
    <xs:sequence>
      <xs:element
    name="no" type="xs:string" />
      <xs:element
    name="name" type="xs:string" />
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:schema>

  • How to add node value using org.w3c.dom.Document?

    Hi ,
    I'm using org.w3c.dom.Document to deal with xml files. I could successfully add nodes , and their attributes. However I could not add a value of the node. (e.g. <myNode>I couldn't add this value</myNode>)
    does anyone know how to deal with this?
    I tried subNode.setNodeValue("the value i can't add"); whereas the subNode is an instance of org.w3c.dom.Node... i know this is interface i of course used the concrete class
    org.apache.crimson.tree.ElementNode
    but when I used the subNode.getNodeValue() i simply got null?
    can u plz help me?
    thanks in advance

    Reading the API documentation for the Node interface might help. At least you wouldn't be surprised when the results are exactly what the documentation says they will be.
    What would really help would be forgetting the idea that an Element can have a value. Text nodes have values, though, so create a Text node and make it the child of the Element node.

  • How to pass node value to other form.

    Hi
    i created a menu to call forms using tree nodes.
    Example:
    Master
    Parameter
    Setup
    Transaction
    Form 1
    Form 1
    when user clicks on Parameter, prm_tst.fmx called and it is running.
    i want to move/select the cursor automatically to that node where from i call the form(parameter).
    how can i do this?
    thanks

    when tree node selected
    declare
    v_value VARCHAR2(4000);
    htree item:=find_item('tree4');
    BEGIN
    :global.v_value := ftree.GET_TREE_NODE_PROPERTY(htree, :SYSTEM.trigger_node, ftree.node_value);
    if :global.v_value='Setup' then
    call_form ();
    elsif :global.v_value='XYZ' then
    call_form();
    end if;

  • How to check node value exists or not?

    for example
    <Hi>1</Hi>
    here for Hi value exists or not need to check.

    SQL> create table MY_XML_TABLE of XMLTYPE
      2  /
    Table created.
    SQL> insert into MY_XML_TABLE values ( XMLTYPE('<FOO><H1>FOO</H1><H2/></FOO>') )
      2  /
    1 row created.
    SQL> commit
      2  /
    Commit complete.
    SQL> set feedback on
    SQL> select *
      2    from MY_XML_TABLE
      3   where XMLExists('$x/FOO/H1' passing OBJECT_VALUE as "x")
      4  /
    SYS_NC_ROWINFO$
    <FOO>
      <H1>FOO</H1>
      <H2/>
    </FOO>
    1 row selected.
    SQL> select *
      2    from MY_XML_TABLE
      3   where XMLExists('$x/FOO/H1/text()' passing OBJECT_VALUE as "x")
      4  /
    SYS_NC_ROWINFO$
    <FOO>
      <H1>FOO</H1>
      <H2/>
    </FOO>
    1 row selected.
    SQL> select *
      2    from MY_XML_TABLE
      3   where XMLExists('$x/FOO/H2' passing OBJECT_VALUE as "x")
      4  /
    SYS_NC_ROWINFO$
    <FOO>
      <H1>FOO</H1>
      <H2/>
    </FOO>
    1 row selected.
    SQL> select *
      2    from MY_XML_TABLE
      3   where XMLExists('$x/FOO/H2/text()' passing OBJECT_VALUE as "x")
      4  /
    no rows selected
    SQL>

  • How to display(binding) values in the table from more than one node?

    Hi,
    I have two nodes (TRIPS & AMOUNTS)in the context. How to bind these values into the table control?
    When i bind second one, first one is getting replaced.

    Hi Mog,
    Of course it is possible to create a table from attributes of more than one node, and in some cases this is still necessary, but you have to do this the hard (manual) way.
    If you have a table control, have a look at the properties and the elements belonging to it.
    First of all, there is the property "dataSource", which binds to a multiple node (let's name it TableRootNode). This means that for each element of THIS node, one row is created. In each row the data of exactly one element of this TableRootNode is displayed.
    Then you have columns in this table. Inside of the columns there is a header and an editor. The editor is the interesting part.
    Normally the primary property of this editor is bound to an attribute of the TableRootNode. Then everything works as expected. If it binds to an attribute of a subnode (SUB) of TableRootNode, then in row i the data of the subnode of the i-th element of TableRootNode is displayed. There is no need for SUB to be a multiple node, but it must not be a singleton.
    If you bind a property of the editor to an attribute, which does not lie in the subtree of TableRootNode, then you will see the same value in each row.
    Now it depends on the structure of your context. Take the node, which is relevant for the change in each row (I assume it is TRIPS) and bind the table to the node as you are used to. Then for each additional column, you have to create a new column in the tree, create a new header element with a title and a new editor (e.g. textview or inputfield) and then bind the right property of the editor to the corresponding attribute in node AMOUNTS).
    If these 2 nodes do not have parent-child-relationship, the tip to create a new node, which consists of the attributes of both nodes is the only solution.
    Ciao, Regina

  • How to get the selected node value of a tree which is build on java code

    Hi Experts,
    How can i get the selected node value if I build the tree programatically.
    I am using the following code in selectionListener but it is throwing error.
    RichTreeTable treeTable = (RichTreeTable)getQaReasontreeTable();
    CollectionModel _tableModel =
    (CollectionModel)treeTable.getValue();
    RowKeySet _selectedRowData = treeTable.getSelectedRowKeys();
    Iterator rksIterator = _selectedRowData.iterator();
    String selectedQaCode ="";
    while (rksIterator.hasNext()) {
    List key = (List)rksIterator.next();
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    JUCtrlHierNodeBinding nodeBinding =
    treeTableBinding.findNodeByKeyPath(key);
    String nodeStuctureDefname =
    nodeBinding.getHierTypeBinding().getStructureDefName();
    selectedQaCode = selectedQaCode + nodeBinding.getAttribute(0);
    where I am using following link to create a tree with java code.
    http://one-size-doesnt-fit-all.blogspot.com/2007/05/back-to-programming-programmatic-adf.html
    Please help me in resolving this issue.
    Regards
    Gayaz

    Hi,
    you should also move
    JUCtrlHierBinding treeTableBinding =
    (JUCtrlHierBinding)((CollectionModel)treeTable.getValue()).getWrappedData();
    out of the while loop as this is not necessary to be repeated for each key in the set
    Frank

  • How to modify a node value in a DOM tree?

    I have following code; it parses a XML file from a file and builds a in-memory DOM tree, but when I tries to modify one of the node value, it keeps telling me: oracle.xml.parser.v2.XMLDOMException: Node cannot be modified. How do I do it?
    // ==================================
    DOMParser theParser = new DOMParser();
    theParser.setValidationMode(false);
    InputStream theInputStream = myApp.class.getResourceAsStream("/test.xml");
    theParser.parse(theInputStream);
    XMLDocument theXMLDoc = theParser.getDocument();
    NodeList theNodeList = theXMLDoc.selectNodes("/root/child");
    for (int i = 0; i < theNodeList.getLength(); i++)
    theNodeList.item(i).setNodeValue("test");
    null

    You're trying to set the node value of an element, which cannot have a node value.
    You need to set the node value of the text-node child of the element instead.
    Or remove the current text-node child and append a new text-node child with the new value.

  • HOW TO GET THE VALUE OF A NODE IN XMLDOC?

    i have an xml doc like this:
    <FUSIONHUB>
    <INFO>
    <COMPANY_ID>A001</COMPANY_ID>
    </INFO>
    </FUSIONHUB>
    HOW TO RETRIEVE THE VALUE A001?
    I HAVE USED NODE.getNodevalue() method but it returned null instead of A001.
    can anybody please answer ?
    waitng for replies immediately.
    null

    Hi,
    You need to get the child node of the company_id node and then get the node value.
    The value A001 is stored in a textnode under the node company_id.
    Thanks,
    Oracle XML Team

  • How to get a Tree Node Value when a Tree is Expanded

    My reqiurement is when i Expand a Tree i need the Expanded tree Node Value. For Example Consider Parent as a Root Node of a Tree, and Consider its two Children Child1 and Child2.
    When + Parent Expanded
    I will Get the Output as --Parent
    - Child1
    - Child2
    so As when i expand the Tree i must Get the String Value Parent.

    duplicate
    How to get a Tree Node Value when a Tree is Expanded

  • How to get the Node Value from XmlValue result?

    Hi ,
    I am not able to get the Node Value from the result. In my XQuery im selecting till a Node, if i change my query as
    collection('PhoneBook')/phone_book/contact_person/address/string()", qc);
    im getting the node value, but here the problem is its not a Node so i cannot get the Node name.
    So how can i get the Node Name and Node value together?
    any help please ????
    XML :
    <?xml version="1.0" encoding="UTF-8"?>
    <phone_book>
    <contact_person>
    <name>
    <first_name>Michael</first_name>
    <second_name>Harrison</second_name>
    </name>
    <address city="yyyyy" pincode="600017" state="xxxxx">
    176 Ganesan street, Janakinagar, alwarthirunagar
    </address>
    </contact_person>
    <phone_number type="mobile">9881952233</phone_number>
    <phone_number type="home">044-24861311</phone_number>
    <phone_number type="office">080-12651174</phone_number>
    </phone_book>
    Code:
    XmlQueryContext qc = manager.createQueryContext();
    XmlResults rs = manager.query
    ("collection('PhoneBook')/phone_book/contact_person/address", qc);
    while(rs.hasNext()){
    XmlValue val = rs.next();
    System.out.println(val.getNodeName() + " = [ " + val.getNodeValue() + " ] ");
    Output
    address = [  ]

    You are right, this seemed un-intuitive to me too, but I finally understood how it's done.
    The "value" of a node is actually the total amount of text that is not contained in any of the node's child nodes (if any). So a node with child nodes can still have text value.
    To get the 'value' of an element node, you must therefore concatenate the values of all children of type "XmlValue::TEXT_NODE", of that node. Try it.
    In your example, the <address> node has no child elements, my guess is that BDB XML stores the address string "176 Ganesan street, Janakinagar, alwarthirunagar" inside a child node of <address> node (of type XmlValue::TEXT_NODE) because you wrote the string on a separate line.

  • How to make visible value attributes of a Search Node

    Hi All,
    We have a requirement to enhance the search context node SEARCH ( Dynamic Query Object SVYQ ) of component SVY_S.
    But the enhancement category of Attribute Structure CRMST_QUERY_SVYIL is 'Can't be enhanced'.
    So we are adding value attributes to this context node. How to make this value attributes available in view configuration tab?
    Please suggest a better approach if there is any.
    Thanks in adv.

    Hi  Suchindra,
       You assign these  enhanced  attributes to design layer. so you can see these fields in Config tab.
    How to do:
    IMG->Customer Relationship Management -> UI Framework -> UI Framework definition -> Maintain
    design layer
    Here include the enhanced attributes and then go to component work bench and in context attributes right click assign the desing layer, selct your attribute and  in the bottom click on SAVE button.
    Then check it in configuration tab your attributes will available in show available fields.
    I hope this will solve your problem
    Regards,
    Sagar

  • How can I include CDATA in the node-value?

    Hi Experts,
    Via XI I map an incoming mail message to an outgoing XML. To be sure to not run into problems, I want to put <![CDATA[ and ]]> around the node-values.
    Currently, I just do this in my message-mapping via a concatenate. The result LOOKS fine, but the XML-parser on the receiving application treats the CDATA as part of the total string and not as an indicator to accept every charachter within the node-value.
    How can I put this CDATA around the node-values in a correct manner?
    Thanks for your help!
    Regards
    William

    Hello,
    These Links will help you....
    This might help
    Message Mapping - same structure
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp
    http://www.cxml.org/files/downloads.cfm
    ******************************Reward points,if found useful

Maybe you are looking for

  • Video capture setup to external drive

    hi guys, I'm a new FCP user, my Canon XL2 is about to arrive any day and I understand I'll need an external drive to prevent screwing up my internal drive. Maxtor has been recommended and has been reliable I see so I'm looking at one of those, but I'

  • Re:ALV Header Text

    Hi, i am using Reuse_alv_grid_display FM to display the output.I want my header-text in the following format.                                  STORAGE LOCATION       Mat no                            L1      L2      L3                    Total Quanti

  • Safari javascript error

    I recently bought a Seagate Goflex Satellite hard disk.  It is unable to stream the iTunes movies in iPad 2.  it will launch the Safari browser, then load the file instead of stream then hang.  When I enabled the debug console, it shows that whenever

  • My Mac Book Pro will be 4 years old in Sept. I now have Snow Leopard and bought an IPhone 4S this week. I know I need Lion to use ICloud. Can I upgrade to Lion with a computer this old?

    My Mac Book Pro will be 4 years old in Sept. I now have Snow Leopard and bought an IPhone 4S this week. I know I need Lion to use ICloud. Can I upgrade to Lion with a computer this old?

  • The action file print causes PS CS5 to hang, stop responding

    The action file print causes PS CS5 to hang, stop responding Its installed on a Win 7 64 bit PC i7 with 6G ram PS is version 12.0.4 64 bit The print dialouge box does come up eventualy around 10 mins later (some times).   While waiting PS is totaly d