Question on AIA XSL Extension

AIA recommends to provide _CUSTOM.XSL along with regular transformation xsl file for customers to add their custom transformation. It says, make a callout to the template in custom.xsl as follows
<xsl:call-template name="SenderType_ext">
<xsl:with-param name="currentNode" select="."/>
</xsl:call-template>
and in custom xsl, add the code as
<xsl:template name="SenderType_ext">
<xsl:param name="currentNode"/>
<!-- Customers add tranformations here -->
</xsl:template>
I did this and tested to see how customers would add their extension. I have no luck.
My problem is, the param 'currentNode' passed in from the xsl is an xml struture
like
<body>
<szShippingCommodityClass>SH1</szShippingCommodityClass>
<szBusinessUnit/>
<szOrderRepriceCategory/>
<szUserId>KB7479464</szUserId>
but its treated a string content in custom xsl. How can we parse this and say, we need to retrieve the 'szUserId'? I tried couple of option.
1. Tried to use orcl:parseEscapedXML, but it gives me an error saying "exception:start of root node expected"
2. Tried parse it using substring..but it couldn't parse by the tag name..seems ike the string only has values...i could able to substring by say 'KB7479464'...
So, please give me some guidance on how to parse the parm passed in thorugh <xsl-call template> and retrieve an element?
Thanks

Hi,
Could you please provide detailed error message along with environment details. Which version of AIA and SOA are you using.
Thanks
Rohit

Similar Messages

  • Php with mysqli, mbstring and xsl extensions

    I don't understand why php isn't build with mysqli and mbstring extensions since mysql4 is installed and there are a lot of languages that need multibytes strings. Here is a PKGBUILD that enable them. I also added xsl extension to use xsl files with php.
    # $Id: PKGBUILD,v 1.51 2004/12/16 22:03:19 judd Exp $
    # Maintainer: dorphell <[email protected]>
    # Contributor: Benoit Chesneau <[email protected]>
    pkgname=php
    pkgver=5.0.3
    pkgrel=2
    pkgdesc="A high-level scripting language"
    url="http://www.php.net"
    backup=(etc/php.ini)
    depends=('openssl' 'libjpeg' 'freetype2' 'libpng' 'pam'
    'gdbm' 'libxml2' 'openldap' 'ncurses' 'curl' 'libxslt')
    makedepends=('apache' 'mysql' 'imap' 'postgresql' 'bzip2' 'smtp-server'
    'gd' 'fam' 'sqlite3' 'unixodbc')
    source=(http://www.php.net/distributions/$pkgname-$pkgver.tar.gz php.ini)
    md5sums=('bf89557056ce34d502e20e24071616c7' 'd5b9b37fbb746f0967d795763106735a')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --with-apxs2 --prefix=/usr --sysconfdir=/etc
    --with-layout=PHP
    --with-ttf --enable-mailparse --with-config-file-scan-dir=/etc
    --enable-bcmath=shared --enable-calendar=shared --enable-ftp=shared
    --enable-gd-native-ttf --enable-magic-quotes --enable-posix=shared
    --enable-session --enable-shared --enable-shmop=shared --with-imap
    --with-imap-ssl --with-ncurses --with-readline --with-sqlite=shared
    --enable-sysvsem=shared --enable-sysvshm=shared --enable-track-vars
    --enable-trans-sid --enable-safe-mode --enable-sockets=shared
    --enable-xml --with-bz2=shared --with-curl --with-mime-magic
    --with-unixODBC=shared
    --enable-dba --without-db2 --without-db3 --with-inifile --with-flatfile
    --with-gdbm --with-freetype-dir=/usr --with-gd=shared --enable-exif
    --with-jpeg-dir=/usr --with-mysql=/usr --with-mysqli=/usr/bin/mysql_config
    --with-ldap=shared
    --with-mysql-sock=/tmp/mysql.sock --with-openssl --with-gettext
    --with-pear=/usr/share/pear --with-dom --with-dom-xslt
    --with-pgsql=shared --with-pgsql-sock=/tmp/pgsql.sock
    --with-png-dir=/usr --with-regex=php --with-zlib --with-fam=shared
    --with-xsl
    --enable-mbstring=all --enable-mbregex
    # fixes a build error in sqlite support
    ln -s main/php_config.h ./config.h
    make || return 1
    mkdir -p $startdir/pkg/usr/lib/apache
    # cp config_vars.mk config_vars.old
    # sed "s|^INSTALL_IT.*$|INSTALL_IT = apxs -i -a -S LIBEXECDIR=$startdir/pkg/usr/lib/apache -n php4 libs/libphp4.so|" config_vars.old >config_vars.mk
    sed -i "s|-i -a -n php5|-i -n php5|g" Makefile
    make INSTALL_ROOT=$startdir/pkg EXTENSION_DIR=/usr/lib/php install
    cp ../php.ini $startdir/pkg/etc

    i suggest filing a feature request through the bug tracker.
    As for why such features may not be compiled in is that whoever maintains the package may have never had the need to have such features in php or experienced any issue because of it. You will experience this with many distros so I suggest not getting accusatory and simply request the feature through the proper channels.
    Each persons needs and experience are different and that is why developers write their code to encompass as many features as their users request.  How robust a package needs to be in arch is up to people like you giving the crucial feedback.
    (btw i don't see why your request would not be granted. I suggest the feature request though because i know the maintainer of the PHP package is not a frequent visitor to this forum but he will get your request if you make to the bug tracker)

  • XSL Extension Functions

    Is it possible to write our own xsl Extension Functions in Java using the oracle 9i xsl translator? If yes, how would I write the namespace to point to my class? I was able to do it with xalan, but unable so far with the oracle xslt. TIA.

    You can using XDK for Java

  • Oracle XSL extensions functions

    Where can I find a list (and doc) of all the Oracle XSL extensions functions like ora:node-set?
    TIA
    Didier

    Please try this link:
    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/appdev.920/a96621/adx05xsj.htm#1023311

  • AIA User Extension Functions (AIA 11g)

    Hey together,
    I add the aia.jar in JDeveloper over Tools-->Preferences-->SOA and restart JDev (AIA Installation Guide 11g - Page 37) . After restart I get the following error in Messages-Log of JDev:
    Error: Invalid XSL User Extension Function Config file file:\C:\Oracle\Middleware111120\jdeveloper\lib\aia.jar!\META-INF\ext-soa-xpath-functions-config.xml
    Element not completed: 'function' line 11 column 14
    Have anybody a solution or can I ignore the error?
    Kind regards
    Marcel

    Hello Gerhard,
    I'm pretty sure, that is no a pre-GA version. We test it on different machines and use aia.jar from AIA11g Server and we use AIA Service Constructor Update from Oracle Update Server. Here are an extract from XML-File:
    <?xml version="1.0" encoding="UTF-8"?>
    <soa-xpath-functions xmlns="http://xmlns.oracle.com/soa/config/xpath"
    xmlns:aia="http://www.oracle.com/XSL/Transform/java/oracle.apps.aia.core.xpath.AIAFunctions">
    <function name="aia:getSystemProperty">
    <className>oracle.apps.aia.core.xpath.AIAFunctions</className>
    <return type="string"/>
    <params>
    <param name="propertyName" type="string"/>
    <param name="needAnException" type="boolean"/>
    </params>
    </function>
    <function name="aia:getServiceProperty">
    <className>oracle.apps.aia.core.xpath.AIAFunctions</className>
    <return type="string"/>
    <params>
    <param name="serviceName" type="string"/>
    <param name="propertyName" type="string"/>
    <param name="needAnException" type="boolean"/>
    </params>
    </function>
    Regards,
    Marcel

  • Create XSL extension

    Is there an easy to understand tutorial with all the step to add a component to the "User Defined Extension Functions" pallet. I want to create a function that call a database stored procedure and be able to use it in an xsl map.

    I don't believe there's a tutorial, but you can find lots of info in the BPEL demo's, shipped with BPEL. Check:
    $SOA_Oracle_home\bpel\samples\demos\XSLMapper\ExtensionFunctions\README.txt
    HTH,
    Bas

  • Pre-sales question for IPOD (file extensions)

    I would like to buy my mother a IPOD Nano 2gb for her upcoming birthday, but have a quick question on the way it formats the files on my PC.
    Do I HAVE to have Itunes or any other software on my pc in order to place .mp3's on the IPOD?
    If I have to have software in order to place songs on the IPOD, will it change anything on my PC, for an example, will it change any of my file extensions or file names of any of my music from .mp3 to .???
    I have a DELL mp3 player and I love how I can just throw any song at it from Microsoft Window's File Explorer, and it'll play it.. I've never used or messed around with an ipod.
    Thanks in advanced,
    chris

    Do I HAVE to have Itunes or any other software on my pc in order to place .mp3's on the IPOD?
    Yes.
    If I have to have software in order to place songs on the IPOD, will it change anything on my PC, for an example, will it change any of my file extensions or file names of any of my music from .mp3 to .???
    iTunes will not change the format of your music unless you explictly tell it to do so, or import unprotected WMA files into iTunes under Windows, in which case duplicates will be created in a format which is directly usable in iTunes. The Mac OS X version of iTunes will not handle WMA songs.
    (20414)

  • Testing AIA XSL files

    Hi ,
    I am trying to test IMPL.xsl file using Altova XML spy tool. but it is not able Recognize the aia related function like aia:getSystemModuleProperty and also dvm functions like dvm:lookup. if we have to place any AIA related files in specific location so that XML spy can recognize it? if so kindly provide the details .

    Scubacam2002,
    > I'm converting a video for a client to Flash for their
    website
    > using After Effects. I need to test the file after
    exporting it
    > and can't figure out how to do it.
    What is the file -- SWF, FLV?
    > I have the Flash Plug In installed. I have never done
    this,
    > (obviously).
    Either embed the SWF (assuming SWF, here) in an HTML page,
    per the
    instructions below, or open your browser and drag the SWF
    into the browser
    window.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_4150
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Questions regarding Adobe Reader Extensions for Adobe Livecycle.

    Hi,
    I'm relatively new to Adobe products, having just started to use Adobe Livecycle over the last couple of weeks. I've produced a set of interactive forms for field engineers to use. When completed, they will submit the xml data via email. However, there will be numerous occasions where they will need to stop in the middle of data collection and come back at a later point to finish, hence the need to locally save the information before submission.
    I understand this is where Adobe reader extensions would come in, unlocking this functionality.
    At the moment, i'm a bit of a loss on several points regarding how reader extensions work and i was wondering if anybody could fill in the gaps:
    1. Are they seperate modules that bolt in into the main Livecycle application?
    2. As these forms will be used off line, i would like to set the permissions to the pdf locally. From what i read, Reader Extensions is a server product. Is this correct, or can i use Reader Extensions to set these permissions before publishing the adobe form?
    3. Where can i get hold of Reader Extensions and how much do they cost? I have been reading information on similar topics on this forum (dating 3-4 years ago) that say reader extensions are comparitavely expensive to a Adobe Pro/Livecycle licence. ($50,000 upwards) Is this correct? If so, is there a cheaper alternative to achieve the same outcome?
    I hope someone can shed some light on these points!
    Thanks in advance.
    Rob

    Reader Extensions can be bought as a module in LiveCycle. There is a subset of RE functionality that exists in Acrobat. The ability to save locally is part of Acrobat. In both cases you woudl RE the form before distributing it, hence when the user gets your form they are ready to go. You can download a trial version of the server product. As far as pricing goes you woudl be better to talk to an Adobe salesrep as there are discounts for certain situations as well as different pricing options. If you decide tp gp the Acrobat route you ar limited, by licence, to distribute your form to a max of 500 users.
    Hope that helps
    Paul

  • XSL extension/  node set

    In my XSL stylesheet , I am using XSL component to call external program (in my case it is a Java program). The called java method returns a List. (a list of Strings like "A", "B", "C").
    The following XSL element
    <xsl:value-of select="xalan:nodeset(javaExtension:getResult())" />
    returns [A,B,C],
    where javaExtension - is the namespace prefix
    getResult is a method in my Java program.
    But I wish to return this list of values in my output xml like
    <value> A <value>
    <value> B <value>
    <value> C <value>
    is there any xalan-nodeset function available to get this result. Your help is greatly appreciated.
    Thanks
    r

    I had no idea, so I searched Google for xalan:nodeset. Before long I came across this example straight from the Xalan site:
    http://xml.apache.org/xalan-c/extensionslib.html#nodeset

  • Best Practices regarding AIA and CDP extensions

    Based on the guide "AD CS Step by Step Guide: Two Tier PKI Hierarchy Deployment", I'll have both
    internal and external users (with a CDP in the DMZ) so I have a few questions regarding the configuration of AIA/CDP.
    From here: http://technet.microsoft.com/en-us/library/cc780454(v=ws.10).aspx
    A root CA certificate should have an empty CRL distribution point because the CRL distribution point is defined by the certificate issuer. Since the roots certificate issuer is the root CA, there is no value in including a CRL distribution point for
    the root CA. In addition, some applications may detect an invalid certificate chain if the root certificate has a CRL distribution point extension set.A root CA certificate should have an empty CRL distribution point because the CRL distribution point is defined
    by the certificate issuer. 
    To have an empty CDP do I have to add these lines to the CAPolicy.inf of the Offline Root CA:
    [CRLDistributionPoint]
    Empty = true
    What about the AIA? Should it be empty for the root CA?
    Using only HTTP CDPs seems to be the best practice, but what about the AIA? Should I only use HTTP?
    Since I'll be using only HTTP CDPs, should I use LDAP Publishing? What is the benefit of using it and what is the best practice regarding this?
    If I don't want to use LDAP Publishing, should I omit the commands: certutil -f -dspublish "A:\CA01_Fabrikam Root CA.crt" RootCA / certutil -f -dspublish "A:\Fabrikam Root
    CA.crl" CA01
    Thank you,

    Is there any reason why you specified a '2' for the HTTP CDP ("2:http://pki.fabrikam.com/CertEnroll/%1_%3%4.crt"
    )? This will be my only CDP/AIA extension, so isn't it supposed to be '1' in priority?
    I tested the setup of the offline Root CA but after the installation, the AIA/CDP Extensions were already pre-populated with the default URLs. I removed all of them:
    The Root Certificate and CRL were already created after ADCS installation in C:\Windows\System32\CertSrv\CertEnroll\ with the default naming convention including the server name (%1_%3%4.crt).
    I guess I could renamed it without impact? If someday I have to revoke the Root CA certificate or the certificate has expired, how will I update the Root CRL since I have no CDP?
    Based on this guide: http://social.technet.microsoft.com/wiki/contents/articles/15037.ad-cs-step-by-step-guide-two-tier-pki-hierarchy-deployment.aspx,
    the Root certificate and CRL is publish in Active Directory:
    certutil -f -dspublish "A:\CA01_Fabrikam Root CA.crt" RootCA
    certutil -f -dspublish "A:\Fabrikam Root CA.crl" CA01
    Is it really necessary to publish the Root CRL in my case?
    Instead of using dspublish, isn't it better to deploy the certificates (Root/Intermediate) through GPO, like in the Default Domain Policy?

  • Question about XSL Mapper in BPEL designer

    Hi,
    I have a question regarding the XSL mapper within JDeveloper BPEL Designer.
    Scenario:
    Consider
    1. Source xsd with 3 attributes
    2. Target xsd with 5 attributes
    An XSL mapping is defined for 3 source attributes to the corresponding target attributes.
    The attributes remaining on the target side (2 attributes) are NOT mapped.
    Now test the mapper using the in-built test tool
    (by right clicking on the xsl editor screen).
    The mapper generates a test-xml on the source side and its corresponding transformed xml on the target side.
    Now,
    If i click on "Validate" in the source side, it says "XML is Valid"
    If i click on "Validate" in the target side, it says "XML is NOT Valid" (because the 2 un-mapped attributes are not apprearing the target xml)
    My question is
    Is it an expected behaviour that if an attribute is not mapped, an empty tag <attribute/> is not generated for this attribute in the target xml. If so, wouldn't the target xml be invalid with respect to the target xsd.
    Thanks
    Antony

    I believe by default xml validation is set to false for a BPEL Domain. I am not sure whether setting this to true will cause your process to error out after the transformation or if it only validates inbound and outbound messages.

  • WL70 Console extension questions

    Hi,
    A couple of questions about Weblogic console extension.
    First, is there any "standard" way of putting that nice banner on top of my JSP
    pages? I've created one using classes "banner", "title", "bannerstatus" from wl:stylesheet,
    but I'm worried that links that I put in it, like
    will not work in the next version of weblogic.
    Second, is it possible to bring up console JSP showing the particular wl:tab rather
    than the first one?
    Thanks,
    Mikhail.

    Donwload SQLMonitor from
    http://www.appfluent.com/products/sqlmonitor/
    It is has console extension for both 7 and 6 and has implemented the
    banner thru one servlet checking the weblogic version.
    Pam S.
    "Wayne W. Scott" <[email protected]> wrote in message news:<[email protected]>...
    Mikhail Bogomolov wrote:
    "Mikhail Bogomolov" <[email protected]> wrote:
    Hi,
    A couple of questions about Weblogic console extension.
    First, is there any "standard" way of putting that nice banner on top
    of my JSP
    pages? I've created one using classes "banner", "title", "bannerstatus"
    from wl:stylesheet,
    but I'm worried that links that I put in it, like
    > >>will not work in the next version of weblogic.
    Second, is it possible to bring up console JSP showing the particular
    wl:tab rather
    than the first one?
    Thanks,
    Mikhail.
    Ok, just found the answer for the second question - add a parameter ?tab=TabName
    to URL, but the first question still stands.
    see if the example under dev2dev helps ->
    http://dev2dev.bea.com/code/codedirect.jsp?highlight=codedirect
    This sample demonstrates how to extend the WebLogic Server 7.0 Administration Console.
    View the readme.html file for instructions on how to deploy the sample. This is Alpha code.
    ConsoleExtensionExample.zip (40 kb)
    Wayne

  • PHP/MySQL hotfix, PCRE & session extensions

    The book I'm reading now has a link to a hotfix for DW 8.0.2
    on the errata page. My version identifies itself as v8.0. Do I need
    to install this. I have magic quotes off in PHP(v5.2.4). The book
    says I require the xsl extension (which the hot fix mentions). I've
    already had to make 4 stabs at this install to get to what I
    think is correct. I don't like adding stuff that might cause
    more problems. The Adobe literature/link is listed below:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=b6c2ae2a&sliceId=2
    I also want to know... The book says that I need the pcre
    extension enabled. I looked in the ini file and found:
    [Pcre]
    ;PCRE library backtracking limit.
    ;pcre.backtrack_limit=100000
    ;PCRE library recursion limit.
    ;Please note that if you set this value to a high number you
    may consume all
    ;the available process stack and eventually crash PHP (due to
    reaching the
    ;stack size limit imposed by the Operating System).
    ;pcre.recursion_limit=100000
    I uncommented the pcre.recursion_limit line and dropped the #
    to 10000 (due to the ini note on "high values"--whatever is
    considered high?). I also uncommented the backtrack_limit line and
    left that # as is. I restarted Apache (v2.2.4) but didn't see the
    extension listed with all the others listed in the book. I found
    them in the ini file to:
    ; Local Variables:
    ; tab-width: 4
    ; End:
    [PHP_GD2]
    extension=php_gd2.dll
    [PHP_MBSTRING]
    extension=php_mbstring.dll
    [PHP_MYSQL]
    extension=php_mysql.dll
    [PHP_MYSQLI]
    extension=php_mysqli.dll
    [PHP_PDO]
    extension=php_pdo.dll
    [PHP_PDO_MYSQL]
    extension=php_pdo_mysql.dll
    [PHP_XSL]
    extension=php_xsl.dll
    The book says that these extensions plus "session" &
    "pcre" need to be enabled to work through the book.
    Also, I used the installer for PHP & Apache. Edited the
    config file for Apache by hand and am hoping I can do the same for
    the PHP.ini file.
    Any help with these two(3?) questions/problems is greatly
    appreciated.
    Thanks much!

    Chaos7703 wrote:
    > The book I'm reading now has a link to a hotfix for DW
    8.0.2 on the errata
    > page. My version identifies itself as v8.0. Do I need to
    install this.
    You need to install the Dreamweaver 8.0.2 updater before
    using the 8.0.2
    PHP hotfix.
    > I also want to know... The book says that I need the
    pcre extension enabled.
    > I looked in the ini file
    PCRE is enabled by default. You don't need to make any
    changes in php.ini.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • How to debug AIA XSLT transformation in Jdeveloper ?

    Hi AIA forum members,
    I need to Test and debug an AIA XSL transformation. Can i use Jdeveloper to do this ?
    I understand that we can test by right clicking and using the "Test" option but then again it fails while processing the XSL as it is unable to execute lookupXRef, lookupDVM and also is not able to recognise the oracle xpath extension functions.
    Rgds,
    Vik

    Hi Vik,
    If you are on 10g, I suggest you run a search on Metalink for AIA Jdeveloper Patch download. Install the patch for Jdeveloper on windows and then you should be able to test the XSLs.
    If its on 11g, am not sure, as I have just started looking for that patch.
    Cheers,
    - AR

Maybe you are looking for

  • Error message Direct PO in SRM

    Hi All, I got the below error when I try to create direct PO from SRM. This error message is triggered when I select Item type as u201CLimitu201D. Error message Error application is coming up. 20100816 MMARVEL 111353 sapqsr http://sapqsr.cc.com:8002/

  • Mackbook Pro to Sharp Aquos

    Hello, I recently bought a 42" Sharp Aquos and a DVI->HDMI adapter with HDMI cable. However, Leopard does not recognize the TV when I plug it in to my macbook pro and the screen on the TV remains black. The cable/adapter/TV combo work fine when it's

  • TDS certificate address wrong display ?

    Hi All Experts. I am printing TDS certificate for vendor but the address for comapny is displaying wrong on certificate however we have maintained a correct adrress in comapny code data. Can any one please let me know for TDS certificate from where t

  • OSA : Offline appraisal HAP_PDF_OFFLINE_FORM ignores text formatting

    Hi, We plan to use the standard offline appraisal adobe form HAP_PDF_OFFLINE_FORM. We have defined the text for each criteria group and criterion in phap_catalog_pa. However, the formatting and alignment of the text is ignored when downloaded or prin

  • Output of Export Invoice.

    Hello SAP guruu2019s The output (Printout) for export invoices which is in EUR currency  is currently one Euro copy and 3 RON copies through VF02 even though smart form assigned for this out put is showing only one Euro copy and 3 RON copies. But for