You need to remove the XML tag... Having the same element

Hello guys,.

need help, im having trouble removing the tag < EVENT [elem = 6] >

< EVENTS elem = "6" >

< FROM_CODE / >

< PROMO_ID / >

< TO_CODE / >

< TELCO_INFO >

< CALLED_TO > 0063 < / CALLED_TO >

< CALLING_FROM > 63937390517 < / CALLING_FROM >

< / TELCO_INFO >

< GSM_INFO >

< Indicated / >

< USAGE_TYPE > DATA < / USAGE_TYPE >

< / GSM_INFO >

< START_T > 20/11/2015 22:08 < / START_T >

< END_T > 20/11/2015 22:08 < / END_T >

< BAL_IMPACTS elem = "0" >

< AMOUNT > 0.89 < / AMOUNT >

< IMPACT_TYPE > 258 < / IMPACT_TYPE >

< QUANTITY > 103229 < / QUANTITY >

< RATE_TAG / >

VAT < TAX_CODE > < / TAX_CODE >

< / BAL_IMPACTS >

< BAL_IMPACTS elem = "1" >

< AMOUNT > 0.11 < / AMOUNT >

< IMPACT_TYPE > 4 < / IMPACT_TYPE >

< QUANTITY > 0.89 < / QUANTITY >

< RATE_TAG / >

VAT < TAX_CODE > < / TAX_CODE >

< / BAL_IMPACTS >

< elem TOTAL = "608" >

< AMOUNT > 1 < / AMOUNT >

< / TOTAL >

< AMOUNT_GROSS > 1 < / AMOUNT_GROSS >

< AMOUNT_TAXED > 0.89 < / AMOUNT_TAXED >

< / EVENTS >

< EVENTS elem = "6" >

< SYS_DESCR > Cycle before expenses (rev): 549 DUAL-DEF < / SYS_DESCR >

< BAL_IMPACTS elem = "0" >

< QUANTITY > 1 < / QUANTITY >

Plan < RATE_TAG > < / RATE_TAG >

< AMOUNT > 490,18 < / AMOUNT >

< IMPACT_TYPE > 1 < / IMPACT_TYPE >

VAT < TAX_CODE > < / TAX_CODE >

< / BAL_IMPACTS >

< BAL_IMPACTS elem = "1" >

< QUANTITY > 549 < / QUANTITY >

Plan < RATE_TAG > < / RATE_TAG >

< AMOUNT > - 490.18 < / AMOUNT >

< IMPACT_TYPE > 32 < / IMPACT_TYPE >

< TAX_CODE > VTSKY < / TAX_CODE >

100% of < DISCOUNT_INFO > < / DISCOUNT_INFO >

< / BAL_IMPACTS >

< BAL_IMPACTS elem = "2" >

< QUANTITY > 490,18 < / QUANTITY >

Tax of < RATE_TAG > < / RATE_TAG >

< AMOUNT > 58,82 < / AMOUNT >

< IMPACT_TYPE > 4 < / IMPACT_TYPE >

VAT < TAX_CODE > < / TAX_CODE >

< / BAL_IMPACTS >

< BAL_IMPACTS elem = "3" >

< QUANTITY > - 490.18 < / QUANTITY >

Tax of < RATE_TAG > < / RATE_TAG >

< AMOUNT > - 58.82 < / AMOUNT >

< IMPACT_TYPE > 4 < / IMPACT_TYPE >

< TAX_CODE > VTSKY < / TAX_CODE >

< / BAL_IMPACTS >

< elem TOTAL = "608" >

< AMOUNT > 0 < / AMOUNT >

< / TOTAL >

< CYCLE_START_T > 20/12/2015-00:00:00 < / CYCLE_START_T >

< CYCLE_END_T > 20/01/2016 00:00:00 < / CYCLE_END_T >

< START_T > 20/12/2015-00:00:00 < / START_T >

< END_T > 20/12/2015-00:00:00 < / END_T >

< AMOUNT_GROSS > 490,18 < / AMOUNT_GROSS >

< AMOUNT_TAXED > 0 < / AMOUNT_TAXED >

< / EVENTS >

in my XML file, it apprear 2 < elem = 6 EVENTS > but you just have to remove the entire < elem = 6 EVENTS > with < SYS_DESC >.

Thanks in advance.

Your XML file is invalid because it is not an outside element.  In any case, after that...

with Data (THE_XML) as)

Select xmltype (')

0063

63937390517

DATA

20/11/2015-22:08

20/11/2015-22:08

0.89

258

103229

VAT

0.11

4

0.89

VAT

1

1

0.89

Cycle advance costs (rev): DUAL-DEF 549

1

Plan

490,18

1

VAT

549

Plan

-490.18

32

VTSKY

100% discount

490,18

Tax

58,82

4

VAT

-490.18

Tax

-58.82

4

VTSKY

0

20/12/2015-00:00:00

20/01/2016 00:00:00

20/12/2015-00:00:00

20/12/2015-00:00:00

490,18

0

')

of the double

)

Select deletexml (the_xml, "/ ROOT/EVENTS[@elem="6 "and SYS_DESCR]')

from the data

(As requested) RESULT

0063

63937390517

DATA

20/11/2015-22:08

20/11/2015-22:08

0.89

258

103229

VAT

0.11

4

0.89

VAT

1

1

0.89

Tags: Oracle Development

Similar Questions

  • you need to remove the license from computer to move to another PC.

    you need to remove the license from computer to move to another PC.

    It is all the information that I have and you can get on the product. I don't know when and who has been sold, or whose key is. Asked me to pass the software of an older laptop to a new laptop.

    Good luck with that.  Without a legitimate serial number, you're stuck.

    Download the Pro or Standard of X, XI or Acrobat DC versions

    Nancy O.

  • You need to remove the return trolley, spaces, etc..

    Hello

    I am trying to build a string that is on a single line,

    1,2,3,4,5,6,7,8,9

    However, I end up with each number on a separate line.

    1,

    2,

    3,

    4,

    5,

    6,

    7,

    8,

    9

    My code looks like this:

    var xxx = "";

    for (var i = 1; i < = nNumWords; i ++) {}

    global.srchVals [i] .name = "payer Mix."

    global.srchVals [i] .blog = 0;

    XXX = i;

    If (I < nNumWords) {}

    xxx = xxx + ",";

    xxx = xxx.replace ("/ \s + / g," "") .trim ();

    } else {}

    xxx = xxx;

    xxx = xxx.replace ("/ \s + / g," "") .trim ();

    }

    var PMItms = [xxx];

    Console.println (xxx);

    }

    I tried to use the following line of code to remove spaces and carriage returns:

    xxx = xxx.replace ("/ \s + / g," "") .trim ();

    But it keeps giving me the following error message:

    TypeError: xxx.replace(/\s+/g, "") .trim is not a function

    Any help is appreciated.

    Thank you

    Linda

    You are right.  It is a false problem.  I solve the problem this way:

    var PMAddItms = "";
    var PMLstItms = "";
    for (var i = 1; i)<= nnumwords;="" i++)="">
    global.srchVals [i] .name = "payer Mix."
    global.srchVals [i] .blog = 0;

    PMAddItms = i;
     
    If (i< nnumwords)="">
    PMLstItms = PMLstItms + PMAddItms + ",";
    } else {}
    PMLstItms = PMLstItms + PMAddItms;
    }

     
    }
    var PMItms = [PMLstItms];

    Now I get one line of numbers.

    1,2,3,4,5,6,7,8,9

    Thanks for your help.

    Linda

  • Need to remove the old account from creating new a new Internet service provider. TB31.

    New VAC .the see my old address 'Reply', forward, & "write". -Usually very inconvenient. -You should be able to remove the old according to that ISP no longer exists.

    Do you need to delete the emails too?

    If you delete your account

    • Go to Edition-> properties, then select the account. Then click Action account at the left bottom of the active window and delete your account.

    If you remove the only shipping address, then delete the SMTP Protocol

    • Go to Edition-> properties and select the Server (SMTP) "outgoing" > choose one you need to remove.

    By default, you can't remove them, if you want to remove the default value, and then create new SMTP and make default and remove the old SMTP

  • I need to remove the uneeded files: Purenetworks and PCFix. But I get: not deletenmrsrc.dll: access denied make sure the disk is not full or write protected and that the file is not in use.

    Original title: remove unnecessary files

    I need to remove the uneeded files: Purenetworks and PCFix. But I get: not deletenmrsrc.dll: access denied make sure the disk is not full or write protected and that the file is not in use.

    Ditto for PCFIX.exe.

    How can I remove these and clean unnecessary files? Thank you.

    Hello

    1. how exactly you are trying to remove it?
    2 have you connected the administrator account?

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. click on start and then click Run.

    2. type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.

    4. When prompted, click on restart to restart the computer.

    Step 2: Take possession of these program at the following location folder, and then check the issue. C:\Program Files\ 

    Reference: How is ownership of a file or a folder in Windows XP

  • XP key wep changes for new router linksys after the connection. you need to reinstall the WEP every time you start from the top.

    XP key wep changes for new router linksys after the connection. you need to reinstall the WEP every time you start from the top.

    Hello

    Let us perform the steps below and check out them.

    a. click "Start," "Control Panel", then "Add or Remove Programs". In the box "Currently installed programs", find the name of your wireless router. Click on the name of the software, and then click 'remove '. Click 'Yes' when prompted to confirm.
    b. click "Start" then "run". Type "Services.msc" and click "OK". Select 'Wireless Zero Configuration'. Click on 'start '.
    c. click 'Action', 'properties '. In the drop-down menu "Startup Type", click on the arrow and select 'Automatic' to assign the commissioning of automatic Wireless Auto Configuration. Click on 'OK '.
    d. restart your computer.
    e. right click on "Wireless connections" icon Select "View available wireless connections." Click on "change the order of preferred networks. Select the name of your network, and then click "Properties". Erase the old key and enter a new. Click the checkbox next to "Automatically use that key." Click on 'OK '.

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I need to remove the old version of windows easy transfer to install a new... How can I do this

    I recently got a new laptop and I need to transfer my files to my computer windows vista to windows 7, but I need to remove the transfer windows easy off vista to install the new Windows 7... How can I do this. its driving me crazy

    You cannot remove the Windows program like that... Windows 7 easy transfer to restore.

  • I need to remove the program files o to send to:

    original title:?

    I need to remove the program files o to send to:

    I need to remove the program files o to send to:

    You want to remove entries from the right-click send to menu?

    If so, click on the round of Windows (start), type shell: sendto and hit enter. To remove a shortcut, right-click and choose Remove.

  • account users: I need to remove the old user accounts

    I need to remove the old user accounts

    http://www.Vistax64.com/tutorials/93026-user-account-delete.html

    Read the tutorial above.

    http://www.tech-recipes.com/Rx/2054/vista_how_to_delete_user_account/

    And meanings, too.

    The information above should solve the problem for you.

    See you soon.

    Mick Murphy - Microsoft partner

  • I have a text field. I need to remove the first 8 characters of the field, leaving the remaining characters. Help?

    I have a text field. I need to remove the first 8 characters of the field, leaving the remaining characters. Help?

    Example:

    Text Example.JPG

    I need to remove these numbers PXXXXXX. Leaving the other characters.

    Thank you

    Bob

    A normal 'substring' is what you're looking for.

    For a formula of the column in the response criteria tab:

    SUBSTRING ("YourPresTable". "YourPresColumn" OF 9)

    To make the RPD and the workload of shipping off the coast to the database rather than forcing the work on the server of the OBI or presentation:

    Substring ("01 - Sample App Data (ORCL)" ".." ") "" "BISAMPLE '." " D10 product (dynamic table)". ("' Prod_Dsc ' 9)

  • Need to remove the spaces between each words

    Hi guys,.

    I need to remove the spaces between each word. I'm doing this because I want to compare a column with a value.

    For ex: named - description "Negotiate APR - current balance" should be replaced by "NegotiateAPR-currentbalance.

    All can help me out here to achieve. Your timely help is well appreciated.

    Thanks in advance.

    WITH t AS (SELECT '"Negotiate APR - current balance"' str FROM DUAL)
    SELECT REPLACE (str, ' ') str
      FROM t;
    

    gives: "NegotiateAPR-currentbalance.

    Is that what you want...? If this isn't the case, please give some examples.

    See you soon,.

    Manik.

  • PowerCLI Remove-NetworkAdapter questions - need to remove the single card

    I need to remove a single adapter via PowerCLI:

    "Get-NetworkAdapter - VM myvm" returns:

    Name Type NetworkName MacAddress WakeOnLan
    Activated
    ----                 ----       -----------  ----------         ---------
    Network adapter 1 e1000 VM Network 00:50:56:09:09:09 False
    Network adapter 2 e1000 VM Network 00:50:56:01:08:07 False

    I want to only remove the NIC 2, so I tried:

    "Remove-NetworkAdapter - networkadapter"Network adapter 2"which returns:

    Remove-NetworkAdapter: cannot bind parameter "NetworkAdapter". Could not be converted
    the value of 'Network adapter 2' to type 'System.String' to type 'VMware.VimAutoma '.
    tion.ViCore.Types.V1.VirtualDevice.NetworkAdapter ".
    On line: 1 char: 38
    + delete-NIC - NIC < < < < '2 network adapter.
    + CategoryInfo: InvalidArgument: (:)) [delete-NetworkAdapter], Pa)
    rameterBindingException
    + FullyQualifiedErrorId: CannotConvertArgumentNoMessage, VMware.VimAutomat
    ion.ViCore.Cmdlets.Commands.RemoveNetworkAdapter

    So I tried:

    $network = get-networkadapter VM - myvm

    Remove-NIC - NIC $network

    Who wants to delete the two network adapters:

    Confirm
    Are you sure you want to perform this action?
    Operation 'Remove network adapter' target 'NIC 1,
    NIC 2 ".

    So I tried

    $network = get-networkadapter VM - myvm

    Remove-NetworkAdapter NetworkAdapter - $network.networkadapter [2]

    Which returns:

    Cannot perform indexing in a null table.
    At line: 1 char: 63
    + delete-networkadapter networkadapter - $network.networkadapter [< < < < 2]
    + CategoryInfo: InvalidOperation: (2:Int32)], RuntimeException
    + FullyQualifiedErrorId: NullArray

    So, what don't get me?  I need to remove the 2 network adapter only.

    Any help would be greatly appreciated.

    -stephen

    You can do

    Get-NetworkAdapter VM - myvm | where {$_.} Name - eq 'Network adapter 2'} | Remove-NIC

    Note that a table of PS starts indexing at 0.

    If your last attempt should be

    $network = get-networkadapter VM - myvm

    Remove-NetworkAdapter NetworkAdapter - $network.networkadapter [1]

  • Need to remove the password on Toshiba Tecra A8 BIOS

    Hello. Dear can Technical Support, you help me remove the password on Toshiba Tecra A8 BIOS?

    Challenge Code = GH1PF-YLL2C-CKQVT-K2U75-JJF0K

    You must send in a center of Service from Toshiba for password removal. There's no other way.

  • I have a partitioned drive and you need to move the updates of the E: drive, how can I do? ___

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I a partitioned drive and you need to move the updates of the E: drive, how can I do?

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    You do not have.

    The updates will install on the drive where Windows resides.
    TaurArian [MVP] 2005-2010 - Update Services

  • "You are not allowed to change the settings for this printer. If you need to change the settings, contact your system administrator.

    XP Pro, SP3. I downloaded the free Bullzip pdf printer. Somehow my old printer pdf in my printer disappeared list which I have used for years. I get this message when installing - "you are not allowed to change the settings for this printer. If you need to change the settings, contact your system administrator. I click ok and it ends, but it doesn't work. It does not appear in the printer control panel as a printer to change anything.

    I built this computer at home and I'm the only one using it. What is this function 'administrator '? I've never had to administrator on any program. Never. That is what it is?

    CNET is infamous for the grouping of things in its downloads as much a / v programs report as junk (I went through the same thing using eSet NOD32 has / v).  I seem to remember that if you ignore the warning and download the exe file and then use a tool like the free 7-zip to extract only the file necessary to run the program you want, you can work around the problem.

    For a pdf printer free which is not CNET - and works well - go here--> http://www.cutepdf.com/products/cutepdf/writer.asp

    EDIT TO ADD A LINK:

    See, for example, http://forums.cnet.com/7723-12543_102-582307/safe-downloads-cnet-com-sorry-but-not-anymore/

Maybe you are looking for