In full xml i need to extract some portion of xml and i need to store

Hi this is the xml i will get i need to store from olife tag please suggest some idea how to do
<TXLife>
<UserAuthRequest>
<UserLoginName>UserId</UserLoginName>
</UserAuthRequest>
<TXLifeRequest>
<TransRefGUID>0099962A-BFF3-4761-4058-F683398D79F7</TransRefGUID>
<TransType tc="186">OLI_TRANS_CHGPAR</TransType>
<TransExeDate>2008-05-29</TransExeDate>
<TransExeTime>12:01:01</TransExeTime>
<InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
<InquiryView>
<InquiryViewCode>CU186A</InquiryViewCode>
</InquiryView>
<ChangeSubType>
<ChangeTC tc="32">Update / Add Client Object Information</ChangeTC>
<!--TranContentCode tc = 1 (Add)
tc = 2 (Update)
tc = 3 (Delete)
-->
<TranContentCode tc="1">Add</TranContentCode>
</ChangeSubType>
<OLifE>
<SourceInfo>
<SourceInfoName>Client Profile</SourceInfoName>
</SourceInfo>
<Activity id="Act1" PartyID="Party1">
<ActivityStatus tc="2">In Progress</ActivityStatus>
<UserCode>123456</UserCode>
<Opened>2010-08-17</Opened>
<ActivityCode>CP10001</ActivityCode>
<Attachment>
<Description>LastScreenName</Description>
<AttachmentData>CP Create</AttachmentData>
<AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
<AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
</Attachment>
<OLifEExtension VendorCode="05" ExtensionCode="Activity">
<ActivityExtension>
<SubActivityCode>CP20001</SubActivityCode>
</ActivityExtension>
</OLifEExtension>
</Activity>
<Grouping id="Grouping1">
<Household>
<EstIncome>90000</EstIncome>
</Household>
</Grouping>
<Party id="Party1">
<PartyTypeCode tc="1">Person</PartyTypeCode>
<EstNetWorth>250000</EstNetWorth>
<LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
<EstTotAssetsAmt>400000</EstTotAssetsAmt>
<Person>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
<MarStat tc="1">Married</MarStat>
<Gender tc="1">Male</Gender>
<BirthDate>1965-05-07</BirthDate>
<EducationType tc="3">Associate Degree</EducationType>
<Citizenship tc="1">USA</Citizenship>
<NetIncomeAmt>70000</NetIncomeAmt>
<DriversLicenseNum>D123456789</DriversLicenseNum>
<DriversLicenseState tc="35">New Jersey</DriversLicenseState>
<ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
<DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
<OLifEExtension VendorCode="05" ExtensionCode="Person">
<PersonExtension>
<NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
</PersonExtension>
</OLifEExtension>
</Person>
<Address>
<Line1>125 Finn Lane</Line1>
<City>North Brunswick</City>
<AddressStateTC tc="35">New Jersey</AddressStateTC>
<Zip>08902</Zip>
</Address>
<Phone>
<PhoneTypeCode tc="1">Home</PhoneTypeCode>
<DialNumber>732456789</DialNumber>
</Phone>
<Phone>
<PhoneTypeCode tc="2">Work</PhoneTypeCode>
<DialNumber>732987654</DialNumber>
</Phone>
<FormInstance id="Form1">
<FormResponse>
<ResponseText>No</ResponseText>
<QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
</FormResponse>
<FormResponse>
<ResponseText>Yes</ResponseText>
<QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
</FormResponse>
</FormInstance>
</OLifE>
</TXLifeRequest>
</TXLife>
i need to get output like this
<OLifE>
<SourceInfo>
<SourceInfoName>Client Profile</SourceInfoName>
</SourceInfo>
<Activity id="Act1" PartyID="Party1">
<ActivityStatus tc="2">In Progress</ActivityStatus>
<UserCode>123456</UserCode>
<Opened>2010-08-17</Opened>
<ActivityCode>CP10001</ActivityCode>
<Attachment>
<Description>LastScreenName</Description>
<AttachmentData>CP Create</AttachmentData>
<AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
<AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
</Attachment>
<OLifEExtension VendorCode="05" ExtensionCode="Activity">
<ActivityExtension>
<SubActivityCode>CP20001</SubActivityCode>
</ActivityExtension>
</OLifEExtension>
</Activity>
<Grouping id="Grouping1">
<Household>
<EstIncome>90000</EstIncome>
</Household>
</Grouping>
<Party id="Party1">
<PartyTypeCode tc="1">Person</PartyTypeCode>
<EstNetWorth>250000</EstNetWorth>
<LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
<EstTotAssetsAmt>400000</EstTotAssetsAmt>
<Person>
<FirstName>John</FirstName>
<LastName>Doe</LastName>
<MarStat tc="1">Married</MarStat>
<Gender tc="1">Male</Gender>
<BirthDate>1965-05-07</BirthDate>
<EducationType tc="3">Associate Degree</EducationType>
<Citizenship tc="1">USA</Citizenship>
<NetIncomeAmt>70000</NetIncomeAmt>
<DriversLicenseNum>D123456789</DriversLicenseNum>
<DriversLicenseState tc="35">New Jersey</DriversLicenseState>
<ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
<DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
<OLifEExtension VendorCode="05" ExtensionCode="Person">
<PersonExtension>
<NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
</PersonExtension>
</OLifEExtension>
</Person>
<Address>
<Line1>125 Finn Lane</Line1>
<City>North Brunswick</City>
<AddressStateTC tc="35">New Jersey</AddressStateTC>
<Zip>08902</Zip>
</Address>
<Phone>
<PhoneTypeCode tc="1">Home</PhoneTypeCode>
<DialNumber>732456789</DialNumber>
</Phone>
<Phone>
<PhoneTypeCode tc="2">Work</PhoneTypeCode>
<DialNumber>732987654</DialNumber>
</Phone>
<FormInstance id="Form1">
<FormResponse>
<ResponseText>No</ResponseText>
<QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
</FormResponse>
<FormResponse>
<ResponseText>Yes</ResponseText>
<QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
</FormResponse>
</FormInstance>
</OLifE>
Edited by: LRAJESH on Oct 21, 2010 1:50 AM

What have you tried? I know previous links that have been supplied to you on other questions have shown examples of extracting XML fragments from an XML document. Also, which version of Oracle (4 digits).

Similar Messages

  • I need to clear some of my mail and pictures because they're using all of my memory, but how?

    I need to clear some of my mail and pictures because they're using all of my memory, but how?

    Just open the "Photos" app, open the "Camera Roll" folder and start deleting the pictures you do not want to keep. For mails just open the Mail app and do the same, click edit, choose your emails you do not want to keep and delete them.

  • Need to update to Itunes 11.1 and also need to update my OSX from 10.5.8 to a higher version to support itunes 11.1.

    Need to update to Itunes 11.1 and also need to update my OSX from 10.5.8 to a higher version to support itunes 11.1.
    Thanks for the help.

    Click here, buy the DVD, install it, and run Software Update twice.
    (95649)

  • I need to buy final cut pro software  and i need it to support arabic writing the problem iam in germany  the  i tune here does not

    i need to buy final cut pro software  and i need it to support arabic writing the problem iam in germany  the  i tune here does not give you chance to choose the
    language

    If you want the menus and dialogues of the app to be in Arabic, that's not possible, there is no Arabic version of this software.
    If you just want to write Arabic language titles, etc., the language of the app is irrelevant, the input of different languages is handled by the OS, and Arabic input is always available.
    All Apple software is multilingual, no matter where you buy it. For example, the user interface for Final Cut Pro can be switched among English, Chinese, French, German, and Japanese.

  • XML Parsing with Java - Only some attributes have start and end tags

    Hello,
    I am trying to interpret the XML response from a server after a HTTP request is sent to it. I have modified an example off Wikipedia below to give an example of what it looks like.
    Example XML:
    <Asset name="bread" prep_time="5 mins" cook_time="3 hours">
    <Attribute name="Ingredient: ">Flour</Attribute>
    <Attribute name="Ingredient: ">Water</Attribute>
    <Attribute name="Used in Recipes:" />
    </recipe>
    I have been trying to display the above XML in a format such as:
    name: bread prep_time: 5 mins cook_time: 3 hours
    Ingredient: Flour
    Ingredient: Water
    Used in Recipes:
    Right now I have been trying to do it manually using indexOf and substring of the XML text, but I would like to find a better way of doing this. I have found some examples online that show had to deal with cases such as
    <person>
    <first>Kiran</first>
    <last>Pai</last>
    <age>22</age>
    </person>
    but I do not know what to do when I encounter something like the last item, when there are no "Used in Recipe" items, and it ends with a />, instead of an ending tag </Attribute>.
    Are there any suggestions as to how to handle the example XML code that I have posted?
    Any help would be appreciated. Thanks.

    jtahlborn wrote:
    Tolls wrote:
    I suppose so, but since the idea is to turn it into text in a different format, XSLT strikes me as a better fit than hand crafting it.i agree if the end goal is formatted text. however, i wasn't sure if the OP was just writing some test code to figure out how to access the data or if the formatted text was the final desired output.No, true. It is open to interpretation.
    jschell wrote:
    (Quoting the same bit)
    As long as one is mindful of the potential performance and maintenance impacts of course.Again, it depends what he's doing...true. I was making some assumptions, since (as usual) we don't really know the requirements beyond a base technical one (ie "I have this, and I need it to look like this"). In general, though, if you have XML data and you need it formatted differently then I'd say your first port of call ought to be transformation.
    As for maintenance, I'd say it's easier to maintain a stylesheet than to modify Java, which is why I say it ought to be the start point.
    Of course, YMMV.

  • I need to download some videos from youtube and then convert them to avi and then transfer them to dvd how do I do this

    is there a program that I can download for downloading and converting videos from you tube (need to be in the format AVI ) and then putting them onto a cd I havant a clue on how to do this as I have just got the apple and its way different from normal computers any help.

    Did you look in your downloads folder? If you are using Safari to download then look at Safari - Preferences - General and look in where it says Save downloaded files to. If you have left it to the defaults download folder you will find that under ~/downloads the ~ means your home folder. You can find that in Finder.
    I know you are to OS X so you are probably just unlearning some old bad habits. I'd recommend book marking and using:
    Mac 101
    Switch 101
    Find Out How Video tutorials
    List of Useful URLs for switchers

  • I need to extract some basic data from image files and put it into a spreadsheet.

    Hi.
    I'm looking for I believe is a simple task but I am not sure how to go about it. I want to get the relevant data (seen in the screen grab below) into a spread sheet. I need to get the File Name, Size, Dimensions, Resolution and Kind into the spreadsheet so I can better analyze the data for my purposes. I have tried to find EXIF and IPTC extractors but only come across products that show me the info with no way of transferring it. I figured there must be a way to do this in the Finder. Maybe it's a simple Automator task (which I am not very good at) or a Script.
    Can anyone guide me thru or suggest a tool that would work?
    Thanks,
    Stephen

    Most certainly it is not a feature of iPhoto for the Mac
    thought that was a clear statement
    and the reason that LarryHN mentioned iPhoto is that you posted your question in the iPhoto for Mac forum
    There has to be a way to get that metadata into a text file and then transfer it to the spreadsheet.
    not sure why you think that
    I guess you can print your screen shot and do an OCR scan
    LN
    LN

  • Have found multiple iTunes Library.xml files. Moved Library to new Hard Drive and it needs to be completely rebuilt?

    Hello. I have a Mac Mini operating Mac OS X 10.7.2. I recently had to move my iTunes Library to a new hard drive. I followed the directions on how to move the library and refind everything yet when I do so what comes up is a mere skeleton of what I had. I have had to hunt down my purchased Apps, Music and Movies and re-add them to the library. I also noticed in doing this I have multiple iTunes Library.xml files ... shouldn't there only be one?  If so how do I clean this up without doing any accidental damage (i.e. how do I find the one that is being used and delete the rest?)?  If I delete the others is there any risk of losing purchased content? Lastly syncing my iPads has become a nightmare as I get the "This iPad is currently synced to another iTunes library" message. Obviously something

    It's hard for me to picture the exact situation. It sounds like you still have your library file on the internal but some files on the external, and maybe some on the internal, some of which are in the library and others not...  By re-adding things after consolidating it may have made things into a hodge-podge. Yes, that article you referenced says: "iTunes for Mac: Moving your iTunes Media folder"with Media Folder being the emphasis.  You probably should have just moved your whole iTunes folder.  Still, moving the media folder as instructed should not have messed up the library.  Did you make the mistake of starting up iTunes before the external drive had mounted fully and it then told you it couldn't find many files?  How you proceed to sort it out will depend upon how much time you want to spend and how important things such as ratings and playcount are to you.  I have not actually used the consolidate feature across different drives myself (and don't feel inclined to do so here to test ).
    If you are in the USA you can download some previous purhcases with iCloud, but not all.
    Here's a bit on what an iTunes folder should look like:
    What are the iTunes library files? - [http://support.apple.com/kb/HT1660]
    More on iTunes library files and what they do - [http://en.wikipedia.org/wiki/ITunes#Media_management]
    Library files with graphic and explanation of different iTunes versions - http://discussions.apple.com/message.jspa?messageID=13169517
    Once you get iTunes working off the external drive it should just put new media to the external when you add it.
    I have almost no experience with synching (I synched my neice's iPod, once, about 4 years ago).

  • I need to extract a portion of a string

    Hi, I have a string like "abcdef-ghik". I need to return "ghik" only. I have vb background and I could use Substring and Instring functions to do that. How can this be done in Java?

    Hi, I have a string like "abcdef-ghik". I need to
    return "ghik" only. I have vb background and I could
    use Substring and Instring functions to do that. How
    can this be done in Java?
    String extractPortion(String original) {
      return "ghik";
    }Now, obviously, that's a really stupid solution. But it meets the very vague requirements you provided.
    You've already been given an answer based on a reasonable guess about what you want, but really you should be more clear.
    Will it always be "start-end" and you want everthing after the "-"?
    What if start or end contain a "-"? Will that ever happen, and if so, what do you do?
    Or is it not the "-" that matters but some character index? Do you just want the last 4 characters?
    If you can't specify your requirements clearly, it will be impossible for you or anybody else to write code that correctly meets them.

  • Hi friends.. I just bought an used iPod 5 touch. I am trying to set it up. But it says it is already linked to some icloud email account and they need to remove this device from their account. Who sold it is not responding now. Please suggest on what 2 do

    need your help

    Hey VPKR, Nice of you to try, but not really. Apple will do nothing without a count order and it's not likely you are doing to get one. The only way you can find out information that may tell you who the owner is, would require the password-- it's a "Catch 22." Turn the iPod over to the police, give then all the information you have about the person that sold it to you, and go from there. If bought online, through a web site like eBay, etc. contact the site about a possible fraudulent sale, you may some recourse to either get your money back and the web site can block this person from trying this again. Follow the instructions the web site gives you about what to do with the iPod. They may tell you send back to them or give it to the police. If you used a check or credit card, call your bank or card company and put out a stop payment, then turn this iPod over to the police. Hope this helps. Thanks for being an honest person. Cheers.  

  • I downloaded ios8 on my laptop, and when i was updating it, the screen gave me the logo connect to itunes, i tried to restart it in all the ways, but it didn't work!!!!!! i need a solution, my phone is USELESS and i need it badly!!!!

    i need to know how can i fix my phone, after it gave me the black screen with the connect to itunes logo!!!!!!!! I NEED THE PHONE, and i can't have another one now, it is night!!!!!

    If you are seeing the "Connect to iTunes" logo, then your device is in Recovery Mode, and you will need to restore it:
    If you can't update or restore your iOS device
    iOS: Back up and restore your iOS device with iCloud or iTunes
    Cheers,
    GB

  • I have a fillable form that's already been made. I need to edit fields by moving them and I need to add new fields. How do I do that?

    I have a form that was made by someone else. I need to move fields and add new fields in the same box. How do I do that?

    If the form was created in Acrobat and you have Acrobat, you should be able to edit the fields by selecting: Tools > Forms > Edit
    This is for Acrobat 11. If the PDF has security restrictions that prevent editing or was created with LiveCycle Designer, you won't be able to edit it in Acrobat. If security was applied, you'll need to know the password in order to remove it to allow editing.

  • Need to extract data from a bricked hard drive - Failure ID ucx77t-69j7ms-mfpx1f-60vp03

    Hi My laptop (HP Pavilion Sleekbook 14, purchased in October 2012)  had gone slow recently, and finally its hard drive developed problems. At one point, it was so slow that it took a few minutes to sign off my user, so I shut it down manually while it was logging off. That was when it got really bad. Specifically, I reached the "Repairing disk errors. This may take over an hour to complete" screen. I left it to run for almost a full day and it didn't work. So, I rebooted the laptop and checked its diagnostics boot menu. It ran diagnostics on the hard drive, and on the whole laptop. There were no hardware problems or any codes for any individual components, except the hard drive. Specifically, it gave me the  Failure ID "ucx77t-69j7ms-mfpx1f-60vp03". I tried looking that up but I couldn't find anything. I wonder what that failure ID is for. Fortunately, I have a recovery drive, and most of the information on the laptop is backed up, but I need to extract some recently created data from my hard drive before I lose it by running recovery manager. I tried to back up some files, but the recovery drive could not reach any files to back up. I've also tried taking out the drive and putting it in an external hard drive enclosure then connecting it to another laptop, but it's telling me that the drive is only 25 GB when it's a 500 GB drive, and I still can't reach any files from C: inside. Can you help me figure out how to back up those files? They're only about 10-15 GB altogether, and I can easily fit them on another laptop.

    The failure id message means the hard drive has failed and will have to be replaced. The slowness and other problems were early warning signs of a failing hdd.If the drive can not be read using an external enclosure-not much hope. You might try one of the free tools to recover files-especially #2 which claims ability to recover lost partitions.Maybe it can see your C partition. http://pcsupport.about.com/od/filerecovery/tp/free-file-recovery-programs.htm

  • Need to extract data from R/3 to BI...

    Hi Friends,
    We need to extract some data available in the R/3 side to BI. I have written code in a function module which brings the output into the table e_t_data. now by attaching this function module, we created a Data source also. and then from BI side we replicated this Datasource. when tried to extract the data at BI from R/3, the process keeps on running with out bringing any data into BI. 
    Regarding this, i referred some docs in the forums. They say that we have to go with the approach followed in the FM 'RSAX_BIW_GET_DATA_SIMPLE'. I have done all the coding and settings similar to this function module. there is no syntax error and code produces the required output in e_t_data.In that FM they used some Select statement under the Open Cursor statement. But in our requirement, we are not selecting anything from Table. but we generate some data by some calculations and these data will be our output. If it is the case, can't we use that open cursor approach...?  we need to get the output data not by any select statement  but the output will be some internal table entries which are created by some calculations.
    Please suggest how to handle this. That would be very much helpful. <removed_by_moderator>
    Thanks in advance...
    Regards
    Ram
    Edited by: Julius Bussche on Jul 14, 2008 2:17 PM

    If you dont require any coding, then why dont you extract the data using the DB view/table or DB query. why you are using the FM.
    If you are using the FM, then for the first extraction call it will pass the selectoption data into ranges and in the next extraction call it will open the cursor based on the input data and fetch the data according to the package size per extraction call.
    For the generic data sources using the FM, the main thing lies in Fetching the data. If you study the standard FM 'RSAX_BIW_GET_DATA_SIMPLE', it fetches the data according to the number of records per extraction call.
    At the BI, entire data cant be picked up at once. it will pick packets of data.
    Regards
    Kannaiah

  • I received a gift card and when I redeemed it an error message said that I had some itunes files missing and that I needed to reinstall itunes.  Will I still have all my credits when I download itunes?

    I received an online gift card for Father's Day.  When I tried to redeem the gift then I received a error message saying I had some itune files missing and I needed to reinstall/download itunes.  Will I still have my previous purchase credits after downloading and reistalling itunes? 

    You will, because the credited funds are on your iTunes account, not the application. When you reinstall iTunes just configure it with your old iTunes account and your credits will be there waiting for you.

Maybe you are looking for

  • Use old Windows laptop as second screen for Macbook Pro

    Hi all, I've recently bought a Macbook Pro (mid 2012, 13", 2,5 GHz). So I'm not using my Acer laptop anymore, but I've came across a discussion of people who extended their Mac screen on a Windows laptop. I've tried multiple VNC apps, but no decent r

  • Re: Remove and check cartridge on right.

    I own an Officejet 7310 All in One. I have received an error that reads "Remove and check cartridge on right". After removing and inspecting the nearly full black cartridge, I could not identify any abnormalities. After reinsertion, the error returns

  • How to retrieve a rental movie back

    How do I retrieve a movie back, that I rented two days ago?

  • Mail item storage on Macbook?

    I have "lost" all mail items for a period of about 35 days.  The items show up in the mail list but the "Loading..." notice never goes away.  From where should these items be loading?  My intent is to recover them to the appropriate place using Time

  • Adobe Flash 11 Installation issues

    Hello, I have been trying to install and use Adobe Flash for the last couple of days with no sucess.  I have trolled through the forum to try and find the answer but have come up empty.  Here is the sympton: I install Adobe Flash 11 and when I try to