Removal of namespace in xslt - Urgent pls

All,
version: 11.1.1.3.
My incoming xml doc comes like this (sample one) into BPEL with namespace ns1
+*<?xml version="1.0" encoding="UTF-8" ?>*+
+*<ns1:OrderRequestHeader>*+
+*<ns1:ShipTo>*+
+*<ns1:Name xml:lang="en-US">P1- Atlanta</ns1:Name>*+
+*</ns1:ShipTo>*+
+*</ns1:OrderRequestHeader>*+
To remove such namespace I used the template as below
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="*">
<!-- remove element prefix (if any) -->
<xsl:element name="{local-name()}">
<!-- process attributes -->
<xsl:for-each select="@*">
<!-- remove attribute prefix (if any) -->
<xsl:attribute name="{local-name()}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
This template(googled it) remove all the namespace from element and also the attribute (*<ns1:Name xml:lang="en-US">P1- Atlanta</ns1:Name>*) i.e xml got removed from xml:lang. But I dont want to remove the namespace from attributes. Hence I removed the section below the commented line <!-- remove attribute prefix (if any) -->. This time the output just showed only the element without the attribute like this
<?xml version="1.0" encoding="UTF-8" ?>
<ns1:OrderRequestHeader>
<ns1:ShipTo>P1- Atlanta</ns1:Name>
</ns1:ShipTo>
</ns1:OrderRequestHeader>
But I want the output to be with attribute with xml namespace. How do I achieve that? I tried many combination in the template, but couldnt get thru. Any help is highly appreciated.
Thanks,
Sen

All,
Am I not cleared with my queries? Its very urgent for me, ur help is much appreciated.
Thanks,
sen

Similar Messages

  • Removal of namespace in xslt - Urgent Plz

    All,
    version: soa 11.1.1.3
    To remove the namespace from the xml doc, I used ora:processXSLT function (ora:processXSLT('TrX_RemoveNamespace.xsl',bpws:getVariableData('JCAAdapterInVar','cXML'))) and maintain TrX_RemoveNamespace.xsl in the project dir. The bpel worked fine until 11.1.1.1, when I migrated the same BPEL to 11.1.1.3, it failed with the following error
    *[2010-12-09T16:18:19.075+05:30] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.xml] [tid: orabpel.invoke.pool-4.thread-13] [userId: <anonymous>] [ecid: 0000InAjguSCgol_ott1iY1D0A080000sI,0:14:0x5f5e123:27:0x5f5e124:51:100000039] [APP: soa-infra] [composite_name: OutReceiptRequestCustomMap] [component_name: OutReceiptRequestCustomMap] [component_instance_id: 40036] [dcid: d34be9ea7b8698ce:d8e3ede:12cca72d20f:-7ffd-00000000000001de] BPEL1AssignWMP[[*
    ORABPEL-09500
    XPath expression failed to execute.
    An error occurs while processing the XPath expression; the expression is ora:processXSLT('TrX_RemoveNamespace.xsl',bpws:getVariableData('JCAAdapterInVar','cXML')).
    The XPath expression failed to execute; the reason was: XML-22900: (Fatal Error) An internal error condition occurred..
    Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    TrXRemoveNamespace.xsl_+
    *<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" exclude-result-prefixes="xsl" xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue">*
    *<xsl:template match="*">*
    *<xsl:element name="{local-name()}">*
    *<xsl:apply-templates select="@* | node()"/>*
    *</xsl:element>*
    *</xsl:template>*
    *<xsl:template match="@* | text()">*
    *<xsl:copy/>*
    *</xsl:template>*
    *</xsl:stylesheet>*
    Please help me what might be gone wrong.
    Thanks,
    Sen

    All,
    Am I not cleared with my queries? Its very urgent for me, ur help is much appreciated.
    Thanks,
    sen

  • "urgent" pls help: How to remove name space form message in call to WS

    Hi
    I am calling a WS from my BPEL process. In the BPEL process I call the WS by referring to the URI of the WS in the partner link. The process works fine. But I have a problem with the message size. The WS does not accept Message size greater than 16kB.
    But my message some time exceeds 16kB when maximum data is handled in the message.
    Now I found that the each element in the request contains the namespace which eats up a lot of space.
    Is there a way to remove the namespace from individual elements and put it in a common place in the file? This would reduce the file size.
    I would like to bring to your notice that the WSDL of the WS that I am referring to does not have any reference of xsd. And also no XSD has been created in my BPLE process for this WS.
    Present message
    <messages>
    <InvokeCallORSNewHI_HELLO_InputVariable>
    <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="parameters">
    <HELLO xmlns:ns1="http://abc.def.com/webservices/" xmlns="http://abc.def.com/webservices/">
    <ns1:HELLO_DATA>
    <ns2:HI_TW xmlns:ns2="http://abc.def.com/webservices/packets">
    <ns3:IDENT xmlns:ns3="http://abc.def.com/webservices/fields">400001102/T1-TW17902</ns3:IDENT>
    <ns3:HI xmlns:ns3="http://abc.def.com/webservices/fields">400001102/T1</ns3:HI>
    <ns3:START_DATE xmlns:ns3="http://abc.def.com/webservices/fields">20080404</ns3:START_DATE>
    <ns3:START_TIME xmlns:ns3="http://abc.def.com/webservices/fields">0800</ns3:START_TIME>
    <ns3:DURATION xmlns:ns3="http://abc.def.com/webservices/fields">1200</ns3:DURATION>
    <ns3:WINDOW_COST xmlns:ns3="http://abc.def.com/webservices/fields">1.113</ns3:WINDOW_COST>
    <ns3:LATE_COST xmlns:ns3="http://abc.def.com/webservices/fields">1.75</ns3:LATE_COST>
    </ns2:HI_TW>
    </ns1:HELLO_DATA>
    </HELLO>
    </part>
    </InvokeCallORSNewHI_HELLO_InputVariable>
    </messages>
    Expected------------
    <HELLO xmlns:ns1="http://abc.def.com/webservices/" xmlns="http://abc.def.com/webservices/">
    <ns1:HELLO_DATA>
    <ns2:HI_TW>
    <ns3:IDENT>400001102/T1-TW17902</ns3:IDENT>
    <ns3:HI>400001102/T1</ns3:HI>
    <ns3:START_DATE>20080404</ns3:START_DATE>
    <ns3:START_TIME>0800</ns3:START_TIME>
    <ns3:DURATION>1200</ns3:DURATION>
    <ns3:WINDOW_COST>1.113</ns3:WINDOW_COST>
    <ns3:LATE_COST>1.75</ns3:LATE_COST>
    </ns2:HI_TW>
    </ns1:HELLO_DATA>
    </HELLO>
    Thanks
    Buddhadev

    Dear Rico
    Thanks for replying.
    Which XSD are you refering to ;
    Is it process XSD or the XSD created for the called WSDL.
    As I have stated, no XSD has been created for the Consumed WS. And no XSD reference is present in the WSDL of the WS consumed by me.
    Please confirm
    Thanks a lot
    Buddhadev

  • I have a MacBook Pro 13.3 OS- MAC OS X LION.Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.

    I have a MacBook Pro 13.3 OS- MAC OS X LION.
    Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.
    I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.
    Thank you for any help in this regard that comes fast.

    The details of the kernel-panic report is as follows-
    Interval Since Last Panic Report:  1458653 sec
    Panics Since Last Report:          6
    Anonymous UUID:                    70BA6A**************************************************
    Sun Sep 16 23:00:13 2012
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff8000290560, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000800028, CR3: 0x000000000a509005, CR4: 0x00000000001606e0
    RAX: 0x0000000000000001, RBX: 0x0000000000820000, RCX: 0xffffff801122dc40, RDX: 0x0000000000020501
    RSP: 0xffffff80ef3d3da0, RBP: 0xffffff80ef3d3dc0, RSI: 0x000000002b1d78b6, RDI: 0xffffff800342d280
    R8:  0xffffff80ef3d3f08, R9:  0xffffff80ef3d3ef8, R10: 0x000000010d901000, R11: 0x0000000000000206
    R12: 0xffffff800342d280, R13: 0x0000000000000000, R14: 0xffffff8011cd6500, R15: 0x0000000000800000
    RFL: 0x0000000000010206, RIP: 0xffffff8000290560, CS:  0x0000000000000008, SS:  0x0000000000000000
    CR2: 0x0000000000800028, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80ef3d3a50 : 0xffffff8000220792
    0xffffff80ef3d3ad0 : 0xffffff80002c4794
    0xffffff80ef3d3c80 : 0xffffff80002da55d
    0xffffff80ef3d3ca0 : 0xffffff8000290560
    0xffffff80ef3d3dc0 : 0xffffff800026c9c3
    0xffffff80ef3d3f40 : 0xffffff80002c3fbb
    0xffffff80ef3d3fb0 : 0xffffff80002da481
    BSD process name corresponding to current thread: fsck_hfs
    Mac OS version:
    11E2620
    Kernel version:
    Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
    Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 4850001132
    last loaded kext at 1796984176: com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2 (addr 0xffffff7f80e16000, size 57344)
    loaded kexts:
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2
    com.apple.driver.AppleUSBTCButtons    227.6
    com.apple.driver.AppleUSBTCKeyEventDriver    227.6
    com.apple.driver.AppleUSBTCKeyboard    227.6
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.SCSITaskUserClient    3.2.1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCISerialATAPI    2.0.3
    com.apple.iokit.IOAHCIBlockStorage    2.0.4
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AirPort.Brcm4331    560.7.21
    com.apple.driver.AppleSDXC    1.2.2
    com.apple.driver.AppleUSBHub    5.0.8
    com.apple.iokit.AppleBCM5701Ethernet    3.2.4b8
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleAHCIPort    2.3.0
    com.apple.driver.AppleUSBEHCI    5.0.7
    com.apple.driver.AppleUSBXHCI    1.0.7
    com.apple.driver.AppleACPIButtons    1.5
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.5
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    195.0.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.3
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    195.0.0
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.7f2
    com.apple.iokit.IOBluetoothFamily    4.0.7f2
    com.apple.driver.AppleFileSystemDriver    13
    com.apple.driver.AppleUSBMultitouch    230.5
    com.apple.driver.AppleThunderboltDPInAdapter    1.8.4
    com.apple.driver.AppleThunderboltDPAdapterFamily    1.8.4
    com.apple.driver.AppleThunderboltPCIDownAdapter    1.2.5
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.driver.AppleUSBMergeNub    5.0.7
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.2.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.driver.AppleThunderboltNHI    1.6.0
    com.apple.iokit.IOThunderboltFamily    2.0.3
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.2.1
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IO80211Family    420.3
    com.apple.iokit.IOEthernetAVBController    1.0.1b1
    com.apple.iokit.IONetworkingFamily    2.1
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IOAHCIFamily    2.0.8
    com.apple.iokit.IOUSBFamily    5.0.8
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.5
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.7
    com.apple.iokit.IOStorageFamily    1.7.2
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.5
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4

  • Global_attribute20 field in ap_payment_schedules_all table - Urgent Pls

    All,
    Version: 11.5.10.2
    I created an invoice, from the 'Scheduled Payments' tab I checked the 'Hold' flag. After the flag is checked in the UI, I noticed the global_attribute20 field in the ap_payment_schedules_all updates to 'EP' along with the hold_flag='Y'. I want to know the significance of global_attribute20 and what are all the other possible values of this field like 'EP'??
    this is quite urgent, pls help.
    rgds
    sen

    Have you tried to enable trace on this form to find out how this column gets populated?
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1] -- 3. How does one enable trace in the Oracle Application screens / forms?
    Can you reproduce the issue with other invoices?
    Do you have any other instance where you can try the same and see if the issue is reproducible?
    Thanks,
    Hussein

  • How to remove XML namespace in SOAP request

    Hello
    I would like to change one of our existing interfaces to use a SOAP communication channel rather than File. The file currently contains FIDCCP02 Idocs.
    I have created a new communication channel using SOAP 7.1 and generated a Java client. When I send a request to the endpoint from Java, PI returns a SOAP fault.
    Error
    The error in the monitor is 'No standard agreement found for ..'. I think this is because the file contains XML with a root element with no namespace, but the root element in the SOAP message does have a namespace.
    Example requests
    File message :
    <FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    SOAP message :
    <ns2:FIDCCP02 xmlns:ns2="http://dorsetcc.gov.uk/FIN_I26/Invoice/PremierFin" xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    When I send a test request from RWB with no namespace it is successful.
    Attempt to remove namespace
    I have tried adding AF_Modules/XMLAnonymizerBean with no parameters as the first module on the SOAP communication channel, but this does not appear to make any difference. I have refreshed the cache.
    regards
    Steve

    Hello Iñaki
    Thanks for your reply.
    I had read the blog about the XMLAnonymizerBean. It looks very straightforward, and in theory should do just what I need.
    I've added the anonymizer bean as the first module as the SOAP message is asynchronous, and I want to remove the namespaces from the request.
    I want to exclude all namespaces so I haven't set any parameters.
    The SOAP channel in Communication Channel monitor has a status of 'Channel Started but inactive'. I cannot see any messages in the Processing Details for this channel, even though I have sent test messages from Java code and from RWB (the message from RWB without the namespace does reach the receiver). This makes me wonder if I have not configured the interface to use the new SOAP channel correctly, although I can see it in the Receiver Determination configuration overview.
    I can see the messages in SXMB_MONI but can't find which communication channel is being used by the sender.
    I'm using PI 7.1.
    regards
    Steve

  • Remove SOAP Envelop using XSLT  mapping.

    Hi,
    I need a code to remove SOAP Envelop using XSLT mapping.
    Source:
    <?xml version="1.0" encoding="UTF-8" ?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com">
    <soapenv:Body>
    <getServerTimestampResponse>
    <result>
      <timestamp>2008-06-19T14:22:25.004Z</timestamp>
      </result>
      </getServerTimestampResponse>
      </soapenv:Body>
      </soapenv:Envelope>
    target:
    <?xml version="1.0" encoding="UTF-8" ?>
    <a>
          <b>
             <c>2008-06-19T14:22:25.004Z<c>
           </b>
    </a>
    Please help me in this
    Thanks&Regards,
    Yuga

    hi,
    <?xml version='1.0' ?>
    <xsl:stylesheet version="1.0" xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/"
                                  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
                                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
       <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
       <xsl:template match="/">
          <ns0:c>       
                   <xsl:copy-of select="SOAP-ENV:Envelope/SOAP-ENV:Body"/ />
          </ns0:c>
       </xsl:template>
    </xsl:stylesheet>
    This will get your whole body...
    Your root node should belong to some namesapce...i.e. getServerTimestampResponse .
    Thanks,
    Vijaya.

  • Routine in Bex - urgent pls.

    I have 2 columns A and B in the report:
    A     B     C
    1234     1234     1234     
    5903     0     5903
    0     3287     3287
    I want to get the column C.
    So, the condition for the column C would be :
    if A<>0 and B <>0 then A
    else if A==0 then B
    else if B==0 then A
    I heared that this can be done by routines . I need the code to do this . Also let me know where to put the code.
    This is urgent pls.
    Vaishali

    Hi,
    No need to write coding.....directly u can get these by unsing formula as told in the above forum....there u get all these conditions in Boolean operators. so just make use of them..
    Thanks & Regards

  • Depreciation Posting in AFAB (urgent Pls)

    Hi All,
    pls let me know y the depreciation posting is not hapenning when it is showing Document created in Test run. It is not showing any errors nor is it posting. urgent pls.
    Chatura.

    Hi,
    Thanks for replying. It did not create any RABUSH Session .
    1) I created an Asset and gave the Depreciation Start date as     01.09.07.
    2) then i posted an entry in F-90 with transaction type 100, on     01.09.07.
    3) The periods are kept open only.
    4) The number Ranges for AF Document exists.
    5)i did an unplanned posting run for 1 to 8 periods. for 9th period i did the Repeat run . It generated an accounting entry with AF document type.
    6) now if i'm trying to do the test run for 10 th period it shows that the Document is created but in the repeat run it is neither posting the document nor is it showing the error.
    I was not able to analyse the reason.
    Pls help me out. Also pls let me know where to select the direct FI posting in asset accounting. Points will be awarded infull if the issue is solved.
    Regards,
    Chatura.

  • [ALSB 3.0] removing a namespace

    Hi all,
    in ALSB 2.6 for removing a namespace from a xml document I used a rename action as below:
    Rename [ //* ] //*
    in [ msg ] to
    namespace [ undefined ]
    Doing the same in ALSB 3.0 I got an error:
    [RetrieveMessagePublishedByAMI, Rename action] Either local part or namespace URI (or both) must be specified
    Is there another way to get the same result ?
    Thanks in advance
    ferp

    Sorry, found the answer but forgot to update this thread.
    The ?WSDL mechanism fails if Enforce WS-I Interoperability is true for the Proxy Service.
    While BEA support (and the docs relating to this flag) say this is by design (Only POST not GET is supported by WS-I) personally it seems to me that this rule should apply to operation invocation not a metadata inquiry but there you go...

  • I need one recurcive(unended loop) pl/sql example, its very urgent pls

    Hi,
    I need one recurcive (unended loop) pl/sql example, its very urgent pls
    Thanks,
    Sathis.

    I suppose you'll want to know how to get out of your undended loop too (although that does stop it being unended).
    Example...
    SQL> ed
    Wrote file afiedt.buf
      1  DECLARE
      2    v_cnt NUMBER := 0;
      3  BEGIN
      4    LOOP
      5      EXIT WHEN v_cnt = 1000;
      6      v_cnt := v_cnt + 1;
      7    END LOOP;
      8* END;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL>

  • Its urgent pls help me .

    how can i call a portal from webdynpro application
    my requirment is
    i was created webdynpro application.
    in that i was created one view . in that i was created one button (go).
    if i click that button i want move some other portal.
    how can i acchive pls help me.
    its urgent.
    pls send any example programe
    Message was edited by:
            madipadiga nagaraju
    Message was edited by:
            madipadiga nagaraju

    hi,
    there is no direct tcode for going to webdynpro component/interfaces in ecc 6.0.
    but u have se58 in ecc 5.0,as webdynpro convertor.u give ur program name and click web dynpro convertor button then it takes u to se80 .but this wda(webdynpro abap) component comes as in application tree hierarchy .
    i can say in wda component refers a class .if u select webdynpro component/interface,it ask u to create a class or interface.
    after that it automatically generate component controller(it is also a class),
    interface view and windows.all these 3 are classes.for every window one interface view will be created.ie.. window is internal visible where as interface view is external visible.
    u create view and embed these views in windows.by going to the window layout,right click on the window name and click embed view.u can enbed as many view as u wish.in order to navigate from one view to other view ,click  "create navigation" by right clicking the view plugs.
    by default windows and view have inbound plugs.this is literally a event of that class.
    if u want to navigate from view1 to view2 ,create outbound plug for view1,the click outbound plug of view1 and right click the click create navigation the select inbound plug of view2.
    then create a application .this is simillar of creating an object.
    click on this object and test .this will open in browser.
    for deploying u have use "sap webdynpro iview".

  • Telnet connection---urgent pls

    each time i try to telnet using my LAPTOP.I get command not recognised.can somebody help me out now.Other PC works except mine.This is very urgent pls.

    Download Putty
    Search on google " Putty ".... using putty telnet.
    You can open Hyperterminal and choose TCP/IP option instead of COM1.
    Click on OK
    You will telnet into device.
    Putty use is very good very secure.
    Regards,
    Dharmesh Purohit

  • Remove Special Character in XSLT

    Hi All,
    Could anyone please help me in removing the special characters  in the XSLT file.
    For Example, XSLT tag has like below code,
    <Name>
    <xsl:valule-of select="Payee/Name"/>
    </Name>
    where as Payee/name has value of "ORACLE%$ISGREAT".(I can have only A..Z and 0..9, no other than this)
    Could any one pls help me.
    Regards,
    Uva

    Which XSLT version are you able to use? 1.0 or 2.0 ?
    On 2.0, regular expressions support makes it easy :
    <xsl:value-of select="replace(Payee/Name, '[^0-9A-Z]', '')"/>
    On 1.0, it's just a bit more complicated, using the double translate trick :
    translate($str, translate($str, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', ''), '')
    which you can turn into a named template for modularity :
      <xsl:template name="sanitize">
        <xsl:param name="str"/>
        <xsl:value-of select="translate($str, translate($str, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ', ''), '')"/>
      </xsl:template>
    and call it like this :
    <xsl:call-template name="sanitize">
      <xsl:with-param name="str" select="Payee/Name"/>
    </xsl:call-template>

  • Remove xml namespace in the SOAP channel

    Hi gurus,
    Maybe my question is simple but unfortunately no ideas in my head how to solve the problem easily.
    I have a SOAP receiver channel to some external Internet application, send data there and synchronously get the response. The problem is that response contains the link to namespace of this application like this "xmlns="x-schema:http://someapp.com/schemas/response.xml" and XI is able to save this response in file BUT UNABLE to do mapping - I've got an mapping error that fields in result MT couldn't be filled in. I use XMLAnonymizerBean in this SOAP channel but it works only for outgoing message and not for incoming.
    Is it possible to remove this xmlns information from response without complicated for me java and xslt mapping?

    Hmmm..  So you just send SOAP request to some URL and get response. Is response also SOAP message? Well, you write, you are able to receive the message, so it should be ok.
    Ok, i'd suggest you - check the namespace of incoming document. In Message Type dialog there is a parameter: Document Namespace. Put the appropriate namespace to this text box, save, activate, ..try
    Peter
    btw: what is the exact error you are getting?

Maybe you are looking for

  • Inbound msgs stuck in Awf w/status "Delivering" , nothing in IS

    Hi All, We have been experiencing this intermittent problem for a week, inbound RNIF messages stuck in AWF (visible in MDT or Message Monitoring or RTW)  in status "Delivering", for first 20-30 messages and then eventually in "System Error" for the o

  • Charging iPod abroad--can I plug into the USB port of a foreign computer?

    I'm going to Guatemala and will be bringing my iPod touch. I expect that I'll be in internet cafes on a fairly regular basis. Is there any currency conversion problem if I charge my iPod off of the USB port in a foreign computer? Guatemala uses the s

  • Acrobat failed to load it's core DLL

    Whenever I try to open any PDF files on my computer they won't open and I am faced with a window that says Acrobat failed to load it's core DLL.  I've looked online and can't find any solutions that work.  I tried running malware programs, I've unins

  • Not 7821 in the list of avaliable devices

    Good day!  I want to register a phone 7821. But when I try to add this phone in CUCM, I cannot find it in the list of the phones. I have CUCM version 9.1.2 and according to datasheet this call manager supports phones of series 78XX. What kind of issu

  • Too much ink

    My printer uses an apparently HEAVY volume of ink per page. How do I reduce the level of darkness? The paper comes out VERY heavily saturated with in (color & black), to the point of being 'WET'. Can this be adjusted?