XML Syntax not translated correctly by BI Publisher.

We have issues when we are calling a web service that returns a xml tag with predefined formatting. Such as <b>text</b> within the xml tag. When we use microsoft word (bi publisher addon) to translate the xml into a pdf document, it ignores this formatting, and treats it like a sub tag.
Is this a bug in bi publisher?
Has anyone worked around this?
I understand u can just use the bold function of word, but what if you just want to bold the a certain section of the content of the tag?

<TEL_TXT><?b?>Telephone:<?/b?> Call this number to pay by credit card using a land line or mobile phone.</TEL_TXT>
<TEL_HOW>Tel: 1300 362 589</TEL_HOW>
<INT_TXT><?b?>Internet:<?/b?> Visit this website to make a secure credit card payment over the internet.</INT_TXT>
We use BPEL to extract information from an external source, once we get this, we use BI publisher to then compile everything together including output from a receivables report, to produce a pdf report. Microsoft Word just ignores the <?b?>, thinks it's a sub tag. p.s i put the ? in there so that html browser does not bold the text. in the real sample the ? are not in there.
Message was edited by:
THLAM
Message was edited by:
THLAM

Similar Messages

  • Some XML customizing not displayed correctly in graphic in PDF form

    Hello,
    we have following problem: We want to create a read-only PDF with an integrated graphic with analytical data.
    The PDF form is created with SFP. Data is extracted and the graphic rendered with the class CL_IGS_CHART_ENGINE.
    We used SAP chart designer and transformed the XML into our string.
    The graphic is displayed in our PDF, but some customizing settings in our XML are neglected, especially the font type, her only courier is displayed. Also some manual positions of legends don't work.
    When I display the chart in the SAP GUI using cl_gui_chart_engine everything works fine, so  I assume that the XML and the  transformation is correct.
    So where is the problem: Mime type? codepage? printing job?
    Thanks and Regards
    Andreas

    Hello,
    I would like to know what type of scenario do you use. Is that WD form? Or offline form?
    Based on the type, you may find your solution here:
    When you need to send a picture into the offline form: another image question - using Regular ABAP not web dynpro and Display a logo dynamically in adobe form
    For the WD form: /people/bhawanidutt.dabral/blog/2007/11/15/how-to133-integrate-adobe-form-on-webdynpro-for-abap-and-deploy-it-on-portal
    What MIME type (picture type) has your generated picture? JPG for example is ok, but for exotic types please check in your LCD (place Image on the layout and open the dialog for picture assignment, you can see the allowed picture types in there).
    Regards, Otto
    p.s.: What is the mentioned XML customizing? XML is the form of the femplate, but I have never customized anything IN THERE. Did you change the XML source manually? Or what type of changes are not managed correctly?

  • DCS Info Not Translating Correctly

    After installing Lion, I started getting a false consumables error from my Okidata C9650 printer.
    The Okidata people tell me this is a Lion error. They say Lion is not translating DCS (Desktop Color Separation) data correctly.

    You should send feedback to Apple about this:
    http://www.apple.com/feedback/macosx.html

  • Audio from fcp7 xml not translating correctly

    Hi,
    The assistant editor is syncing audio using FCP7 and giving me an XML. He has the lav/boom on tracks one and two and the camera tracks on 3 & 4. When I open the XML in Premiere, I only get two tracks and they are both the camera tracks. The lav/boom tracks are gone.
    Has anybody experienced this?

    Hi,
    The assistant editor is syncing audio using FCP7 and giving me an XML. He has the lav/boom on tracks one and two and the camera tracks on 3 & 4. When I open the XML in Premiere, I only get two tracks and they are both the camera tracks. The lav/boom tracks are gone.
    Has anybody experienced this?

  • Output not printing correctly for BI Publisher report.

    Hi All,
    We have a BI Publisher report which is printing correctly on one printer but not on another printer. The top and right side of the output are getting truncated. Printer type for both the printer is same that is "--PASTA Universal Printer Type" and both are using the same printer driver 'PASTA_PDF' and same style 'PDF Publisher'.
    Please let me know how can I debug the issue.
    Thanks
    Vishalaksha

    Steve- I understand what you are mentioning about the ftp, the XML file looks okay on both server and the client except for the letter 'ü ' and the rest of the German characters prints okay. THe problem is that the BI reprot is printing the same wrong characters.
    --Ravi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error message severity not translated correct when locale is changed

    We have a shell page displaying different task flows within a dynamic region. The shell page f:view tag has locale="#{LocaleManager.currentLocale}" to allow programmatic change of locale. Most of the flows uses the locale from the browser request (e.g. Danish) but some pages has fixed locale (en_US) and will always be rendered with this locale (don't ask me why. It's a requirement). For those fixed locale pages, the expression #{LocaleManager.currentLocale} always returns "en_US". It works nice, but we have a strange problem with the translation of error messages displayed by validators/converters. E.g. if a character is entered in a number field, the user will see the usual popup error message like "*Error:* The value is not a number". The message part of the error message is translated but the severity message prefix ("Error:" in the example), seems to be translated and cached once per session. If the error message popup has been displayed once in a different locale, then after change of locale, the severity message prefix continues to use the translation from the first display. The message part of the message is translated perfectly.
    Let me give an example:
    1) User enters da_DK page and enters a invalid number. Error message displayed: "*Fejl:* Værdien er ikke et tal"
    2) User enters en_US page and enters a invalid number. Error message displayed: "*Fejl:* The value is not a number"
    If the examples is reversed, then the error messages will be:
    2) "*Error:* The value is not a number"
    1) "*Error:* Værdien er ikke et tal"
    Do anyone know how to clear this translated severity message prefix, when locale is changed? Or is there a better way to overcome this issue?
    We're using JDeveloper and ADF 11.1.2.2 and are able to reproduce the issue on the embedded weblogic.

    Hi again
    ok I added another locale that ships with flash builder, and encoutered the same problem
    whenever I change the locale, the error tooltips are gone
    I was even able to fix both new locales by assigning the the validators custom error messages using resourceManager.getString() like i assign a value to all other UI strings in the application
    the default locale which is specified in the project compiler's parameters is en_US
    and my final question to you is:
    is there a best practice regarding localizing & managing the error massages Flex SDK uses?
    what is the internal path to the resource bundles that flex uses to display errors?
    it seems like it makes more sense to copy and edit an existing list of errors, rather then blow up the application code...
    can you please share your view on the matter
    thank you for your help
    Yariv

  • XML value not reading correctly

    I am trying to read an XML response after passing data to a 3rd party server and receiving a reply then act appropriately upon the value of a field (response)
    The problem is that when I have my CFIF statement, the logic seems to be backwards, if it equals FAIL then I cfabort, but only if I use CFIF NOT does it then cfabort, this is not right at all
    As the code stands, the CFIF the value of response IS fail it should CFABORT, but it doesn't
    Below is the code, and also a CFDUMP, anybody any ideas?
    Thanks
    Mark
    xml document [short version]
    XmlComment
    XmlRoot
    xml element
    XmlName
    iimobileengine
    XmlNsPrefix
    XmlNsURI
    XmlText
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    stage
    XmlNsPrefix
    XmlNsURI
    XmlText
    PRELOAD
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    response
    XmlNsPrefix
    XmlNsURI
    XmlText
    FAIL
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    lid
    XmlNsPrefix
    XmlNsURI
    XmlText
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    lsdid
    XmlNsPrefix
    XmlNsURI
    XmlText
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    reason
    XmlNsPrefix
    XmlNsURI
    XmlText
    Carrier Not Supported
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    xml element
    XmlName
    tc
    XmlNsPrefix
    XmlNsURI
    XmlText
    XmlComment
    XmlAttributes
    struct [empty]
    XmlChildren
    iimobileengine
    XmlText
    stage
    XmlText
    PRELOAD
    response
    XmlText
    FAIL
    lid
    XmlText
    lsdid
    XmlText
    reason
    XmlText
    Carrier Not Supported
    tc
    XmlText
    <cfset myxml=XMLParse(#cfhttp.filecontent#)>
    <CFDUMP VAR="#myxml#">
            <!--- CHECK FOR FAIL RESPONSE --->
    <CFIF #myxml.iimobileengine.response# IS "FAIL">
    <CFOUTPUT>Stage 1: #myxml.iimobileengine.reason#</CFOUTPUT>
    <CFABORT>
    </CFIF>

    ACS LLC wrote:
    I am going to try avoid this as much as possible! Too confusing!
    Looks like in this case I can/should add XMLText to the end of all of my statements including output of results
    The fact that it can work without XmlText is down to luck. That, I suppose, is also what Dave means. ColdFusion is forgiving you. In fact, your coming here with the problem is warning enough.
    Your code should, strictly speaking, be something like:
    <CFIF myxml.iimobileengine.response.XmlText IS "FAIL">
    <CFOUTPUT>Stage 1: #myxml.iimobileengine.reason.XmlText#</CFOUTPUT>
    <CFABORT>
    </CFIF>
    To see why adding XmlText is a good habit, run the following test:
    isXml(myxml.iimobileengine.response): <cfoutput>#isXml(myxml.iimobileengine.response)#</cfoutput><br>
    <cfdump var="#myxml.iimobileengine.response#">
    It should convince you that myxml.iimobileengine.response isn't just simple text.

  • &ITEM. syntax not working correctly in logout_url

    Hello all,
    I have made my own logout procedure (which is part of a package) and am calling it from logout url as follow:
    web_tool_authentication.logout?p_username=&APP_USER.&p_this_flow=&APP_ID.&p_next_flow_page_sess=&APP_ID.:1:&SESSION.
    When I run the htmldb app, the &APP_USER. item is not correctly substitued in the logout url. It treats &APP_USER. as a literal value. This, however, is not the case for &APP_ID. and &SESSION. Does anyone know why this is occurring? Thank you for any suggestions.

    The problem is that &LOGOUT_URL. is a substitution item that might itself contain other substitution items. We don't do recursive substitutions on that particular name, we just replace the occurrences of the commonly used items in a logout url. Perhaps APP_USER should be one of those, but it presently is not.
    Scott

  • HTML Email not rendering correctly

    Hi,
      Since upgrading to Mountain Lion I've noticed that a number of my HTML based incoming emails are not translating correctly - the text is just showing as graphic characters.  None HTML emails are fine - anyone got any ideas?
    Regards
    Neil

    Hi Scott.
    In order to solve your problem with relative links to image and css files inside KM I suggest two variants:
    1. Replace relative links as I mentioned in this message Re: JavaScript and CSS info in WPC.
    2.The second solution is:
    a. Create an blank html file inside KM folder where the base.html file is stored.
    b. Download the newly created file for local editing.
    c. Place an iframe that points to your base html file between <BODY></BODY> tags. Use a following code as an example:
    <iframe width="100%" height="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="base.html"></iframe>
    d. Upload this file back to KM.
    e. Point your KM Document  iView to the created html file.
    Best regards,
    Aliaksandr Zhukau
    Edited by: Aliaksandr Zhukau on Dec 3, 2009 11:04 AM

  • XML Publisher CHARTS: mulit-dimensions not plotted correctly

    Hi,
    We're currently assessing the suitability of XMP Publisher and one of the deciding factors is to create a bar chart from an SQL query that retrieves multiple portfolios over a time-frame. For example, three portfolios are selected over a time period like 3 years (but there does not have to be a performance for every month) and their performance is plotted against each month (i.e. 0 - 3 Columns depending if a result exists per month). In the desktop publisher we struggled but managed to change the Graphics code until it could dynamically show the correct legend and the data rows, but alas the data points do not correspond correctly with the X-axis. It seems that when the rows are grouped each value is plotted against each column regardless of the tagged value used for the X-axis.
    Let me try and put it this way, the first month had only 1 portfolio and the next month had all three, but on the graph the first month shows three columns, the records have slipped.
    The code that we used was adapted from a forum entry by Klaus Fabian- "Re: Stacked Bar Chart
    " (Servus Klaus;-)), but we need to find out how to adapt the code so that it plots the data correctly against the X-axis values.
    Help!!!!
    Cheers,
    Robin.
    Here's the code we used
    chart:
    <Graph>
    <Title text="" visible="true" horizontalAlignment="CENTER"/>
    <LocalGridData colCount="{count(xdoxslt:group(.//ROW, 'TODATE'))}" rowCount="{count(xdoxslt:group(.//ROW, 'CODE'))}">
    <RowLabels>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <Label><xsl:value-of select="./CODE"/></Label>
    </xsl:for-each-group>
    </RowLabels>
    <ColLabels>
    <xsl:for-each-group select=".//ROW" group-by="TODATE">
    <Label><xsl:value-of select="./TODATE"/></Label>
    </xsl:for-each-group>
    </ColLabels>
    <DataValues>
    <xsl:for-each-group select=".//ROW" group-by="CODE">
    <RowData>
    <xsl:for-each-group select="current-group()" group-by="TODATE">
    <Cell><xsl:value-of select="./PERFORMANCE"/></Cell>
    </xsl:for-each-group>
    </RowData>
    </xsl:for-each-group>
    </DataValues>
    </LocalGridData>
    </Graph>

    Hi,
    I have finally found solution to this issue....
    Two setups are required to display the charts in the concurrent program's PDF output:
    1. We need to edit the variables CLASSPATH and AF_CLASSPATH. These variables should have the complete path added for the xdoparser.zip file on the server.
    2. The DISPLAY variable should be correctly setup to direct the server output.
    Also as per my findings so far, the BI (XML) publisher version 11.1.1.3.0 (or any 11g) does not work with EBS (at least for charts). We need to use BI publisher version which is XML 5.6.3 compatible for EBS. This version is 10.1.3.2.1. (patch 12395372) Now this 10g version does not work on Windows 7 so you need to use Windows XP!
    With this... finally... your charts should be getting displayed in EBS output...
    Cheers!! :-)
    Archana

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • HTML Snippet customized paypal buttons not showing correctly when published

    Hi, My customized paypal buttons that i but on my iweb site using html snippets are not displaying correctly. They work in Opera but not in firefox or safari. Please take a look and tell me what you think might be wrong. (all the links are working it's just not showing the graphics correctly (apart from in Opera)
    http://www.alisonbrent.com/ShopTableLamps.html
    Also I've just noticed that when i return to my iweb application (after closing in down) the Html snippets aren't there anymore just an outline, just like they appear in safari?
    Many thanks,
    Ali
    P.S

    Bonjour
    You inserted an image inside the ShopTable_Lampsfiles folder but it's is deleted every time you publish your page
    1) Create an new folder named Paypal in your root folder:
    FTP: With a FTP software (like Cyberduck) create a new folder in your server root folder
    MobileMe: just make an new folder inside the Folder Sites (iDisk > Web > Sites)
    Name this Folder "paypal"
    2) insert your image "addtocartbutton.png" inside this paypal folder
    Get the new URL of your image , something like
    http://www.alisonbrent.com/paypal/addtocartbutton.png
    3) Paste this URL in your codes, replace
    src="http://www.alisonbrent.com/ShopTable_Lampsfiles/addtocartbutton.png"
    by
    src="http://the/new/URL/of/addtocartbutton.png"

  • Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type a

    Dear Team,
    Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank you

    Hello,
    most recent patches for IGS and kernel installed. Now it works.

  • Characters not getting translated correctly

    I have written code that basically sends a URL to AltaVista's Babelfish translator, which translates the text that I send into whatever language I specify. In my case, I'm going from English to Spanish, translating the phrase "How are you?" When I get the result back, the special character of the "o" with the accent is not printing correctly. I'm getting garbage back in the stream itself. However, if I take that same URL and plop it directly into IE, it works perfectly.
    Another thing that I have tried is copying the HTML that Babelfish creates with the correct characters into a text file, then reading that file directly into Java to see if it might be some sort of problem with the URLConnection, but the java still produces the garbage.
    I have also tried to change my system properties to make it think that it is a Spanish locale, but still no luck. In addition, I've tried UTF-8 and UTF-16. It seems like it is reading in double-byte characters and returning the wrong byte for the special characters.
    One last thing I tried was setting the "Content-Language" in the setRequestProperty() method for the URLConnection, but that didn't seem to have any effect.
    Here is the URL that I building and sending:
    http://babelfish.altavista.com/babelfish/tr?lp=en_es&tt=urltext&intl=l&doit=done&urltext=How are you?
    Here is the full code, sorry it's a little lengthy, but I thought it would help.
    import java.util.*;
    import java.util.regex.*;
    import java.net.URL;
    import java.net.URLConnection;
    import java.net.URLEncoder;
    import java.io.DataOutputStream;
    import java.io.DataInputStream;
    import java.io.InputStreamReader;
    import java.io.BufferedReader;
    class Translator {
    public static String translate(String message, String fromto) throws Exception {
    String messageHeader = null;
    String translatedMessage = null;
    String thisFromTo = fromto;
    String[] fromTo = breakupFromTo(thisFromTo);
    if(fromTo[0].equals(fromTo[1])){
    return message;
    if(message.indexOf("<") != -1){
    messageHeader = message.substring(message.indexOf("<"),message.indexOf(">")+1);
    translatedMessage = message.substring(message.indexOf(">")+1);
    message = translatedMessage;
    } else {
    messageHeader = "";
    translatedMessage = message;
    URL transUrl = new URL("http://babelfish.altavista.com/babelfish/tr");
    URLConnection conn = transUrl.openConnection();
    conn.setDoInput(true);
    conn.setDoOutput(true);
    conn.setUseCaches(false);
    conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    DataOutputStream printout = new DataOutputStream(conn.getOutputStream());
    String content = "lp=" + URLEncoder.encode(thisFromTo, "UTF-8") + "&tt=urltext&intl=l&doit=done&urltext=" +URLEncoder.encode(message, "UTF-8");
    printout.writeBytes(content);
    printout.flush ();
    printout.close ();
    // Get response data.
    DataInputStream input = new DataInputStream (conn.getInputStream());
    BufferedReader binput = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String str;
    String buff = "message could not be translated";
    while (null != ((str = binput.readLine()))){
    Matcher matcher = Pattern.compile("^.*<Div style=padding:10px; lang=(.*)>(.*)</div>.*$").matches(str);
    if(matcher.matches()){
    buff = matcher.group(2);
    buff = messageHeader + " " + buff;
    return buff;
    private static String[] breakupFromTo( String fromto) {
    StringTokenizer t = new StringTokenizer(fromto, "_");
    String from = t.nextToken();
    String to = t.nextToken();
    String[] fromTo = {from, to};
    return fromTo;
    public static void main(String args[]){
    String str = "How are you?";
    String thisFromTo = "en_es";
    try{
    String translation = translate(str, thisFromTo);
    System.out.println(translation);
    } catch(Exception e){}

    I found my answer, I needed to replace this line
    BufferedReader binput = new BufferedReader(new InputStreamReader(conn.getInputStream()));
    with
    BufferedReader binput = new BufferedReader(new InputStreamReader(conn.getInputStream(),"UTF-8"));
    And it works like a charm!

  • Webpages not showing correctly after publishing

    Dear, I was uploading my webpages with Easy iWeb Publisher to my host server. That worked fine ! But now my pages are not appearing correctly. Some images and text are missing, some links are not working and some pages remain blank. Did I do something wrong?

    Most likely some stuff is not in fact being uploaded. Use Safari > Window > Activity to see what files are "not found".
    Try using the free ftp app Cyberduck instead.
    It's pretty much impossible to offer any real help unless you provide your url so people can see for themselves what is going on.

Maybe you are looking for