Unable to get translation working with XML bursting

Hi All,
I am working on bursting an XML report using the DocumentProcessor API in an EBS environment. The XML publisher report has .xlf translation for Dutch Netherlands (nl-NL). The report works fine when printing through the EBS using the nl-NL locale. But however if I try to set the locale in the bursting and try to print the XML publisher report it is printing only in American English (Main translatable template's locale). Below is my bursting code
try {
DocumentProcessor dp = new DocumentProcessor("/usr/tmp/SampleControlFile2.xml", strDataSource, "/usr/tmp");
dp.registerListener(this); //Set the listener
System.out.println(strDataSource);
System.out.println("xdo://"+strAppcode+"."+strTemplateCode+"."+strLang+"."+strLocale+"?getSource=true");
Properties prop = new Properties(); //Add properties and variables//
//updating these property as per environment//
//prop.put("user-variable:TEMPLATE", "xdo://"+strAppcode+"."+strTemplateCode+"."+strLang+"."+strLocale+"?getSource=true");
prop.put("user-variable:TEMPLATE", "xdo://"+strAppcode+"."+strTemplateCode+"."+"en"+"."+"US"+"?getSource=true");
prop.put("user-variable:cp:territory", "NL");
prop.put("user-variable:cp:language", "nl");
prop.put("user-variable:cp:locale", "nl-NL");
prop.put("burstng-source", "EBS");
prop.put("user-variable.OA_MEDIA", "<MEDIA DIR>");
dp.setConfig(prop);
dp.process();
//dp.deletTemporaryOutputFiles();
} catch (Exception e) {
e.printStackTrace();
Control File:
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
<xapi:globalData location="stream">
</xapi:globalData>
<xapi:request select="/TMP001/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE/G_INVOICE">
<xapi:document key="${TRX_NUMBER}" output="${TRX_NUMBER}" output-type="pdf" delivery="file1">
<xapi:template type="rtf" locale="" location="${TEMPLATE}" translation="" filter="" />
</xapi:document>
</xapi:request>
</xapi:requestset>
Also I tried the following,
For xdo://XXRS.XXRS_RAXINV_SEL_T.en.US?getSource=true location, the template prints always in American English.
For xdo://XXRS.XXRS_RAXINV_SEL_T.nl.NL?getSource=true location, the bursting errors saying that could not find the template. (The template xdo://XXRS.XXRS_RAXINV_SEL_T.nl.NL?getSource=true can't be fetched)
Thanks!

Hi,
Can you post your control file here...
I am working on similar thing but not getting it working..getting error like
[070110_022931827][][EXCEPTION] The URL ( xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true ) is invalid.
My translation file name is "XXXPOXPRPOL_fr_CA.xlf"
in my control file i have tried following codes but it didnt work
<xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL_fr_CA.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
<xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
<xapi:template type="xsl-fo" location="xdo://XXX.XXXPOXPRPOL_fr_CA.xlf.fr.CA/?getSource=true" filter=".//G_HEADERS[C_VENDOR_CONTACT_EMAIL !='' and POH_ORG_ID = 161]"></xapi:template>
Please let me know where problem is.
Thks & Rgds
Rajesh

Similar Messages

  • HT2311 Unable to get iTunes working on iMac with OS X 10.6.8.

    Unable to get iTunes working on iMac with OS X 10.6.8. Have rolled back a couple of versions and same problem. iTunes seems to open but all functions are greyed out and must force quit. Any suggestions would be appreciated. On a couple of occasions have had options available, but once selected it hangs, and then all is greyed out and must force quit. Incidentally going directly to a song (before running iTunes) will open iTunes and play, but all options are still greyed out.

    It could be corrupted preference files, or a corrupted library file. You could try dragging the preference and iTunes library files to your desktop, launching iTunes, and see if the functions will then work. Your songs will of course be missing, but if that fixes the problem, you can put the files back one by one and see which causes the problem. If it's just a preference file, just trash the file and reset your preferences. If it's the library, post back and we can help you rebuild.
    Regards.

  • How to get QTP11 work with FF17. Unable to get Quicktest Proffessional11 plugin

    How to get QTP11 work with FF17. I have already installed Patch_090 and 0122.
    Unable to get Quicktest Proffessional11 plugin even after creating temp directory, into FF “extensions” directory.
    Please help

    If I may ask is there a recommended version of Firefox for the extension? [http://www.qatutorial.com/files/QTP_Install_Guide.pdf] is all I could find on how to install the software, is this the right add on?

  • I am unable to get a connection with my ipad through my router but I am able to get in when at my friend's house

    I am unable to get a connection with my ipad with my wifi router.  Will I need to upgrade my router

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • I just restored my phone, however I have to sign into icloud and the phone is set to the previous owner's email and password. I am unable to get in contact with them. What can I do?

    I just restored my phone, however I have to sign into icloud and the phone is set to the previous owner's email and password. I am unable to get in contact with them. What can I do?
    Please help!

    Hello codyfromseminole,
    After reviewing your post, I believe your device is under Activaltion Lock. The following article will provide you with more information about the feature:
    iCloud: Activation Lock
    With iOS 7 or later, Find My iPhone includes a feature called Activation Lock, which is turned on automatically when you set up Find My iPhone. Activation Lock makes it harder for anyone to use or sell your iPhone, iPad, or iPod touch if it’s ever lost or stolen. 
    With Activation Lock, your Apple ID and password are required before anyone can:
    Turn off Find My iPhone on your device
    Sign out of iCloud on your device
    Erase and reactivate your device
    Important:    Make sure to remember your Apple ID and password, and that your password is unique and secure—someone else shouldn’t be able to guess it. For more information, see the Apple Support article Security and your Apple ID. 
    If you want to give away or sell your device, be sure to erase your content and settings (in Settings > General > Reset > Erase All Content and Settings). When you erase your content, Find My iPhone and Activation Lock are also turned off. 
    If you no longer have the device, follow the instructions to remove a device you no longer have. For more information, see the Apple Support article What to do before selling or giving away your iPhone, iPad, or iPod touch. 
    For more information about Activation Lock, see the Apple Support article Find My iPhone Activation Lock in iOS 7.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Unable to get PAGE_COUNT working

    I am a new Xserve user and I have been unable to get PAGE_COUNT working despite the fact that SSI and other environmental variables are functioning for me. Does anybody know what additional settings are required for PAGE_COUNT? Do I need to initiate a count file or file location?
    Xserve   Mac OS X (10.4.9)  

    This is still unresolved so I hope this additional information will enable somebody to tell me how to fix it. I have used a QPQ server for over 10 years and am now moving all sites to Apache (1.3) on an Xserve. Everything appears to work OK except for PAGE_COUNT. All pages are parsed and most pages contain:
    <!--#echo var="LAST_MODIFIED"-->
    <!--#echo var="PAGE_COUNT"-->
    The date displays as expected but the hit counter only shows '(none)'.
    What have I done wrong or failed to do? Could moving the site root have caused a glitch? Where does Apache store the page counts?
    Any help would be much appreciated.

  • How to work with xml in java ?

    Hello everybody. I am trying to read, write and modify xml file in java. But i don't know what is the best method for work with xml file ? Please give me some examples for read, write and modify it.
    Thanks in advance.

    >
    Hello everybody. I am trying to read, write and modify xml file in java. But i don't know what is the best method for work with xml file ?>'It depends'. I saw some discussions of XML parsing using different J2SE core XML APIs (the J2SE has a selection of ways to deal with XML) where one API was 20 times faster than the other.
    >
    ... Please give me some examples for read, write and modify it. >Please give me a ponie. ;-)
    You will probably need to do a lot of reading, as well as some experimentation, before you decide which XML API is best suited to the particular task you are facing.
    >
    Thanks in advance.>No worries.

  • Problem when load more swf files work with xml files into my movie

    hi ;
    I have one flash file & more of swf files which work with xml files .
    when I load one swf file into my flash file  and remove it and load anther one on the same movieclip in my flash file it load the old swf file.
    when i load one on movieclip and remove it and load anther swf  on anther movieclip the file doesn`t work  and stoped.
    when test my flash file to load and remove swf files without xml file it work fine but when repleaced the swf files with other work with xml files the problem hapend.
    thanks;

    YOu should trace the names of the files that are being targeted for loading to see if they agree with what you expect.  If you want help with the coding you will need to show the code that is relevant to your problem (not all of it)

  • [svn] 1317: Updates to get flex working with the Vector stuff.

    Revision: 1317
    Author: [email protected]
    Date: 2008-04-20 12:12:54 -0700 (Sun, 20 Apr 2008)
    Log Message:
    Updates to get flex working with the Vector stuff. Had to add support for the new name type, and new applytype opcode to the Optimizer/Merger that flex uses. Also had to slightly change how the instantiated vector classes find their declared methods. Previously they were copied into the new class, but now they just point to the original vector class.
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/ConstantPool.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Decoder.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Encoder.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/OpcodeVisitor.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Opcodes.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Printer.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Scanner.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/abc/Visitor.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/parser/Parser.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConstantEvaluator.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/FlowAnalyzer.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ReferenceValue.java

    despite the workaround, it doesn't fix the real problem. It shouldn't be a huge deal for adobe to add support for multiple svn versions. Dreamweaver is the first tool i've used that works with svn that doesn't support several types of svn meta data. If they're going to claim that Dreamweaver supports svn is should actually support svn, the current version, not a version several years old. This should have been among the first patches released, or at least after snow leopard came out (and packaged with it the current version of svn).
    does anyone know if the code that handles meta data formatting is something that is human readable, or where it might be, or is it in compiled code.
    i signed up for the forums, for the sole purpose of being able to vent about this very frustrating and disappointing situation.

  • Anyone working with XML in portlets? How?

    Do you work with XML/XSL in a JSP Portlet to build your presentation?
    We are having trouble with german Umlauts and want to know a way for XML in portlets in general.
    Thomas

    Hallo Ingo !
    We use the Oracle XML Parser and XSL transformer in a JSP Portlet. The XML is referenced throu a URL from our XML server.
    The XSL file is in the portlet directory.
    Our Problem is:
    Even if we use encoding attributes set to UTF-8 we are not able to display Umlauts correctly. They are not encoded to HTML Umlauts (e.g. &#252; to &uuml;).
    We tested our code with Apache Xalan and Xerces and everything works fine.
    I think that Oracle XML parser treats things not as they are recommended by W3C.
    Finally we gave up parsing XML with oracle Parser and now use Apache XML/XSL Parsers.
    Or do you know a better way?
    Thomas

  • Working with XML and Button

    Hi,
    How are all of you. Well I am new to Flex. But I have started
    building simple applications. One of the top most problem I am
    facing is working with XML and Button. Can you please assist me in
    this. I am explaining my problem:
    I have an external XML file like this:
    <Menu>
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    <button>
    <idnt>1</idnt>
    <label>Mental Health</label>
    <text>Mental Health pages is currently under
    construction</text>
    </button>
    </Menu>
    Now I want to generate Buttons Dynamically from this XML. And
    the second thing which is the most problematic is that how I code
    it so that when I press the Button labled "General Health", it will
    show the same text as in the XML tag coresponding to tag
    "<label>General Health</label>" ?
    I badly need this. I am realy confused on this. Kindly help
    me.
    Regards
    ..::DeX

    Let's assume that variable "node" contains one element of the
    XML. For example,
    <button>
    <idnt>0</idnt>
    <label>General Health</label>
    <text>General Health pages is currently under
    construction</text>
    </button>
    such that node.label would be "General Health", node.idnt
    would be 0, etc.
    You can build a Button like this:
    var b:Button = new Button();
    b.label = node.label;
    b.data = node; // more on this later
    b.width = 60;
    b.height = 26;
    addChild(b); // critical - adds the button to the display
    list so you can see it
    b.addEventHandler( MouseEvent.CLICK, handleClick );
    You must set the button's width and height unless the button
    will be in a container that will size its own children (like Tile).
    Every Flex component has a data property. You can set it to
    whatever you like. For your needs it makes sense to set each
    Button's data property to the node it relates to.
    Now suppose that code above is in a function, createButton:
    private function createButton( node:XML ) : void {
    // code from above
    Here's how to make all the buttons where "menu" is a variable
    that contains your XML:
    for(var k:int=0; k < menu.button; k++) { // menu.button is
    an XMLList
    createButton( menu.button[k] );
    Now to handle the event:
    private function handleEvent( event:MouseEvent ) : void
    var b:Button = event.currentTarget as Button;
    trace( b.data.text);
    When a button is picked, the description element will print
    in the debug console. Replace the trace with whatever code you
    need.

  • Learning to work with XML

    Hello!
    Can anyone point me to some resources/turtorials/books etc from where to learn more about working with XML in indesign?
    So far all I found on the net are some simple tutorials to make business cards and the like..
    I need to make large books (for example, right now i'm working on a cookbook), and i'we seen some amazing examples of what can be achieved using a XML workflow.
    Related question: where can i find some documentation about the "aid" namespace (i think that's the correct term? for example: <element aid:pstyle="blahblah">
    thanks all.

    InDesign CS5: Dynamic Publishing Workflows in XML with Jim Maivald (the author of the book mentioned by Steve)
    XML Publishing with Adobe InDesign by Dorothy Hoskins
    Related question: where can i find some documentation about the "aid" namespace (i think that's the correct term? for example: <element aid:pstyle="blahblah">
    Adobe InDesign CS3 and XML: A Technical Reference -- Page 20

  • Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?

    Hi All,
    I am facing issues in creating  adhoc network in Windows 8.1. After searching in internet, I found that adhoc works with 
    netsh commands.
    1. I have tried neths commands and able to get it work on windows 8.1, 
     but I want to do it through the WLAN APIs ie. WlanConnect ,
    2. I am able to initiate the adhoc network(on Windows 8.1) by using WlanConnect API and other device are also able to connect to the Windows8.1 initiated adhoc  network  but the DHCP is not working.
    -> clients are not able to get the IP address.
    Is it possible to create the adhoc network and get it work with WLAN APIs (WlanConnect) instead of netsh commands...?
    Thanks
    akhil

    Hi,
    Did you mean to write a program to implement that creating adhoc via UI? This should be development issue.
    But this is Windows 8.1 client forum and there is no professional on develop.
    To help you better, I suggest you submit a new case on MSDN forum to help to check your code as they will be more professional on your issue:
    This is the MSDN forum link.
    http://social.msdn.microsoft.com/Forums/ 
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.  Thank you for your understanding.
    Kate Li
    TechNet Community Support

  • Can't get out.print to work with XML jsp tags

    <jsp:scriptlet>
    if(ErrorTrap == true) {
         out.println("<tr><td colspan=\"center\" align=\"center\">There was" an error while processing the form</td></tr>");
         ErrorTrap = false;
    </jsp:scriptlet>
    I can't get this script to work with the XML stype jsp tags. It keeps telling me the <jsp> tags are untermintaed. Is there a special trick to fix this or do I have to use the non-XML type tags?

    Sorry, I didn't mean to put the extra " in the out.println text string. :-/

Maybe you are looking for

  • How do I find out if iPhoto is installed on my new computer?

    After visiting the Apple website section which discusses migrating from a PC to a Mac. Working out how to copy photo's from a PC to a Mac (easy) I have one question. Why am I told to use iPhoto to view pictures if it doesn't come installed with my Ma

  • Kextcache occasionally crashes on my system

    Hi *, about 2 or 3 times a week , I get a crash report for kextcache (see below). I already tried disk+permission repair and safe boot (which rebuilt the caches), but the problem is still there. Has anybody seen this before ? Any ideas what I can do

  • Complex B/W picture to vectorize in simple form

    Hello, I have this complex black/white map of an island and would like to vectorize only the contour of the island. When I vectorize I choose B/W with a threshold of 15 pixels, and I clicked only contour. What I get is too precise. It also vectorize

  • Iphoto 5.0.4 - Library cleanup?

    I noticed today when I was doing a HD backup of my Mini that the iPhoto library files seems to have quite a few ._ files for the pictures as well as Thumbnails. Not every single pic has a thumbnail or a ._ file, so I dont know why some do and some do

  • Itunes store won't connect. I can get my APPS

    Itunes store won't connect, I can get my APPS and library. when I run the diognostics it states "Secure link to Itunes store failed" but it has validated the internet connection. When I click on the help it tells me my computer is not hooked up to th