Question on how to do.. calculating on string.. and store

Hai there..
I am wondering hwo to do this in java to get a word better
For example.. a string that store "Kuala Lumpur KL"
And I would like to take out KL and store it into another string...
is that possible? and how could I do it?

WEll... it can be done very easily... using following method from
java.lang.String class contains getChars(args) method.
please visit the following URL :
http://java.sun.com/j2se/1.4.1/docs/api/
have fun

Similar Messages

  • How to retrieve the specific string and store in a seperate table

    hi all,
    i have the following long text store in a internal table field.
    "AAA1"
    "AAA1"*********************************************
    "AAA1"INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL
    "AAA1"*********************************************
    "AAA1" STAGING TO PRINT THE PANEL LABELS
    "BBB1" (REQUIRED QTY. AS PER LOT TRVELER)
    "BBB1" PANEL LABEL MUST BE A THERMAL LABEL
    "CCC1" USING FOLLOWING SPECIFICATIONS:
    "CCC1" *USE LABEL SIZE:1.25"X0.25"
    "AAA1" *USE ZEBRA PRINTER(MODEL:90XI 11)
    "BBB1" *USE FILE NAME:L:\BARONE\FORMATS\PANEL.lbl
    "AAA1" Staging to apply labels on
    "CCC1" breakaway tab of the panel
    please advise the logic to retrieve only the "xxxx" field for this long text field so that i can store it in a separte field/table. we can do a sorting on the fields accordingly later.
    the " " actually is open and close bracket in the system, i'm not able to get it display in the post here.
    thanks.
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:27 AM
    Edited by: Reetha Pitchee Maridas on Jul 15, 2009 10:28 AM

    Hi ,
    Try using logical expression CA .
    Below is a sample code
    data :index1 type sy-fdpos ,
          g_f_text type char255 ,
          g_f_text2 type char255,
          index2 type sy-fdpos .
    g_f_text = '(AAA1)INSTRUCTIONS FOR STAGING TO PRINT PANEL LABEL'.
    if g_f_text CA '('.
       index1 = sy-fdpos .
    endif.
      if g_f_text CA ')'.
       index2 = sy-fdpos .
    endif.
    index2 = index2 - index1 - 1.
    index1 = index1 + 1 .
    g_f_text2 = g_f_text+index1(index2).
    write g_f_text2.
    Please note that this is with the assumption that we need to take the first string enclosed in ( ).
    Regards,
    Arun

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • How can I download Photoshop CC and store it on my computer?

    How can I download Photoshop CC and store it on my computer?

    Instal lthe Creative Cloud app, let it handle things.
    Mylenium

  • How do I convert a string, and use a string as a property?

    I have an array in the following format:
    {ownsCar: 'true', ownsBike: 'true', ownsHouse: 'true'}
    {ownsCar: 'false', ownsBike: 'true', ownsHouse: 'true'}
    {ownsCar: 'true', ownsBike: 'false', ownsHouse: 'true'}
    etc ............
    And I need to test against each item e.g.
    if...
    myDataGrid[myItem].ownsCar == Object(myCheckbox).label
    ... then
    if...
    myDataGrid[myItem].ownsBike == Object(myCheckbox).label
    ... then
    if...
    myDataGrid[myItem].ownsHouse == Object(myCheckbox).label
    ... then
    But I need to build my application where the property (e.g. "ownsCar", "ownsBike", "ownsHouse") is a variable such as:
    if...
    myDataGrid[myItem].myProperty == Object(myCheckbox).label
    ... then
    I would like to loop through my Array, counting the number of items, and then use each item as a property.
    How would I convert the string (e.g. "ownsCar") into a property "myProperty" ???
    Many thanks in advance
    Chris

    Thanks, but my problem is that I won't know what my property will be.
    E.g. they could be...
    {svnsdkvnsdklvnsdklv: 'true', seuAfnwfnw: 'true', asfwseionf: 'true', etc.................}
    and there could be lots of them.
    I need to have myObject[N], where N is a variable property for each of the items taken from a variable length array
    so...
    ownsCar is represented by myObject.[N]
    ownsHouse is represented by myObject.[N+1]
    ownsBike is represented by myObject.[N+2]
    etc
    (sorry, this is so difficult to explain when I dont know what the answer is)

  • How to take human task values and store them in DB table

    Hi, I have a workflow and when I assign the task to someone I want to store some info in a database table that I created.
    I have checked the box allow task and routing customization in bpel call backs.
    And under the on Assign message, I put an assign bpel construct and an invoke.
    in the assign construct I am trying to copy some of the elements from my humantasks_globalvariables to certain columns in my database table.
    I have found out you can't copy them directly because the humantasks_globalvariables are of type string and my database columns are anonymous. So I tried using parseEscapedXML(), when I do this I get the error that
    oracle.fabric.common.xml.xpath.XPathFunctionException: parseXML() expects the argument to be either a string or an XML element.
    The humantasks_globalvariable I am using says it's of type string but it gives me this error.
    I am obviously doing something wrong. If anybody know how to take values from a human task and store them in a database table any help would be greatly appreciated.

    In the actual database the column types are varchar2. But when I drag an invoke from the bpel constructs I associate it with by DBadapter partner link and click the button automatically create input variables. It creates an xsd and this is what one of the elements looks like.
    <xs:element name="anyvalue">
        <xs:simpleType>
            <xs:restriction base="xs:string">
                 <xs:maxLength value="20"/>
            </xs:restriction>
        </xs:simpleType>
    </xs:element>When I do an assign and try to assign the values from the humantasks_globalvariables xsd there types look like this.
    task:title string
    and the input variable I automatically generated look like this.
    ns7:anyvalue <anonymous>

  • How to query data from database and store it into Managed Bean ?

    Hi all,
    In our application we have requirement to store information within Managed Bean to be accessed by ADF pages.
    The information is stored in database tables.
    The question is :
    What is the efficient / recommended way to do that ?
    I do not use apps module to query the data because the information is required in View layer not the model layer
    Thank you for your help,
    xtanto

    Xtanto,
    if the information is stored in the database then the question is if there is a database connect open already. If yes, then why not using this connection to query for the data you want to access and store. Alternatively you can directly open a JDBC connection in a managed bean or access an EJB session bean. However, this comes with the price of an extra database connection.
    Make sure the managed bean is in session scope if you want to share the information without re-fetching it
    Frank

  • Question with how to know if a String contains int,double,or common String?

    I'm doing table sorting now and wanna make a "generic" method of comparing 2 Strings:
    if they are common Strings , just use String.compareTo()
    if they are int or double etc, compare which is bigger
    BTW: I have thought about using try{...}catch{...} to catch NumberFormatException , but i don't wanna use this way.

    check to see if each char is numeric? (or '.')....
    I dont see much wrong with parseInt/parseDouble +
    exception catching thothe compare() method is invoked hundreds and thousands times, so I guess using too much try{}catch{} is not a good thing, am I right?

  • Hi, I am looking for a printing solution for iPads in the office space, my question is how can I print from iPads and if the iPads are connected to a wifi router on a network would I be able to print from a networked printer?

    Hi
    We are looking at placing iPads in our offices but need to understand the printing options available? I have a number of questions?
    1/ Would I be able to print to a networked printer?
    2/ what would be the best WIFI Printer available for extensive printing?
    3/ Are there any other printing options available?
    Thank you in advance!

    The roll over logs all have the same name exact the extension is .lo_ , So.. I'm not sure what you are looking for.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How to pass a command string and  file content in a socket?

    socket = new Socket(host.getHostIp(), host.getFilePort());
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("c:/test.xls")));
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(socket.getOutputStream()));
    bw.write("this is my control command.\n");// *\n use to mark a line*
    String cur = null;
    while((cur =br.readLine())!=null){
         bw.write(cur);
         bw.newLine();
    br.close();
    bw.flush();
    bw.close();then,read from the socket:
    BufferedReader myIn = new BufferedReader(new InputStreamReader(_myProcessSocket.getInputStream()));
    String command = myIn.readLine();
    // read file
    BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("d:/test.xls")));
    String cur = null;
    while ((cur = myIn .readLine()) != null) {
         bw.write(cur);
         bw.newLine();
    bw.flush();
    bw.close();
    myIn .close();I find d:/test.xls cannot read,the file is bad.The code below is the same:
         BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("c:/Ñз¢ÈÎÎñ¸ú×ÙÇåµ¥_V5.1.xls")));
                   BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("c:/Ñз¢ÈÎÎñ¸ú×ÙÇåµ¥_V5.2.xls")));
                   String cur = null;
                   while ((cur = br.readLine()) != null) {
                        bw.write(cur);
                        bw.newLine();
                   bw.flush();
                   bw.close();
                   br.close();

    You should only get the OutputStream and InputStream once and wrap this in the data streams
    To send data -
    DataOutputStream dos = new DataOutputStram(socket.getOutputStream());
    dos.writeUTF("´ïµ½ddddd");
    dos.writeInt(lengthOfFile);
    // Now loop reading the  file bytes a buffer and a time and writing them
    // using
    dos.write(buffer, 0, bytesRead);To receive data-
    DataInputStream dis = new DataInputStream(socket.getInputStream());
    String valueSent = dis.readUTF(); // Will return "´ïµ½ddddd"
    int lengthofFile = dis.readInt();
    // Now loop reading the file bytes to a buffer until you have read all the bytes of the file.

  • How to parse a delimited string and insert into different columns?

    Hi Experts,
    I need to parse a delimited string ':level1_value:level2_value:level3_value:...' to 'level1_value', 'level2_value', etc., and insert them into different columns of one table as one row:
    Table_Level (Level1, Level2, Level3, ...)
    I know I can use substr and instr to get level value one by one and insert into Table, but I'm wondering if there's better ways to do it?
    Thanks!

    user9954260 wrote:
    However, there is one tiny problem - the delimiter from the source system is a '|' When I replace your test query with | as delimiter instead of the : it fails. Interestingly, if I use ; it works. See below:
    with t as (
    select 'str1|str2|str3||str5|str6' x from dual union all
    select '|str2|str3|str4|str5|str6' from dual union all
    select 'str1|str2|str3|str4|str5|' from dual union all
    select 'str1|str2|||str5|str6' from dual)
    select x,
    regexp_replace(x,'^([^|]*).*$','\1') y1,
    regexp_replace(x,'^[^|]*|([^|]*).*$','\1') y2,
    regexp_replace(x,'^([^|]*|){2}([^|]*).*$','\2') y3,
    regexp_replace(x,'^([^|]*|){3}([^|]*).*$','\2') y4,
    regexp_replace(x,'^([^|]*|){4}([^|]*).*$','\2') y5,
    regexp_replace(x,'^([^|]*|){5}([^|]*).*$','\2') y6
    from t;
    The "bar" or "pipe" symbol is a special character, also called a metacharacter.
    If you want to use it as a literal in a regular expression, you will need to escape it with a backslash character (\).
    Here's the solution -
    test@ORA11G>
    test@ORA11G> --
    test@ORA11G> with t as (
      2    select 'str1|str2|str3||str5|str6' x from dual union all
      3    select '|str2|str3|str4|str5|str6' from dual union all
      4    select 'str1|str2|str3|str4|str5|' from dual union all
      5    select 'str1|str2|||str5|str6' from dual)
      6  --
      7  select x,
      8         regexp_replace(x,'^([^|]*).*$','\1') y1,
      9         regexp_replace(x,'^[^|]*\|([^|]*).*$','\1') y2,
    10         regexp_replace(x,'^([^|]*\|){2}([^|]*).*$','\2') y3,
    11         regexp_replace(x,'^([^|]*\|){3}([^|]*).*$','\2') y4,
    12         regexp_replace(x,'^([^|]*\|){4}([^|]*).*$','\2') y5,
    13         regexp_replace(x,'^([^|]*\|){5}([^|]*).*$','\2') y6
    14  from t;
    X                         Y1      Y2      Y3      Y4      Y5      Y6
    str1|str2|str3||str5|str6 str1    str2    str3            str5    str6
    |str2|str3|str4|str5|str6         str2    str3    str4    str5    str6
    str1|str2|str3|str4|str5| str1    str2    str3    str4    str5
    str1|str2|||str5|str6     str1    str2                    str5    str6
    4 rows selected.
    test@ORA11G>
    test@ORA11G>isotope
    PS - it works for semi-colon character ";" because it is not a metacharacter. So its literal value is considered by the regex engine for matching.
    Edited by: isotope on Feb 26, 2010 11:09 AM

  • How to exchange a pdf document and store it

    Hi all,
    I would like to implement the following functionality:
    a) Within a function module in R/3 I want to call a remote function module in another system. I would pass some data to the remote function and the other system would return a pdf document with the call.
    b) From a remote system I would like to send a pdf document to R/3 via an IDoc.
    In both scenarios I would like to store the pdf within the R/3 system afterwards.
    My questions:
    How do I transfer binary data such as pdf documents via RFC and IDocs?
    How do I store these documents in R/3? Is there some standard functionality available for this kind of document management?
    Does anyone know any examples on how to implement these two tasks?
    Your help is very much appreciated
    Thanks and Regards
    Jens

    <b>* How do I transfer binary data such as pdf documents via RFC and IDocs?</b>
    you can pass the binary string thru RFC with export/import parameter of type string or xstring.
    <b>* How do I store these documents in R/3? Is there some standard functionality available for this kind of document management?</b>
    you can store it in SAPs BDS - business document services (txn OAOR)
    alternatively you can also store it in Z table.
    or you can use SAP easy document management.
    http://help.sap.com/saphelp_erp2004/helpdata/en/db/003353fca05c47bfc8f391cf296fc8/frameset.htm
    Regards
    Raja

  • Convert Inputstructure into String and store into DB2

    Hello All
    My requirement is I want to convert total input structure into string then stored into database single field as clob. Can anyone suggest me how will i retive input structor, is there any user defined function will i write or is there any inbuilt functionality in SAP PI. Plese suggest me
    Thanks&Regards,
    VenkatK

    Hi Swarup / Shamly
      My input structure is nearly 60 fields. Sample Structure
    <?xml version="1.0" encoding="utf-8"?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <SOAP-ENV:Body>
             <create xmlns="urn:MySoapServices">
                <PurchaseOrder>
                   <BuyerDetails>
                        <Organization>University of Washington</Organization>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                        <Street>Savery Hall</Street>
                        <City>Seattle</City>
                        <State>Wa</State>
                        <Zip>98195</Zip>
                        <Contact_Numbers>
                                  <Phone>888-846-6638</Phone>
                                  <Fax>212-629-1158</Fax>
                        </Contact_Numbers>
                        <Email>hidekiu.washington.edu</Email>
                   </BuyerDetails>
                   <SupplierDetails>
                        <Organization>Thomas Industrial Network</Organization>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                        <Street>5 Penn Plaza, 10th Floor</Street>
                        <City>New York</City>
                        <State>NY</State>
                        <Zip> 10001</Zip>
                        <Contact_Numbers>
                                  <Phone>888-846-6638</Phone>
                                  <Fax>212-629-1158</Fax>
                        </Contact_Numbers>
                   </SupplierDetails>
                   <PurchaseOrderInformation>
                        <Order_Number>4556</Order_Number>
                        <Order_Delivery_Date>10-10-2006</Order_Delivery_Date>
                        <PO_Type>Finished</PO_Type>
                        <status>PO sent</status>
                   </PurchaseOrderInformation>
                   <Address>
                        <Shipping_Address>
                             <Organisation>University of Washington</Organisation>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                             <Street>Savery Hall</Street>
                             <City>Seattle</City>
                             <State>Wa</State>
                             <Zip>98195</Zip>
                             <Email>hidekiu.washington.edu</Email>
                        </Shipping_Address>
                        <Billing_Address>
                             <Organisation>University of Washington</Organisation>
                        <Authorized_Person>
                             <FisrtName>Cease</FisrtName>
                             <LastName>Wayne</LastName>
                        </Authorized_Person>
                             <Street>Savery Hall</Street>
                             <City>Seattle</City>
                             <State>Wa</State>
                             <Zip>98195</Zip>
                             <Email>hideki</Email>
                        </Billing_Address>
                   </Address>
                   <Payment_Terms>
                        <Purchase_Order>
                             <PO_Number>456</PO_Number>
                             <Payment_Type>Bank</Payment_Type>
                             <Payment_Type_PO>
                                  <Bank>
                                       <BankName>Citibank</BankName>
                                       <AccountNumber>654987456</AccountNumber>
                                       <BranchCode>564</BranchCode>
                                  </Bank>
                                  <Credit_Card>
                                       <Payment_Type_CC>VISA</Payment_Type_CC>
                                       <CC_Number>1234 4567 7890 0123</CC_Number>
                                       <CC_Expire_Date>10-12-2012</CC_Expire_Date>
                                  </Credit_Card>
                             </Payment_Type_PO>
                        </Purchase_Order>
                        <Currency>USD</Currency>
                   </Payment_Terms>
                   <Purchase_Items>
                        <Item>
                             <Part_Name>6 foot wide 5 foot high cabinet</Part_Name>
                             <Quantity>9</Quantity>
                             <Description>Cabinets of systems</Description>
                        </Item>
                        <Item>
                             <Part_Name>6 foot wide shelves</Part_Name>
                             <Quantity>6</Quantity>
                             <Description>Shelves for books</Description>
                           </Item>
                   </Purchase_Items>
              </PurchaseOrder>           
             </create>
          </SOAP-ENV:Body>
       </SOAP-ENV:Envelope>
               I need to store whole XML structure (Including  XML version) into Database single field as a clob. not  field values. Please help me out from this issue.

  • How can I get the data and store the data dynamically generated?

    When I entered an order, after the information for the order has been filled in, an order number has been generated dynamically. I want to record this number to my databank.
    The questions are, 1\how can I record the order number? 2\How can I write it back to my databank?
    I noticed Openscript_User_100 had asked the similar question, the post is here,
    Openscript - How to save data to Data bank at runtime
    Openscript - How to save data to Data bank at runtime
    Can Openscript_User_100 or somebody else be more specific on how to do that?
    Can I use the forms.textField.storeAttribute to do that? Where can I find the example for forms.textField.storeAttribute?

    Thanks aamat!
    I tried to look for the orderID in the detail pane HTML, I only have a screen shot in the Detail pane (Is this Detail Pane found in View-Details?) I can see the orderID on the screen shot (there is no other tab Screenshot is the only tab) but I cannot select it and replace it with variable.
    The only place I can select the orderID is in the Java Code,somehow the orderId is recorded there. Please see the code below.
    (I changed"[" to "{" in order to show the code correctly)
    beginStep("{11} Sales Orders (15371) - XXXX Customer", 0);
              forms.captureScreenshot(229);
                   think(8.39);
              forms.textField(230, "//forms:textField{(@name='ORDER_SOLD_TO_0')}")
                        .setFocus();
                   think(0.812);
              forms.window(231, "//forms:window{(@name='ORDER')}").selectMenu(
                        "Tools|Scheduling");
         endStep();
    Can you advise further?
    Edited by: DorothyLi on Dec 15, 2009 11:21 AM

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • XML file in the form of .config file how to convert it to class and store it in single object

    Hi,
    I have a config file in which i have to convert it to class and get an object.
    example:
    <?xml version="1.0" encoding="utf-8" ?>
    <xyz xmlns="">
      <Container name ="Basic">
        <Connectivity user="" server="" protocol="udp"/>
        <Connectivity user="" server="" protocol="udp"/>
      </Container>
      <Container name ="Cp">
        <settings version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.counterpath.com/cps">
          <domain name="audio">
            <section name="headset">
              <setting name="audio_in_agc_enabled " value="1"/>
            </section>
            <section name="incoming">
              <setting name="use_agc" value="1"/>
            </section>
            <section name="vad">
            </section>
          </domain>
          <domain name="system">
            <section name="qos">
              <setting name="audio" value="tos 46"/>
            </section>
            <section name="dtmf">
              <setting name="force_send_in_band" value="0"/>
              <setting name="minimum_rfc2833_play_time" value="40"/>
            </section>
            <section name="network">
              <setting name="dtx_enabled" value="0"/>
            </section>
            <section name="diagnostics">
              <setting name="enable_logging" value="1"/>
              <setting name="log_level" value="Error"/>
            </section>
            <section name="general">
              <setting name="add_OS_version_to_user_agent_header" value="1"/>
            </section>
            <section name="indialog_notify">
              <setting name="enable_indialognotify" value="1"/>
            </section>
          </domain>
          <domain name="rtp">
            <section name="2833">
              <setting name="enabled" value="1"/>
              <setting name="packet_time_in_ms" value="60"/>
              <setting name="payload_number" value="101"/>
            </section>
            <section name="inactivity">
              <setting name="timer_enabled" value="0"/>
            </section>
          </domain>
          <domain name="proxies">
            <section name="proxy0">
            </section>
            <section name="proxy1">
            </section>
          </domain>
          <domain name="ggg">
            <section name="device">
              <setting name="use_headset" value="1"/>
              <setting name="rrr" value="1"/>
              <setting name="eee" value="480"/>
              <setting name="eme" value="hhh"/>
              <setting name="headset_name" value="vvv"/>
              <setting name="manual_audio_devices_configure" value="0"/>
              <setting name="audio_in_device" value=""/>
              <setting name="audio_out_device" value=""/>
              <setting name="ringer_device" value=""/>
            </section>
            <section name="system">
              <setting name="export_settings" value="EndpointSettings.xml"/>
              <setting name="enable_export_settings" value="0"/>
              <setting name="log_level_AbstractPhone" value="0"/>
              <setting name="log_level_Audio" value="0"/>
              <setting name="log_level_Auto Configuration" value="0"/>
              <setting name="log_level_CCM" value="0"/>
              <setting name="log_level_Conferencing" value="0"/>
              <setting name="log_level_Contacts" value="0"/>
              <setting name="log_level_DNS" value="0"/>
              <setting name="log_level_GUI" value="0"/>
              <setting name="log_level_Jitter" value="0"/>
              <setting name="log_level_Licensing" value="0"/>
              <setting name="log_level_Media" value="0"/>
              <setting name="log_level_Privacy" value="0"/>
              <setting name="log_level_RTP" value="0"/>
              <setting name="log_level_STUN" value="0"/>
              <setting name="log_level_Security" value="0"/>
              <setting name="log_level_Storage" value="0"/>
              <setting name="log_level_Transport" value="0"/>
              <setting name="log_level_USB Devices" value="Info"/>
              <setting name="log_level_Utilities" value="0"/>
              <setting name="log_level_Video" value="0"/>
              <setting name="log_level_Voice Quality" value="0"/>
              <setting name="log_level_XMPP" value="0"/>
              <setting name="log_level_Endpoint" value="6"/>
            </section>
            <section name="beeptone">
              <setting name="play_locally" value="0"/>
              <setting name="enable_beeptone" value="1"/>
              <setting name="beeptone_file" value="beep.wav"/>
              <setting name="beeptone_timeout" value="30000"/>
            </section>
            <section name="dtmf">
              <setting name="play_locally" value="1"/>
              <setting name="pause_start_stop_dtmf" value="100"/>
            </section>
            <section name="control">
              <setting name="auto_answer" value="0"/>
            </section>
            <section name="ctrol">
              <setting name="auto_ans" value="0"/>
            </section>
          </domain>
        </settings>
      </Container>
    </xyz>
    Please help me out in creating an object from it.
    Thanks,
    Hiranmayee

    It's one of those things you usually start from the other end.
    IE with a class and then serialise / deserialize to xml.
    Because you have a namespace in there:
    <settings version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.counterpath.com/cps">
    I think you will find linq to xml will have issues with that.
    You could still use xpath to pick data out of there and there's been a thread on the c# forum recently which is relevent:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/2dc0581e-f2fd-4fd3-89ee-e59280c398e6/read-xml?forum=csharpgeneral
    Why do you want to turn that into an object?
    By the way.
    This isn't a wpf question and you should probably have posted it on the c# forum.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

Maybe you are looking for

  • Build Fails for Alsaplayer in ABS

    Hi all, I couldn't get alsaplayer to run in GUI mode, but I found this thread that had the answer: http://bbs.archlinux.org/viewtopic.php?id=42168.  So I followed the ABS wiki's directions for setting up ABS and I tried to run for alsaplayer (with th

  • IMessage on Macbook Pro rejecting my Apple ID?

    Had my hard drive replaced, and then some subsequent issues occurred after that. Finally got everything back in order and using my laptop again. I backed up everything before getting my hard drive replaced, and merged all that info back on after gett

  • Dvd drive not recognizing dvds but recognizes all other disks

    My dvd drive on my macbook will recognize cds both burned and retail. It will recognize mac formated (burned) dvds. But it will not recognize any other dvds. It burns in a non mac format (ie burning a linux ISO image). I was just watching a movie on

  • Flatfile loading-info packager settings

    hi guys, Im trying to load one flatfile into infocube. when Im doing settings in infopackage,I came across a tabstrip with name EXTERNAL DATA....in that I didnot understand 1. the two options they gave where I have to choose one.Can u explain the mea

  • Where's the documentation?

    I just installed iLife 06. When I ordered the Apple store said it included printed and electronic documentation in the box. I get that the electronic is on the Help menu. There was no printed version. Is there at least a PDF somewhere? I expected at