Passing Dynamic Number of Elements and Attributes in Orchestrator

i am having trouble determining the best way, from a powershell snippet in a Run .Net Activity, to pass a dynamic list of elements with each element having a dynamic list of attributes .   Example:
on one call of the activity the data might be the following:
element1 with 3 attributes
element2 with 2 attributes
element3 with 0 attributes
on another call of the activity the data be the following:
element1 with 0 attributes
element2 with 3 attributes
i understand how to create objects, arrays, and hashes. i would like to know the best way to pass the data above from the .Net activity powershell snippet (where the data is created) to another activity.   Ideally I would like to pass
a custom object created with powershell (not an array or hash), but research tells me that it is not possible to publish an object on the Orchestrator databus.  Any assistance is appreciated.

You can try combining the parameters into a single string in PowerShell separated by a delimiter like a semi-colon. Then you can have a single parameter in the Invoke Runbook activity. Once the parameter is passed you can then use the Split Field activity
that is included in the Data Manipulation IP. 
http://orchestrator.codeplex.com/releases/view/83934 
You could do something similar for the SQL Query. Just combine the string to a single output in PowerShell and use the PARSENAME function, or something similar, to separate out your parameters. 
Matthew Dowst |
Blog | Twitter

Similar Messages

  • Parsing (COunting Elements and Attributes)

    Can anyone point me to the method sfor counting elements and attributes in a parsed XML document. For example, I have a XML document that contains a number of 'word' files, I need to produce a printout that gives the total number. The files have a size attribute and I need to calculate and printout the total size of all the files together

    ChuckBing,
    Thanks for the pointers. I now have the following method:
    }  public void startElement(String elementName, AttributeList al) throws SAXException
          String attributeValue;
          if (elementName.equals("PRICE"))
          if(al.getLength()>0)
          for(int j = 0;j<al.getLength();j++)
            attributeValue = al.getValue(j);
            System.out.println("Total Attribute value is " + attributeValue);
          }This obviously allows me to extract the detail from "PRICE" but "PRICE" actually has two attributes. I can't find another method that allows me to extract out the detail for a specific attribute.
    Can you suggest anything?

  • Any Reports show PM Orders Number, GL Number, Cost Element and the amount?

    Hi Experts,
    Are there any reports that display the PM Orders Number, GL Number, Cost Element and the amount?
    currently i have to use IW32 and click the COSTS tab then click button REP.PLAN/ACT. to view these information.
    Please Advise
    Thank you
    Regards

    There is no single report to show all the data. You have to use different reports or develop custom report.

  • Check Required Elements and Attributes in JAXB

    Hi
    I need check required elements and attributes in JAXB java classes , if there are any value for them place it , otherwise place default value in xml file , because of it I upgrade JAXB2.0 to JAXB 2.1 to support "required" in "XmlElement" , I read in "JavaWS(JAXB)Tutorial.pdf" that JAXB itself check required elements and attributes , if there are any value for them place it , otherwise place default value in xml file , the exact part of document is :
    << A property is said to have a set value if that value was assigned to it during unmarshalling or by invoking its mutation method. The value of a property is
    its set value, if defined; otherwise, it is the property’s schema specified default value, if any; otherwise, it is the default initial value for the property’s base type as it would be assigned for an uninitialized field within a Java class. >>
    I want to know , dose JAXB do this task ? (now I work with JAXB2.1 but it doesnt do this task.Maybe I must set some configuration)
    and if JAXB doesnt do it , how I can check required elements and attributes in JAXB ?
    Please help me.
    Shariat

    its all on Apple's Developer site
    http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html

  • Making file desin with elements and attributes implementation

    hello
    this is an FILE to IDOC
    I have an xml file that need to be enter to the XI. the XML has attributes and elements.
    I would like to know how can I make an element with some attributes and below there should be a subelement.
    for example, in delivery there will be all the attributes, and I would like to make it an array so there will be below subelemnt in the name of carrier for example.
    (if any one has other ways to implement this file feel free to suggest.)
    - <delivery number="1234567890" shipment-type="Y014" shipping-point="1910" ifm-reference="125" status="final">
    - <!-- status initial, change or final
      -->
      <carrier>123456</carrier>
    - <!--  This will be the SAP vendor code
      -->
      <scheduled-departure>200810011000</scheduled-departure>
    - <!--  Precalculated departure date and time format YYYYMMDDHH24MI
      -->
      <scheduled-arrival>200810031600</scheduled-arrival>
    - <!--  Precalculated delivery date and time
      -->
      <actual-departure>200810011015</actual-departure>
    - <!--  Actual departure reported by carrier
      -->
      <actual-arrival>200810031545</actual-arrival>
    - <!--  Actual arrival reported by carrier
      -->
      </delivery>

    >>that what I thought, but after I do the attributes for the element, I dont have the option to write for the element sub-element.
    I guess the current row that is selected would be an attribute thus the option insert subelement is disabled. Always select the element and insert either attribute or subelement to it.
    Thanks
    SaNv...

  • Pass dynamic number of paramters?

    I am making a .NET 1.0 style query. I have a requirement to pass any number of "states" as a filter on my query. So, how do I make a query where the number of states is unknown?....aside from putting in 52 parameters and handling nulls on them all?
    Current code:
    public List<EventLocation> GetEventLocationsByState(string state)
    List<EventLocation> eventLocations = new List<EventLocation>();
    string sql = string.Empty;
    OracleCommand command = null;
    int rowsEffected = 0;
    // Query V_LOCATION_INFO table
    m_connection.Open();
    sql += "SELECT EVE_RID, EVE_EVENT_CODE, LOC_NAME, LOC_ST_ADDRESS, LOC_ST_CITY, STATE, ";
    sql += " LOC_ST_ZIP_CODE, LOC_PHONE ";
    sql += "FROM V_LOCATION_INFO ";
    sql += "WHERE STATE = :pState ";
    command = new OracleCommand(sql, m_connection);
    command.CommandType = CommandType.Text;
    // IN - State
    // Execute
    OracleDataReader reader = command.ExecuteReader();
    while (reader.Read())
    EventLocation eventLocation = new EventLocation();
    // OUT - Event ID
    eventLocation.EventID = Convert.ToInt64(reader["EVE_RID"]);
    // OUT - Event Code
    if (reader["EVE_EVENT_CODE"] != DBNull.Value)
    eventLocation.EventCode = reader["EVE_EVENT_CODE"].ToString();
    // OUT - Location Name
    if (reader["LOC_NAME"] != DBNull.Value)
    eventLocation.LocationName = reader["LOC_NAME"].ToString();
    // OUT - Location Street Address
    if (reader["LOC_ST_ADDRESS"] != DBNull.Value)
    eventLocation.LocationStreetAddress = reader["LOC_ST_ADDRESS"].ToString();
    // OUT - Location City
    if (reader["LOC_ST_CITY"] != DBNull.Value)
    eventLocation.LocationCity = reader["LOC_ST_CITY"].ToString();
    // OUT - Location State
    if (reader["STATE"] != DBNull.Value)
    eventLocation.EventCode = reader["STATE"].ToString();
    // OUT - Location Zip Code
    if (reader["LOC_ST_ZIP_CODE"] != DBNull.Value)
    eventLocation.LocationZipCode = reader["LOC_ST_ZIP_CODE"].ToString();
    // OUT - Location Phone Number
    if (reader["LOC_PHONE"] != DBNull.Value)
    eventLocation.LocationPhone = reader["LOC_PHONE"].ToString();
    eventLocations.Add(eventLocation);
    ++rowsEffected;
    m_connection.Close();
    if (rowsEffected == 0)
    return null;
    return eventLocations;
    }

    See also How to use OracleParameter whith the IN Operator of select statement

  • XML Data. Extracting elements and attributes using Xpath or another?

    Hi experts,
    Using Oracle 11g.
    I have an XML table which stores XML in one column (xml_col) like the below structure.
    Example:
    <measure id="abc">
      <data-elements>
        <data-element id="ab">
          <value>40</value>
        </data-element>
        <data-element id="cd">
          <value>8</value>
        </data-element>
        <data-element id="ef">
          <value>38</value>
        </data-element>
        <data-element id="gh">
          <value>32</value>
        </data-element>
      </data-elements>
    </measure>I've been trying endlessly to run XPath queries on this column to obtain the attribute of the <data-element> node and the value of the <value> node within.
    My goal is to turn this into a table of:
    ab | 40
    cd | 8
    ef | 38
    gh | 32
    My mind is stuck on doing this below and wrapping it with a CSV to rows hierarchical query. I can not convert to xmltype to a string to make that work though.
    select str1,str2 from (
    select extract(xml_col, 'string-join(//@id, '','')') str1
    ,extract(xml_col, 'string-join(//value, '','')') str2
    from xml_temp_table)
    CONNECT BY LEVEL <= LENGTH (REGEXP_REPLACE (str1, '[^,]+')) + 1;But I get the following error:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00607: Invalid reference: 'string-join'.
    I'm looking for a non PL solution.
    Any suggestions appreciated.
    Thanks
    Edited by: chris001 on Feb 26, 2013 12:06 PM
    Edited by: chris001 on Feb 26, 2013 12:07 PM

    chris001 wrote:
    My mind is stuck on doing this below and wrapping it with a CSV to rows hierarchical query. I can not convert to xmltype to a string to make that work though. Oh boy!
    This should ease your pain ;)
    SQL> select x.*
      2  from xml_temp_table t
      3     , xmltable(
      4         '/measure/data-elements/data-element'
      5         passing t.xml_col
      6         columns element_id  varchar2(10) path '@id'
      7               , element_val number       path 'value'
      8       ) x ;
    ELEMENT_ID ELEMENT_VAL
    ab                  40
    cd                   8
    ef                  38
    gh                  32

  • Description of elements and attributes in XML export.

    Does anyone know where I can get a complete description of all the elements/attributes in the XML export from FCP. I found the DTDs (V 1-3), but it only gives me the names and overall structure. I need to know what the content means.
    in particular I want to automate if I can- using XSLT and XSL-FO - the production of standard reporting that I am required to produce (manually) in a documentary production course.

    its all on Apple's Developer site
    http://developer.apple.com/DOCUMENTATION/AppleApplications/Reference/FinalCutPro _XML/index.html

  • OC4J orion-application.xml - elements and attributes

    Hi. i read in oracle docs sentense like this: "Each property maps to an element attribute in the orion-application.xml descriptor." These properties are from deployment plan and i need to know what is the name of the element in orion-application.xml wich is mapped to webSiteBinding property (from deployment plan).

    I just did a quick test of this, and it seems to work for me.
    I used the following XML:
    <?xml version="1.0" encoding="iso-8859-1"?>
    <Employees xmlns="
    http://www.foo.com/Employees">
    <Employee Id="001">
    <LastName>Davis</LastName>
    <FirstName>Kirk</FirstName>
    </Employee>
    <Employee Id="002">
    <LastName></LastName>
    <FirstName>James</FirstName>
    </Employee>
    <Employee Id="003">
    <FirstName>Anthony</FirstName>
    </Employee>
    <Employee>
    </Employee>
    </Employees>
    With the XPath "/Employees/Employee" I got rows in the data
    set and things displayed fine in my page. Changing it to
    "/employees/employee" caused the data set to have no rows which I
    would expect since things should be case sensitive.
    Can you provide me with some sample XML and XPath that
    doesn't work?
    Thanks!
    --== Kin ==--

  • Generate XML file with Elements and attributes from Oracle table

    Hi,
    I have the following table structure.
    CREATE TABLE COIL
    COIL_ID                         NUMBER(10),
    COIL_NUMBER                    VARCHAR2(40),
    COIL_PO_OPERATING_UNIT     VARCHAR2(20),
    COIL_PO_NUMBER               VARCHAR2(40),
    MILL_NUMBER                    VARCHAR2(2),
    MILL_COIL_STATUS          VARCHAR2(15),
    ITEM_NUMBER                    VARCHAR2(40),
    COIL_WEIGHT                    NUMBER(38),
    WEIGHT_UOM                    VARCHAR2(10),
    DOCUMENT_NUMBER               VARCHAR2(40),
    DOCUMENT_DATE               DATE,
    DOCUMENT_STATUS               VARCHAR2(15),
    DOCUMENT_TYPE               VARCHAR2(20),
    DOCUMENT_SOURCE               VARCHAR2(20),
    TEST_ID                         NUMBER(38),
    VALUE                         NUMBER,
    TEST_UOM                    VARCHAR2(20),
    TEST_STATUS               VARCHAR2(70),
    TESTER_LOGIN               VARCHAR2(20),
    EQUIPMENT_CODE               VARCHAR2(50),
    DOC_STS_MSG               VARCHAR2(600)
    For each COILID record, there could be multiple records baased on TEST_ID/VALUE/TEST_UOM etc.
    And I would like to prepare xml file in the following format by selecting data from COIL?
    <?xml version="1.0"?>
    -<Coil xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb="http://xmlns.oracle.com/xdb">
    <CoilId>1419532</CoilId>
    <CoilNo>D2221050010A0</CoilNo>
    <CoilPOOperatingUnit>Changzhou</CoilPOOperatingUnit>
    <CoilPONo>4619</CoilPONo>
    <MillNo>86</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>050FP800 C5</ItemNo>
    <Weight>7076</Weight>
    <UOM>KILOGRAM</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2013-01-11</DocumentDate>
    <DocumentStatus>NonProcessed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>CHIGMA1</DocumentSource>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4992" TestUnit="mm" Status="NonProcessed" TestId="135"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.0128" TestUnit="mm" Status="NonProcessed" TestId="124"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="12" TestUnit="mm" Status="NonProcessed" TestId="125"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5095" TestUnit="mm" Status="NonProcessed" TestId="127"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5042" TestUnit="mm" Status="NonProcessed" TestId="128"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5058" TestUnit="mm" Status="NonProcessed" TestId="129"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4967" TestUnit="mm" Status="NonProcessed" TestId="130"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.5049" TestUnit="mm" Status="NonProcessed" TestId="131"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4972" TestUnit="mm" Status="NonProcessed" TestId="132"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4960" TestUnit="mm" Status="NonProcessed" TestId="133"/>
    <Tests DocStsMsg="0" EquipmentCode="CHIGMA1" TesterLogin="dpkrueger" Value="0.4996" TestUnit="mm" Status="NonProcessed" TestId="134"/>
    </Coil>
    Can you please guide me how to do it in a single query?
    Thanks in advance.

    Hi Odie,
    Thanks for the quick offer.Sure,No problem.I expect the format to be as follows
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="www.tempel.com/COIL.xsd">
    <CoilId>97239</CoilId>
    <CoilNo>777078</CoilNo>
    <CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit>
    <CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo>
    <MillCoilStatus>Test</MillCoilStatus>
    <ItemNo>0140SP150 C5A</ItemNo>
    <Weight>17365</Weight>
    <UOM>POUNDS</UOM>
    <DocumentNo>0</DocumentNo>
    <DocumentDate>2008-10-13</DocumentDate>
    <DocumentStatus>Processed</DocumentStatus>
    <DocumentType>Tests</DocumentType>
    <DocumentSource>MILL</DocumentSource>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="Processed" TestId="65"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1.39" TestUnit="W/Lb" Status="Processed" TestId="48"></Tests>
    <Tests EquipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="1979" TestUnit="W/Lb" Status="Processed" TestId="49"></Tests>
    </Coil>
    But instead it came with below format
    <Coil xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSch
    emaLocation="www.tempel.com/COIL.xsd"><CoilId>97239</CoilId><CoilNo>777078</Co
    ilNo><CoilPOOperatingUnit>TSUSA</CoilPOOperatingUnit><CoilPONo>3407</CoilPONo>
    <MillNo>31</MillNo><MillCoilStatus>Test</MillCoilStatus><ItemNo>0140SP150 C5A<
    /ItemNo><Weight>17365</Weight><UOM>POUNDS</UOM><DocumentNo>0</DocumentNo><Docu
    mentDate>2008-10-13</DocumentDate><DocumentStatus>Processed</DocumentStatus><Do
    cumentType>Tests</DocumentType><DocumentSource>MILL</DocumentSource><Tests Equ
    ipmentCode="MILLEDI" TesterLogin="MILLEDI" Value="84" TestUnit="15T" Status="P
    rocessed" TestId="65"></Tests><Tests EquipmentCode="MILLEDI" TesterLogin="MILL
    EDI" Value="1.39" TestUnit="W/Lb" St atus="Processed" TestId="48"></Tests><Tes
    ts EquipmentCode="MILLEDI" TesterLog in="MILLEDI" Value="1979" TestUnit="W/Lb"
    Status="Processed" TestId="49"></Tests></Coil>
    The sample insert records are as follows
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 65, 84, '15T', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 48, 1.39, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    insert into COIL (coil_id, coil_number, coil_po_operating_unit, coil_po_number, mill_number, mill_coil_status, item_number, coil_weight, weight_uom, document_number, document_date, document_status, document_type, document_source, test_id, value, test_uom, test_status, tester_login, equipment_code, doc_sts_msg)
    values (97239, '777078', 'USA', '3407', '31', 'Test', '0140SP150 C5A', 17365, 'POUNDS', '0', to_date('13-10-2008', 'dd-mm-yyyy'), 'Processed', 'Tests', 'MILL', 49, 1979, 'W/Lb', 'Processed', 'MILLEDI', 'MILLEDI', null);
    commit;
    Thanks in Advance.

  • Dynamic create elements and drag drop

    Hi,
    Where can I find an example of dynamic creating swing elements
    and drag-drop them?
    Thanks,
    Luiz Fernando

    totalnewby wrote:
    The following procedure doesn't compile if sequence SEQ_ADR does not exist before compilation. I had to create the sequence manually before being able to compile this procedure. How can I avoid this manual generation?
    PROCEDURE A_270(proc_id number) IS
    seq_cnt number;
    curr_max number;
    BEGIN
    select count(*) into seq_cnt from user_sequences where sequence_name='SEQ_ADR';
    if seq_cnt > 0 then
    execute immediate 'drop sequence SEQ_ADR';
    end if;
    select max(id)+1 into curr_max from adress;
    execute immediate 'create sequence SEQ_ADR start with '||curr_max||'';
    insert into adress(ID,
    IMPORTED_DT
    select
    SEQ_ADR.nextval ID,
    sysdate IMPORTED_DT
    from new_adress;
    END;Edited by: totalnewby on Aug 23, 2012 6:41 AMEssentially the same question asked by 'gogol' two days ago at creating and using sequence inside a proc
    It was a bad idea then. It is a bad idea now.

  • Dynamic Table control with context nodes and attributes?

    Hi all
    I have node and attributes in context. i want to create table dynamically using this node and attributes, can anyone give code how to do this???
    Thanks
    Madhan.

    Hi
    Go through this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a3de18-ee00-2d10-bfb3-946d7e00fd91?quicklink=index&overridelayout=true].
    Regards
    Arun.P

  • Element name and attribute completion in XML editor?

    With either WebLogic Workshop 9.2.2 or 10.x, is it possible to get completion assistance on elements and attributes? It works in the JSP editor, but I need to know whether this will work for XML documents. For some of these namespaces, they are defined in JSF taglibs.

    I tested this on an .xhtml doc. Right-clicking gives me these options:
    * HTML Editor
    * Text Editor
    * System Editor
    * In-Place Editor
    * Default Editor
    Is this perhaps a feature available in 10.1?

  • Xquery: Element to Attribute Mapping - remove empty attribute tags

    Hi,
    I have a requirement to map source schema xml elements to target schema xml element attributes
    i have done it like below
    <Spd minimumvalue = "{ xs:decimal(data($Test/*:A)) }"
    maximumvalue = "{ xs:decimal(data($Test/*:B)) }"
    averagevalue = "{ xs:decimal(data($Test/*:C)) }">
    Where A,B,C are the source schema elements.
    So once the transformation is done the output looks like this
    <Spd mimimumvalue="1" maxmiumvalue="" averagevalue="3"/>
    Now i got to remove the attribute which has null value.
    the output should look like this
    <Spd mimimumvalue="1" averagevalue="3"/>
    I tried using exists function and implemented it. But then if i have more than 2/3 attributes in the outout xsd then i need to have many if conditions.
    Is there any other alternative for this.
    Please suggest. Appreciate your help.

    Hi,
    Is there any other alternative for this. I'm not aware of any.
    Using exists() is a good solution though, and it's easy to implement with element and attribute constructors :
    return
      element Spd
       if (fn:exists($Test/*:A/text())) then attribute minimumvalue { xs:decimal($Test/*:A) } else (),
       if (fn:exists($Test/*:B/text())) then attribute maximumvalue { xs:decimal($Test/*:B) } else (),
       if (fn:exists($Test/*:C/text())) then attribute averagevalue { xs:decimal($Test/*:C) } else ()
      }Is that what you've tried?

  • Element VS attribute in IR when we create data type.

    hi guruz,
    when we make data type in  IR ,and while creating node ,according node we give type(Element ,attribue etc).
    what is diff between element and attribute.
    please help me
    warm regards.

    Hi,
    You create complex data types using elements and attributes in the XSD editor
    Element
    Create structured data types. Elements that have a type cannot contain subelements.
    Example Instance
    <myElem>
      <f1> Value of f1 </f1>
      <f2> Value of f2 </f2>
    </myElem>
    Attribute
    Add attributes to elements. Attributes cannot usually have subnodes.
    Example Instance
    <myElem myAttr="AttributeValue">
      Element Value
    </myElem>
    You can flag an attribute as optional or required in the Occurrence column. These values mean the same for elements with an occurrence of 0..1 or 1. The only difference between elements and attributes is that attributes cannot have subnodes and that the same attribute cannot be used more than once in an element.
    Hope this will clarify you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

Maybe you are looking for

  • Set a variable in modify package - BPC 7.0 SP4 - Netweaver version

    Hi, can anyone tell me how to set a value (constant) for a variable in the modify package? In Import standard package I want to avoid to ask to user for a transformation file name: I want to substitute: PROMPT(TRANSFORMATION,%TRANSFORMATION%,"Transfo

  • QUery data to BLOB file and upload from APex

    I have query that populate 68k records Example Query is 1) Select empno,ename from emp; table for Blob is SQL> create table dummy_blob ( blob_id number , , blob_content_type varchar2(30) , blob_size number , blob_filename varchar2(100) , blob_desc va

  • Different Background Colors for Clients

    Maybe this isn't the right forum for this but how do you change the background color of ECC to change based on the client you select?

  • Why can't Quicktime playback Muxed MPEG-2?

    When I get quicktime to playback a muxed MPEG-2 file there is no sound. Why does this happen? The description on version tracker says: The QuickTime 6 MPEG-2 Playback Component provides QuickTime 6 users with the ability to import and play back MPEG-

  • How to Use native keyword in java programming

    Hi , I am using JDK 1.6.0_11 , and i was trying to create a java program using "native" keyword , i got the sample code for the same from the site : - http://www.javaworld.com/javaworld/javatips/jw-javatip23.html But when i type this command " C:\jav