Node exist in a schema in orchestration

How to check in orchestration that a particular node  exist in schema or not ?
My orchestration is as follows:
In decide shape,I have to check whether incoming message contains a particular node.
If yes then send to it a error send port otherwise send it to a simple port.
How it can be possible?
Prakash

Different options, if your field is a promoted property you can use the 'exists' function:
MyPropertySchema.MyProperty exists myMessage
If it's not a promoted property and just a field or distinguished field you can use following:
value = xpath(Message, "string(//*[local-name()='ElementName'])");
You can then do a System.String.IsNullOrEmpty(value) to check if the value is present or not...
Glenn Colpaert - Microsoft Integration MVP - Blog : http://blog.codit.eu

Similar Messages

  • How to identify if a data node exist?

    Hi,
    If a form is binded to a schema, and when the xml is supplied to the form how to identify an optional node in the xml is available or not.
    for example if I have a XML input like below
    <root>
         <childTable>         
              <childRow>
                   <child1>
                   <child2>
              </childRow>
              <childRow>
                   <child1>
                   <child2>
              </childRow>
         </childTable>
    </root>
    is it possible to identify if the childTable node is present in the xml input.
    The code xfa.datasets.data.root.childTable if used fails when the childTable is not present in the input xml?
    Please let me know if there is a way to identify if the input xml has  a specified node. Assuming that we know the path of the node in the xml structure.
    Regards -
    Ashok Deivaisgamani

    Hi Ashok,
    Could you please try this?
    var nodeCheck = xfa.resolveNode("$record.childTable");
    if(nodeCheck != null)
         app.alert("Node Exists");
    else
         app.alert("Node Not Avaliable");
    Thanks,
    VJ

  • Call subtemplate if the corresponding node exists in the XML

    Hi,
    I have a requirement to call the sub template if the corresponding exists in the XML file. For example if the invoice node and the corresponding details are present in the XML file then i have to call the invoice sub template. Can any one suggest me how to check if the node exists or not in the XML file. Is there any specific command for this.
    Thanks

    Hi,
    Thanks a lot..it is working now as per ur suggestions..but am facing another problem here. Am calling the sub template from a main template. Headers and footers for both main and sub templates are different. So for calling the sub template i did section break (Insert -->Break , In section break-->New page) so that the header and footer of the main template wll not be repeated in the sub template. So in the new page am checking if the node exists or not the XML. If so then call the XML. If the node exists then sub template is called successfully. But if the node does not exists then a blank page is displayed for this since the call stmt is in the new page.
    So can you please suggest me how to suppress the blank page if the node does not exist.
    Thanks.

  • Calling a procedure that exist in another schema

    hello , i need your help .
    i would like to know how i can call a procedure that exist in another schema
    what i did for example calling the procedure "proc" at schema "user1" from pl/sql code
    begin
    user1.proc(parm1,parm2);
    end;
    i got the error message
    (1): PLS-00201: identifier 'user1.proc' must be declared
    (2): PL/SQL: Statement ignored
    but by calling it from SQL PLUS from the same current schema i got no errors
    exec user1.proc(parm1,parm2);
    thank you

    Assuming that the call that is failing is located in a stored procedure or stored function, the problem is likely that your user's access to the user1.proc procedure is via a role and privileges granted through a role cannot be used in a definer's rights stored procedure or stored function.
    You can verify this by disabling roles in your SQL*Plus session. If you do
    SQL> set role none
    SQL> exec user1.proc( p1, p2 );I would expect that you'll get the same error that you get in your stored procedure. Assuming that is the case, you'll need to ask the DBA to grant your user EXECUTE access on user1.proc directly not via a role.
    Justin

  • Adding an element with an attribute to destination schema that doesn't exist on source schema

    I have source schema which looks something like below:
    source schema
     name                    //attribute
     address1                //attribute
     address2                //attribute
     city                       //attribute
    I need to map it to a destination schema which looks like below:
    destination schema
    employee                  //record (repeating element)
      fieldname                //attribute
      type                       //attribute
    After mapping, the xml would look like below: 
    <employee fieldname= 'name' type='string'>
    <employee fieldname= 'address1' type ='string'>
    <employee fieldname= 'address2' type ='string'>
    <employee fieldname= 'city' type ='string'>
    (fieldname exists in source schema, but 'type'  doesn't. basing on the fieldname, I add it on the destination schema using ValueMapping functoid )And I am able to do it successfully, but my question is, I need to add a field called 'salary'
    of type 'double' to the destination schema similar to the other values
    <employee fieldname= 'salary' type ='double'>
    But salary doesn't exist in 'source' schema,  and it needs to be there in destination schema associated with the attribute 'type='dcouble''   How can I accomplish this? Appreciate any help. thanks!!

    Hi Anne,
    For your requirement, all you need is Table Looping functiod and Table Extractor functiod.
    In this example, I am not using the value mapping functiod (you can also use it, but I prefer to make this sample easier for you to understand) so using a “string” as constant.
    When you mean by you want
    <employee fieldname= 'name' type='string'>
    <employee fieldname= 'address1' type ='string'>
    <employee fieldname= 'address2' type ='string'> <employee fieldname= 'city' type ='string'>
    I assume you’re looking for something like this
    <employee fieldname= 'ValueOfName' type='string'>
    <employee fieldname= 'ValueOfAddress1' type ='string'>
    <employee fieldname= 'ValueOfAddress2' type ='string'>
    <employee fieldname= 'ValueOfCity' type ='string'>
    Or if you just need field names not the value of the fields, you can still do what you want with the way you do now but using Table Looping functiod and Table Extractor
    functiod.
    Let me explain this.
    Use Table Looping functiod with following parameters:
    5 = You need 5 records in output i.e. name, address1,address2,city and salary.
    2 = you need 2 columns. i.e. fieldname and type.
    Link from 'name' in source schema. Here I have just linked the 'name' from source schema, so this will have VALUE-of-Name element/attribute. Or if you can want just the
    field name, you can use the way you’re using to get the field name.
    Repeat the above step for all the rest of the fields. I have linked address1, address2 and city.
    7<sup>th</sup> parameter is “string” as constant, which I will be passing to “type” attribute in destination. Again you can use value mapping functiod as you
    do. If you use value mapping functiod, then rest of the parameter shall be value mapping functiod.
    Then I add last two paraters “salary” and “double” as constants, which I will be using to add the new record. Below image show the parameters for Table looping functiond:
    Now select the “Configure Table Looping grid” property and map as shown. Give a closer look to the way how this grid has been mapped. Last record in the grid shows the
    additional record which you want to add with “salary” and “double”
    Now add “Table Extractor functiod”, set its first parameter to “Table looping” and second parameter as “1”
    Now another “Table Extractor functiod”, set its first parameter to “Table looping” and second parameter as “2”. Below image show the Table Txtrator functiods parameters:
    Now link the Table Looping functiod to “employee” record in destination schema.
    Use the above you will get the output as you wanted. Following is the output, note: as mentioned in the fieldName attribute I have the value of the source fields/attributes
    since I have used the direct link from soruce in Table Looping functiod parameters, you can use the link which is producing the value for you now for fieldname:
    <employee fieldName="name_0" type="string"></employee>
    <employee fieldName="address1_1" type="string"></employee>
    <employee fieldName="address2_2" type="string"></employee>
    <employee fieldName="city_3" type="string"></employee>
    <employee fieldName="salary" type="double"></employee>
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • How to check whether a node exist in a Particular Level. (xmltype)

    hi,
    please help me to check whether a particular node exists in one level.
    for eg
    I have the following xml
    <map>
         <entry>
              <key>
                   heading1
                   </key>
              <map>
                   <entry>
                        <key> sub1 heading1</key>
                        <value> sub1 heading1 value  </value>
                   </entry>
                   <entry>
                        <key> sub2 heading1 </key>
                        <value> sub2 heading1 value  </value>
                   </entry>
              </map>
         </entry>
         <entry>
              <key>
                   heading2
                   </key>
              <map>
                   <entry>
                        <key> sub1 heading2</key>
                        <value> sub1 heading2 value  </value>
                   </entry>
                   <entry>
                        <key> sub2 heading2 </key>
                        <value> sub2 heading2 value  </value>
                   </entry>
              </map>
         </entry>
    </map>i need to check how many heading exists in this xml.
    I am checking like
            i:=1;
         l_section := ip_xml.extract('//map/entry');
         WHILE l_section.existsnode('entry[' || i|| ']') = 1 LOOP
              // extract the key name within entry tag
                  // print the key name.
    i:=i+1;
         end loop;but iam getting all the key name like
    heading1
    sub1 heading1
    sub2 heading1
    heading2
    sub1 heading2
    sub2 heading2
    I need only heading1 and heading2. how can I check whether a particular node exist in particular level.
    first level , second level etc. Please help

    but iam getting all the key nameThat's because you're using a descendant axis : //map/entry
    SQL> DECLARE
      2 
      3   ip_xml  xmltype := xmltype('<map>
      4       <entry>
      5            <key>
      6                 heading1
      7                 </key>
      8            <map>
      9                 <entry>
    10                      <key> sub1 heading1</key>
    11                      <value> sub1 heading1 value  </value>
    12                 </entry>
    13                 <entry>
    14                      <key> sub2 heading1 </key>
    15                      <value> sub2 heading1 value  </value>
    16                 </entry>
    17            </map>
    18       </entry>
    19       <entry>
    20            <key>
    21                 heading2
    22                 </key>
    23            <map>
    24                 <entry>
    25                      <key> sub1 heading2</key>
    26                      <value> sub1 heading2 value  </value>
    27                 </entry>
    28                 <entry>
    29                      <key> sub2 heading2 </key>
    30                      <value> sub2 heading2 value  </value>
    31                 </entry>
    32            </map>
    33       </entry>
    34  </map>');
    35 
    36  BEGIN
    37 
    38    for r in (
    39      select heading, headno
    40      from xmltable( '/map/entry/key'
    41                     passing ip_xml
    42                     columns heading varchar2(30) path '.'
    43                           , headno  for ordinality )
    44    )
    45    loop
    46      dbms_output.put_line('Heading '||r.headno||' = '||r.heading);
    47    end loop
    48    ;
    49 
    50  END;
    51  /
    Heading 1 =
                   heading1
    Heading 2 =
                   heading2
    PL/SQL procedure successfully completed

  • IXML - Checking if a specific node exists in XML data

    Hi,
    I´m reading XML data by using iXML classes. One XML file I´m reading contains header and
    item data.
    Right now I´m starting with reading the header attributes and then read all nested nodes and their attribute data. That works all fine, but now I had the error, that the XML file wrongly didn´t contain the items.
    My XML reading method then ended up in a dump because the node was null:
    l_node = l_iterator->get_next( ).
    Can anybody give me an advice, how to check at the beginning of reading my xml data, if a specific node (in my case the node for items) exists in the XML data? If not, I want to stop with an error message. I want to check that at the beginning, before reading all element data, to keep my method structured.
    Thank you very much!

    Hi,
    You can create a filter and set that filter to the iterator. If this is done the iterator returns you only the node with a specific node name or node ID.
    You can also check the parsing in the following WIKI code gallery
    https://wiki.sdn.sap.com/wiki/x/JoDmAQ
    Subroutines create_set_filter_attribute and parse_xml_file would be helpful.

  • 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 determine in an XML node exists in Coldfusion

    If I have XML that looks something like this:
    <manifest>
        <state ID="20" name="State 2">
            <person>john.black</person>
        </state>
        <state ID="30" name="State 2">
            <person>bill.doe</person>
            <group>Group2</group>
        </state>
    </manifest>
    Where <group> may or may not exist under <state>, how do I determine if <group> exists when I'm parsing this XML? 
    This is the code I'm working with currently:
    <cfset szXMLFile = "Manifest.xml">
    <cfset XMLDoc = xmlParse(szXMLFile)>
    <cfset StateNodes = xmlSearch(XMLDoc,'/manifest/state')>
    <cfoutput>
    <cfloop from="1" to="#ArrayLen(StateNodes)#" index="i">
        <cfset StateXML = xmlparse(StateNodes[i])>
        <cfloop index="p" from="1" to="#ArrayLen(StateXML.state.person)#">
            <cfoutput>Person: #StateXML.state.person[p].xmltext#</cfoutput><br />
        </cfloop>
        <cfloop index="g" from="1" to="#ArrayLen(StateXML.state.group)#">
            <cfoutput>Person: #StateXML.state.group[g].xmltext#</cfoutput><br />
        </cfloop>
    </cfloop>
    </cfoutput>
    I suppose I could just put <try><catch> blocks around where I'm referencing <group> and if it doesn't exist, I'll just handle it that way - but that seems like such a hack.  Is there a 'real' way to determine if the node actually exists? 
    Thanks! 

    <cfif structKeyExists(StateXML.state, "group")>
        <cfloop index="g" from="1" to="#ArrayLen(StateXML.state.group)#">
            <cfoutput>Person: #StateXML.state.group[g].xmltext#</cfoutput><br />
        </cfloop>
    </cfif>

  • Storage disabled nodes and near-cache scheme

    This probably is a newbie question. I have a named cache with a near cache scheme, with a local-scheme as the front tier. I can see how this will work in a cache-server node. But I have a application node which pushes a lot of data into the same named cache, but it is set to be storage disabled.
    My understanding of a local cache scheme is that data is cached locally in the heap for faster access and the writes are delegated to the service for writing to backing map. If my application is storage disabled, is the local cache still used or is all data obtained from the cache-servers?

    Hello,
    You understanding is correct. To answer your question writes will always go through the cache servers. A put will also always go through the cache servers but the near cache may or may not be populated at that point.
    hth,
    -Dave

  • Validating an existing doc against schema

    I want to be able to validate an existing XMLDocument object against a schema.
    I can validate it by using a StringWriter and printing the document, then parsing from a StringReader (the parser has the Schema set beforehand to the schema I want to validate against).
    Is there an easier way?

    chekc you xml instance document against the xml schema you are trying to validate with some tools like xmlspy or xmleditor. then you get the exact error and the element which is creating the problem then upload to the databas.e

  • Help! Ent - 06955 "Cube name does not exist in OLAP schema"

    I get this error when I try to view data from a cube or dimension.
    From what I've searched, I have to deploy the objects to catalog, which I have done, but still I get the error. I'm stuck with this for 1 and half days...
    Any ideas?
    Regards,
    M.

    Hi,
    I have found some interseting info for you from this forum:
    This is more of an OWB question rather than OLAP specific. But there are some steps you must perform with OWB before you can view the data.
    1) Design the dimension - create the levels, hierarchies and attributes
    2) Storage mode - decide if you want to create a ROLAP or MOLAP dimension
    3) Deploy the dimension - if you opted for a ROLAP model this will create a table and a dimension object to be used by the optimiser for query rewrite. If you opted for MOLAP this will create an analytic workspace (you should see a table called AW$xxxxxxx in your target schema) and within that AW will be your dimension.
    4) Populate dimension - before you view data you must create a mapping to move data from your source table into the target dimension. Then you must deploy the mapping and finally execute the mapping to load data into the dimension.
    I would check your deployment log as I suspect you have some errors during deployment and the object has not been deployed. Personally, I find the best way to deploy objects is via Control Center rather than using the right mouse click menu options in Design Center.
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html
    Next question - do you have all the required patchsets in place to support OLAP? If you are using 10gR2 (which you really should be when using OLAP) you will need 10..2.0.3 + OLAP A patch or 10.2.0.4.
    Hope this info. will help you.
    Mandi

  • Check if element node exists then create another element

    Hi Everyone,
    I have element node in the Target structure. I need to create another node if 1st node has been created.
    Please let me know how should I do it.
    Thanks
    NPrabhu

    Hi,
    I need another node to occur.
    I need to check if item in the target is created. If yes then create item[1].
    Also I need to add another item above each item node to say which text it is.
    <ENGLISH_TEXTS>
       <item>
         <LINE>Catalog text jasdkajdlsk;k;</LINE>
       </item>
       <item>
         <LINE>ProductText asasdklkf;sdlfs' </LINE>
       </item>
    </ENGLISH_TEXTS>
    I want it to look like this
    <ENGLISH_TEXTS>
       <item>
         <LINE>Catalog text</LINE>
       </item>
       <item>
         <LINE>Catalog text jasdkajdlsk;k;</LINE>
       </item>
       <item>
         <LINE>Product text </LINE>
       </item>
       <item>
         <LINE>ProductText asasdklkf;sdlfs' </LINE>
       </item>
    </ENGLISH_TEXTS>
    Thanks

  • Error in loading Target table doesn't exist in target schema

    I am having the following error to load data to the target
    table: Connection failed to HR_TGT.orders ora-000942.
    'Table or view does not exist'
    The table exists and the odi super user has all the priviliges
    over tables in HR_TGT.
    What could be wrong with my configuration

    I am using the original Oracle Integration KM.
    My Replicat doesn't start any longer
    Here are my configuration files
    Source Files
    ODISC.prm
    extract ODISC
    userid OGATE, password OGATE
    exttrail C:\GGSRC/dirdat/ODISoc/oc
    TABLE HR_SRC.ORDER_LINES;
    ODISD.prm
    defsfile C:\GGSRC/dirdef/ODISC.def, purge
    userid OGATE, password OGATE
    TABLE
    HR_SRC.ORDER_LINES;
    Target Files
    C:\ggstg\diroby\ODIT1T.oby
    dblogin userid OGATE, password OGATE
    add checkpointtable ODIW.ODIOGGCKPT
    add replicat ODIT1A1, exttrail C:\GGSTG/dirdat/ODIT1op/op, checkpointtable ODIW.ODIOGGCKPT
    stop replicat ODIT1A1
    start replicat ODIT1A1
    C:\ggstg\dirprm\ODIT1A1.prm
    replicat ODIT1A1
    userid OGATE, password OGATE
    discardfile C:\GGSTG/dirrpt/ODIT1.dsc,
    purge
    source defs C:\GGSTG/dirdef/ODISC.def
    map HR_SRC.ORDER_LINES, TARGET HR_STG.ORDER_LINES, KEYCOLS (ORDER_ID, PRODUCT_ID);
    map HR_SRC.ORDER_LINES, target ODIW.J$ORDER_LINES, KEYCOLS (ORDER_ID, PRODUCT_ID, WINDOW_ID), INSERTALLRECORDS, OVERRIDEDUPS,
    COLMAP (
    ORDER_ID = ORDER_ID,
    PRODUCT_ID = PRODUCT_ID,
    WINDOW_ID = @STRCAT(@GETENV("RECORD", "FILESEQNO"), @STRNUM(@GETENV("RECORD", "FILERBA"), RIGHTZERO, 10))
    I have deleted the extract ODISC and ODIT1P as well as the checkpionttable ODIW.ODIOGGCKPT
    Recreated the items.
    I did same thing with the replicat ODIT1A1
    The extracts had always started with little difficulties but the replicat once started but didn't transmit integrated data to
    the target.
    Now it is not starting at all.
    I have deleted and recreate it but the same results

  • Dynamically created node in destination schema

    If a node exist in source schema then only created that node in destination schema .how it is possible in map ?
    Prakash

    Hi Prakash ,
    For the above scenario, you can create custom xslt instead of map. In custom xslt u can define the destination schema structure as required. try the below xslt sample
    <xsl:template name="Sample">
    <xsl:for-each select="provide xpath of Source Record">
    <xsl:variable name ="cond" select ="fieldName/text()"/>
    <xsl:choose>
    <xsl:when test ="$cond=expectedValue">
    <xsl:element name ="RootName">
    <xsl:element name ="a">
    <!-- Assign value-->
    </xsl:element>
    <xsl:element name ="b">
    <!-- Assign value-->
    </xsl:element>
    <xsl:element name ="DynamicallyCreateFiled">
    <!-- Assign value-->
    </xsl:element>
    </xsl:element>
    </xsl:element>
    </xsl:when>
    <xsl:otherwise>
                <xsl:element name ="RootName"> <xsl:element name ="a">
    <!-- Assign value-->
    </xsl:element>
    <xsl:element name ="b">
    <!-- Assign value-->
    </xsl:element>
                </xsl:element> </xsl:otherwise>
    </xsl:choose>
    </xsl:for-each>
    </xsl:template>
    Thanks
    Ismail

Maybe you are looking for

  • New hard drive and old ipod touch...I want my music back :{

    My computer crashed 3 weeks ago ( I lost everything and had to install a new hard drive, so it's like a brand new computer) I read some instructions about this issue but I wasn't sure if i re download itunes and I am unsure what the steps are to get

  • Lvrt.dll Error

    I am using the LabView RTE 8.2.0.4002 to execute a LV app that was built in LV 8.2. My app sporadically crashes. The output error file says the error is in TDUtility.cpp (1432) and sometimes (1041), Unexpected: 8, 4, tc: 48, 48. The PC Event log just

  • Crystal Reports in Java with BEA Weblogic (test drive)

    Hello,<br/> <br/> The question is: What is wrong with Crystal Reports or BEA Weblogic, when they are working together? And how can it be repaired?<br/> <br/> I have a project working with reports. Tried to implement it for crystal reports and found a

  • [SOLVED] Problems building libtorrent+rtorrent

    I used this guide to easily build libtorrent+rtorrent on my ubuntu box and want to do the same on my archlinux laptop. However, when doing ./configure for rtorrent I get this message: checking pkg-config is at least version 0.9.0... yes checking for

  • Can I use Java 5 syntax?

    The last time I tried to create a portlet, I think I had to use J2SE 1.4 which was a big turnoff. Can I use Java SE 5/6 syntax when coding my portlet? Can I use JPA? If I'm writing JSF portlets, can I use facelets with it? Thanks, Ryan