Define attribute of element at template

Hi,
i have a result xml data as shown below:
- <ParameterDatas>
- <parameter>
<isim>sys.tfs.collectstatistics</isim>
<tanim>TFS logon ekraninda istatistikler toplanacak mi?</tanim>
<deger>1</deger>
</parameter>
- <parameter>
<isim>sys.tfs.run.mode</isim>
<tanim>Uygulamanin DEV, TEST ya da LIVE ortamlardan hangisi </tanim>
<deger>DEV</deger>
</parameter>
- <parameter>
<isim>sys.tfs.showtoolbar</isim>
<tanim>TFS </tanim>
<deger>1</deger>
</parameter>
</ParameterDatas>
i have used the datastructure section to get this data :
<dataStructure>
<group name="parameter" source="Q1">
     <element name="isim" value="NAME"/>
     <element name="tanim" value="DEFINITION"/>
     <element name="deger" value="VALUE"/>
</group>
</dataStructure>
after that i am using an xsl layout to get this result : as you see a column become an attribute of Parameter element by xsl.
- <ParameterDatas>
- <Parameter Isim="sys.tfs.collectstatistics">
<Tanim>TFS logon ekraninda istatistikler toplanacak mi?</Tanim>
<Deger>1</Deger>
</Parameter>
- <Parameter Isim="sys.tfs.run.mode">
<Tanim>Uygulamanin DEV, TEST ya da LIVE ortamlardan </Tanim>
<Deger>DEV</Deger>
</Parameter>
- <Parameter Isim="sys.tfs.showtoolbar">
<Tanim>TFS logon ekra</Tanim>
<Deger>1</Deger>
</Parameter>
</ParameterDatas>
but using XSL for large resultsets over 200-300 MB fails.
so my question :
is there a way to do this column to attiribute transform without XSL, just by data template.
or is there a way to pass outofmemory error for large resultsets. (i tried to change heap area memory values but it has a limit too.)
Thanks in advance. Engin.

Mike,
Replace it with
this.value.replace(/^\s+|\s+$/g,'').toUpperCase();Thanks,
Manish

Similar Messages

  • Converting Schema attributes to elements

    I have trouble registering a schema into Oracle. The problem seems to be that the schema defines Attributes and Oracle does not like Attributes.
    Does someone have a XSL to convert schema attributes into elements?
    I am able to convert the attributes in the XML data file to elements.
    Any help will be appreciated
    Thanks
    SP

    The following xml schema is from the Oracle XML guide. It has attributes in it.
    I've used XMLSpy to validate my xsd before, and it indicated they where valid when indeed it was not. That is why I now use the link I sent previously.
    The purchase-order XML schema is contained in file po.xsd:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:annotation>
    <xsd:documentation xml:lang="en">
    Purchase order schema for Example.com.
    Copyright 2000 Example.com. All rights reserved.
    </xsd:documentation>
    </xsd:annotation>
    <xsd:element name="purchaseOrder" type="PurchaseOrderType"/>
    <xsd:element name="comment" type="xsd:string"/>
    <xsd:complexType name="PurchaseOrderType">
    <xsd:sequence>
    <xsd:element name="shipTo" type="USAddress"/>
    <xsd:element name="billTo" type="USAddress"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="items" type="Items"/>
    </xsd:sequence>
    <xsd:attribute name="orderDate" type="xsd:date"/>
    </xsd:complexType>
    <xsd:complexType name="USAddress">
    <xsd:sequence>
    <xsd:element name="name" type="xsd:string"/>
    <xsd:element name="street" type="xsd:string"/>
    <xsd:element name="city" type="xsd:string"/>
    <xsd:element name="state" type="xsd:string"/>
    <xsd:element name="zip" type="xsd:decimal"/>
    </xsd:sequence>
    <xsd:attribute name="country" type="xsd:NMTOKEN" fixed="US"/>
    </xsd:complexType>
    <xsd:complexType name="Items">
    <xsd:sequence>
    <xsd:element name="item" minOccurs="0" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="productName" type="xsd:string"/>
    <xsd:element name="quantity">
    <xsd:simpleType>
    <xsd:restriction base="xsd:positiveInteger">
    <xsd:maxExclusive value="100"/>
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:element>
    <xsd:element name="USPrice" type="xsd:decimal"/>
    <xsd:element ref="comment" minOccurs="0"/>
    <xsd:element name="shipDate" type="xsd:date" minOccurs="0"/>
    </xsd:sequence>
    <xsd:attribute name="partNum" type="SKU" use="required"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>

  • Schemas defining the same element

    Hi,
    I have 7 schemas (xsd) that define the same element but with different attributes. I want to generate the java classes but obviously there's a problem with the root element. It is possible to join all the schemas that I have to make a unique schema?
    All of them define the XFFile element but in differents ways.
    <?xml version="1.0" encoding="UTF-8"?>
         <xs:element name="XFFile">
         <xs:complexType>
              <xs:sequence>
              here the elements
    </xs:sequence>
         </xs:complexType>
         </xs:element>
    </xs:schema>
    thx in advance

    I've been thinking and I'll make a package for each schema..

  • Student Attributes for Requirement Profile Templates

    Hello,
    I am working on setting up Admission audits.  And, I am looking at using the Student Attributes in the Requirement Profile Template.  But, I am having problems configuring the parameter values for the Student Attributes.  I can get the parameter values to work when using a SAP defined table such as T7PIQADMCATEG, but when I use one of our custom tables the parameter values will not populate.  What do I need to do to get a custom table to work with the Student Attributes parameter values?
    Thanks,
    Ezra.

    Rob,
    I understand how to use the BAdI to assign a requirement profile based on the student attributes.  My question is more basic.  I am having trouble with the defining of the student attributes, IMG Path: \Student Lifecycle Management\Processes in Student Lifecycle Management\Audits\Requirement Profile Templates\Define Student Attributes for Requirement Profile Templates. This IMG items requires defining the Attribute and a Parameter.   I can't get the Parameter to use a Z-table.  The Parameter is defined in the IMG Path: \Student Lifecycle Management\Processes in Student Lifecycle Management\Audits\Basic Settings\Define Parameters for Audit Types.  The Parameter requires a Structure name and Component name.  When I put in a Z-table for these items, the drop-down for the Parameter Value will not be populated for the Stdt Attribute I defined with the Z-table in transaction PIQAUDTMPL_M.
    Thanks for the help,
    Ezra.

  • Limitations of User Defined attributes in USR.

    11.1.1.3
    I added a notes field to the user defined fields of a user, customer wanted a textarea to makes notes in reagarding the user in question.
    Can someone tell me where the limitations of these fields are listed?
    I added a large textfield and the system happily accepted the size and made a clob in the db.
    I have added the permissions in the policy to make it visible in create as well as in view and modify, all that works fine.
    However, when I modify the field by simply writing a small note in it....
    I save the change, no exceptions, no error whatsoever
    the correct data gets into the clob field in the USR table
    but the text area in the user view show the entity object name and reference/instance instead...
    i.e.
    i add the text "test" into the text area, press save
    the fields then shows me...
    weblogic.jdbc.wrapper.Clob_oracle_sql_CLOB@65e1
    So, I am looking for where this limitation is mentioned in the manuals or trying to find out if its a bug.
    Reason I am wondering is because there is a field (USR.USR_NOTE) in the DB which is a CLOB but I cant
    find any reference to that in the User Configuration, i.e. what does the system use it for?
    So, if there is a limitation on the size of fields in the User Configuration, where can I see them?
    I looked in the System and developer manuals and I see nothing on that there.
    What is the maximum and where can I see that defined?

    Hello Antilles.
    The user defined attributes that you refer to it´s used to specify additional attributes.
    You can find more useful information about this topic in this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/nav.htm
    Regards Pedro

  • Help needed in creating user defined attribute

    Hi all,
    I want to create user defined attributes and make it available for all users in sun LDAP5.2,I have followed the below mentioned steps,
    1.Under configuration-schema i have created attribute named "ldapproducts"
    2.I have created new object class "userproducts" and made the parent to be "inetorgperson" and added my "ldapproducts" attribute in required attribute.
    Now,in directory tab,Iam trying to add the "ldapproduct" attribute for each user but my defined attribute i.e,"ldapproducts"is not available in the "Add Attribute"list
    please let me know do i need to do some steps or do i need to do any changes in DS files..
    waiting for ur replies...
    thanks in advance.

    Hi,
    I dont know the solution for this, but heres a work arround
    //create new label some where else in the excel sheet as shown below
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                 lblcmbdata = new Label(75, i, (i+1)+" satish", format);
                 sheet1.addCell(lblcmbdata);
    }//set the validation range as shown below
    writableCellFeature.setDataValidationRange(75,0,75,1000);
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);this will create a combo list with 1000 values
    also you can keep the data to be populated in the different sheet in same workbook by creating a named range as below
    workbook.addNameArea("cmbdata", sheet1, 0, 0, 0, 1000);
    // then fill the data in sheet1
    Label lblcmbdata;
    for(int i=0; i<1000; i++)
                    lblcmbdata = new Label(0, i, (i+1)+" satish", format);
                    sheet1.addCell(lblcmbdata);
    //set the validation named range as below
    writableCellFeature.setDataValidationRange("cmbdata");
    Label cmb = null;
    cmb = new Label(0, 1, "Select",format);
    cmb.setCellFeatures(writableCellFeature);
    sheet.addCell(cmb);Thanks and Regards
    Satish

  • Customer Master Definable Attributes to Sales Order and Pricing

    Hello,
    I have a requirement to set a customer master flag using freely definable attributes.  I am planning to use KNA1-KATR10 from the GENERAL Customer Master data.  We do not want the flag to be sales area specific.  The flag will be on the ship to customer.   
    I need to determine how to copy this flag into the sales order and then also to ensure that this field is available for evaluation in a pricing requirement routine. 
    How do i accomplish this?  An alternative would be to use the Customer Grp fields , KNVV-KVGR1 but i am guessing the process would be similar. 
    Best Regards

    If you want to save Katr10 to the order, you will have to
    1. Append new fiield to VBAK within an append structure like zzvbak.
    2. Retrieve Katr10 and move to VBAK in MV45afzz form userexit_move_field_to_vbak.
    3. Append new field Katr10 to pricing communication structure komk in include komkaz.
    4. If you retained Katr10 as field name then you are done since there is a move corresponding from vbak to komk, if not you need to move this to komk in MV45afzz form userexit_pricing_prepare_tkomk.
    The field will now be populated and available in your pricing requirement routine. Hope this helps.
    Matt

  • Define attributes in Sender File Content Conversion

    Hello everybody,
    I have the following issue:
    I have the next flat file:
    0001;159;2008-04-03;Customer_2008-04-03.xml
    0001;953;0;1;0
    0002;2907;0;1;0
    And I have to convert it to the next XML structure:
    <DocumentsBatch id="0001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <BatchInfo>
      <SumDocumenten>159</SumDocumenten>
      <date>2008-04-03</date>
      <name>Customer_2008-04-03.xml></name>
      </BatchInfo>
      <Document id="0001">
      <Customer>953</Customer>
      <Portnumber>0</Portnumber>
      <denied>1</denied>
      <Port>0</Port>
      </Document>
      <Document id="0002">
      <Customer>2907</Customer>
      <Portnumber>0</Portnumber>
      <denied>1</denied>
      <Port>0</Port>
      </Document>
    My question is: Is it possible to define an attribute (e.g. id="0001" in <Document id="0001">) in File Content Conversion? If so, how can I do that?
    Your answers will be rewarded with points.
    Kind regards,
    Kamran

    Hi Kamran,
    its not possible to define attribute in File Content conversion.Instead u can create one more field "id" under the segments DocumentsBatch, Document etc.
    Thanks
    Ritu

  • User defined attributes - usages

    Hi,
    I would like to hear how other OA developers have used user defined attributes for an item, if they have used it. I would appreciate if you could share that information.
    As for me, I used it for items (messagetextinput, choice etc) in my custom search region to assign attribute names to these items to know what the values given by the user should be associated with and searched for. I had to create a custom search region since query region from oaf didn't allow to associate more than on VO to it.
    I just want to see what other purposes others have used the user defined attributes to get a better understanding of it.
    Thank you,
    Arun

    Hello Antilles.
    The user defined attributes that you refer to it´s used to specify additional attributes.
    You can find more useful information about this topic in this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/nav.htm
    Regards Pedro

  • How to retrieve user defined attributes in Prepopulating a request dataset

    Hi,
    I have created couple of user defined attributes in user profile.
    And I am tryting to develop a prepopulate adapter in a request dataset for a resource. I need to prepopulate request dataset based on the values of above said user defined attributes.
    I tried to use tcResultSet result=UserOppsIntf.getSelfProfile(); in my pre-populate adapter but it is giving me only the following attributes and it is not giving any of my user defined attributes.
    Users.Manager Key
    Users.Manager Login
    Users.Manager First Name
    Users.Manager Last Name
    Users.Password Warning Date
    usr_locale
    Users.Key
    Users.Password Expired
    Users.Middle Name
    Users.User ID
    Users.Password Expiration Date
    Users.Status
    Users.Password Warned
    Users.Email
    Telephone Number
    Users.Display Name
    usr_timezone
    Users.Lock User
    Users.Last Name
    Users.First Name
    MEMBERTYPE
    If I use the code userData = usrService.getDetails("User Login", RequesterID, null); then I am getting only the following.
    Display Name:
    act_key:
    Full Name:
    usr_key:
    User Login:
    Last Name:
    First Name:
    Please let me know how to retrieve all of user defined attribute values in prepopulate adapter for a request dataset.

    Use below code to get all attributes in user profile including UDF.
    OIMInternalClient objOimInternalClient = null;
    User user = null;
              UserManager usrService = null;
    objOimInternalClient = new OIMInternalClient();
              if (objOimInternalClient != null) {
                        try {
                             objOimInternalClient.loginAsAdmin();
                             usrService = objOimInternalClient
                                       .getService(UserManager.class);
                             user = usrService.getDetails("usr_key", strUserKey, null);
                             endDate = (Date) user.getAttribute("End Date");
                        } catch (Exception e) {
                             e.printStackTrace();
                        } finally {
                             if (objOimInternalClient != null)
                                  objOimInternalClient.logout();
                             if (user != null)
                                  user = null;
                             if (usrService != null)
                                  usrService = null;
    In order to see all UDF's in User profile, please create Authorization Policy.

  • LDAP search cannot find entry by user "defined attribute"  or  "sounds like

    Hi, I have an JSP program that searches an LDAP Sun One Directory Server.
    All of my search filters ( by givenname,sn,mail and phone #) work fine with the search base set at the very top (root ) of my DIT tree.
    However with the same search base, searching by an "User Defined Attribute" fails to return anything (and note that my search filter includes the objectclass that goes with this user defined attribute)?
    Yet, if I change the search base so it points all the way down the DIT tree (maybe near RDN?), the "User Defined Attribute" search works fine ?
    Additionally, "sounds like" search filter (givenname~=) fails to find anything at
    the upper root search base of DIT. If I change the search base to point down in the DIT tree as I did above, the "sounds like" filter will work?
    I've tried everything I know?

    Hi Dora9,
    Thanks for your reply.
    I am glad that you have solved the problem and thanks for your share us the solution
    here, so it would be helpful for other members who get the same issue
    and we will close this case.
    In addition, I suggest you could try to get
    the issue confirmed and diagnose by product team. Would you please create connect report for it? You will get email notification for update from the product team experts:
    http://connect.microsoft.com/VisualStudio/feedback/CreateFeedback.aspx,
    if you submit it, you could share us the link here, so we could know the latest information from the Product team expert. And I will help you to vote it.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • User Defined Attributes

    Hi All,
    I wanted few information on User defined attributes in Projects. It would be of great help if I get few suggestions.
    I wanted to add few fields to the Update task progress screen. How can I add these field as there is no specific page layout exist for this page. Do I need to use OA Framework to achieve the same? If Yes, how can we modify these seeded pages?
    Please guide me.
    Thanks in Advance,
    Srini.

    UDA can be added to project/task/classification. We can not modify the Update Task Progress form using UDA. If the changes are minimal then you can go for personalization or modify the sources as per OAF standards.

  • User Defined Attributes in Tree List

    Does anyone know what the User Defined Attributes is used for in the tree list (when in Create / Edit List Entry screen)?
    I'm trying to put a title tag on my list entries so I get a tooltip when hovering the mouse over each entry and thought this might be the way to do it.
    If not then User Defined Attributes sounds like it could be useful anyway but I can't find any documentation on what it does.

    Hello Antilles.
    The user defined attributes that you refer to it´s used to specify additional attributes.
    You can find more useful information about this topic in this link: http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/nav.htm
    Regards Pedro

  • User-defined Attributes in CRM WebUI

    Hi there,
    I am using the Attribute 1 (defined in IMG->CRM->Master Data->BP->Define Attributes->Define User-Defined Attributes) to determine if a customer may or may not be given credit, just a simple yes or no attribute. My question is how to make this attribute be available when I'm creating a new BP in the WebUI under General Data?
    Thanks in advance.

    Hi CharlieF,
    I have a trouble with the same attributes in the "Account overview", in the view "BP_HEAD/AccountDetails", when i select a value in this fields and i try to save, the system display the error message: " Field group Attribute 1 is hidden; do not enter data in corresponding fields" 
    Have you solved this issue?
    Can you explain me how?
    Thanks in advance.

  • BP User Defined Attributes -- Error

    Hi experts!!
    The customer i am working on needed some extra fields on the Accounts screen page, so i defined all User Defiened Attributes from 1 to 10 and added them from the Node MARKETING of the component BP_HEAD.
    When i try to save the Account (after filling one of the attributes) I get the following error msg: Classification data is already maintained for business partner.
    The Account can be saved and replicated to the ERP if the attributes remain empty.
    What am i missing here???
    Is there a connection between the attributes and account classification ??
    Thank you in advance

    The error was fixed with Note 1271004.
    BUT .. now when i Save the Account with User Defined Attributes filled the replication to ERP does not happen..
    If the attributes are empty it gets replicated.
    Any ideas???
    Please help!!

Maybe you are looking for

  • Creation of mandatory UDF in A.R Invoice

    Dear All, I am facing the problem for mandatory field creation. Even i write this below code when adding A.R Invoice it mandatory field is not working. alter proc SBO_SP_TransactionNotification   @object_type nvarchar(20),     -- SBO Object Type  @tr

  • Can I run 2 monitor with one of the monitor having Full Screen for Elgato Eye TV?

    My mac mini has Elgato 'Eye TV' software that runs in 'Full Screen'.  I want to keep this setting & also connect another monitor to the macmini & use other Appilications on the other monitor?  Can I run 2 monitor with one of the monitor having Full S

  • Can't connect MacBook to PowerMac over Airport network

    PowerMac G4 DP 1 GHZ, Mac OSX 10.5.8 MacBook Core 2 Duo 2 GHz, Mac OSX 10.6.2 When I try to "Connect As", nothing happens. Oddly, I can share the screen of my PowerMac on my MacBook with no trouble. I have File Sharing active on both. This only happe

  • SCCM 2007 R3 Software Updates Sync : 6703 WSUS server not configured

    Hi, We run SCCM 2007 R3 in native mode (Software Update Point and WSUS both reside on SCCM site server). We're having issues running Software Updates Synchronization which have previously worked fine. In SMS_WSUS_Control_Manager the errors appear as

  • Can't find the actions window in PSE 9 on windows 8.1

    i'm trying to add new actions. i don't seem to have a window called actions. didn't have this problem with PSE 9 on vista but had to get a new computer. is there a way around this issue? any help is appreciated!