How to specify page encoding for XML reports.

Hi,
Environment: Apps:11.5.10, Oracle Reports: 10g
I'm trying to generate XML tags by using a "rdf" report (10g).
Initially I generated the XML tags before moving the report to server. In the output file I got
<?xml version="1.0" encoding="WINDOWS-1252"?>
Then I moved the report to server and made the concurrent program output to XML.
In the concurrent program output the tag is
<?xml version="1.0" encoding="&Encoding"?>
The output shows error
===============
XML Parsing Error: XML declaration not well-formed
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<?xml version="1.0" encoding="&Encoding"?>
Its clear that there is something wrong with page encoding format which has to get assigned while run time. But its not happening so.
How to specify the page encoding format?
Any help would be appreciated.
Thank you
BKR.
Edited by: BalaKrishna Reddy Avuthu on Aug 14, 2009 2:00 PM

Remove the encoding so it says:
<?xml version="1.0"?>
Also, you will get a similar error if your xml tags for fields contain any special characters like & or #.

Similar Messages

  • How can i use FNDLOAD for XML reports and data defnitions

    I registerd concurrent program and linked xml reports and data defnitions in staging instance, and successfully moved to DEV.. after that stage is refreshed and when i download the details from DEV and uploaded to Stage only concurrent program i can upload...Wheteher we can use FNDLOAD Command for the Data definitions or Data template for the XML Report,used FNDLOAD for the concurrent program, it uploaded only concurrent program details.

    Hi,
    Use XDOLoader.
    Note: 469585.1 - How To Use XDOLoader?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=469585.1
    Regards,
    Hussein

  • Specify page size for webi reports as pdf

    Hi,
    Is it posible for a webi report generated as pdf, to specify the page size used inside that pdf ?
    Let's say I want that all pages of that pdf to have page size=A5.
    Is this possible using bo sdk ?
    Thank you.

    Hi Durga,
    log file shows Error  "Continue parsing report event"and/foldername/ SUBF/file name.pdf  means failed
    Can you come accross any such error.
    Regards,
    Ganesh Bothe

  • How to set encoding for xml Marshaller?

    Hi,
    I am using SAPXMLToolkit. And I use XMLMarshaller to convert from xml to java classes (jaxb classes). Now when I get some characters like ü, the marshaller gives an error
    com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 69(:main:, row:1, col:323)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
         at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
         at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:152)
         at com.sap.engine.lib.xml.parser.XMLParser.scanCharData(XMLParser.java:1896)
         at com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReaderImpl.next(XMLTokenReaderImpl.java:190)
    How do I solve this?? How do I set encoding for the marshaller?
    Regards,
    Guru

    Hi ogre,
    To set the encoding scheme for an XML document, you can use the createProcessingInstruction. Our CVIXML instrument driver (which
    is basically and user-friendly wrapper made around the MSXML interface) uses
    this method to specify the version of the XML document. So, what you could do
    is simply modify our existing CVIXML instrument driver to include the encoding.
    It's actually quite simple to do this.
    First off, open up the cvixml.c file
    located in the <CVI>\toolslib\toolbox directory in CVI. Then change the
    value of the constant XML_PROC_INSTR_DATA
    (located on line 42) from "version=\"1.0\"" to "version=\"1.0\"
    encoding=\"UTF-8\"". The save your source file and
    select Options >> Create Object file. This object file
    (cvixml.obj) is attached to your cvixml.fp function panel. 
    To test this out, you could simply use some code like
    CVIXMLNewDocument ("RootElement", &xmlDoc);
    CVIXMLSaveDocument (xmlDoc, 0, "C:\\Test.xml");
    Then the Test.xml document should say
    <?xml version="1.0" encoding="UTF-8"?>
    <RootElement/>
    Hope this helps!
    Best Regards,
    Jonathan N.
    National Instruments

  • Setting the page orientation for a report

    Hi
    Currently, in infoview I have observed that we can set the page orientation for a report in a webi document , i.e. whether the report is to be viewed in landscape mode or portrait mode.
    Currently, in the BO SDK, I have come across the classes like Orientation, but am not able to figure out how to use them.
    Can you please paste some code snippet, how to use this class for setting the orientation of the document.
    Thanks in advance,
    Shruti

    Hi Shruti,
    To retrieve the Reportcontainer for an existing report on a WebI document, you can do the following:
    ReportStructure oReportStructure = oDocumentInstance.getStructure();
    ReportContainer oReportContainer = (ReportContainer) oReportStructure.getReportElement(0);
    Hope this helps.
    Regards,
    Dan

  • Numbers to CSV export script: how to specify the encoding?

    Hi,
    I'm using the following script to export a Numbers document to CSV:
    # Command-line tool to convert an iWork '09 Numbers
    # document to CSV.
    # Parameters:
    # - input: Numbers input file
    # - output: CSV output file
    # Attik System, Philippe Lang
    # Creation date: 31 mai 2012
    # Modification date:
    on run argv
      # We retreive the path of the script
              set myPath to (path to me)
              tell application "Finder" to set myFolder to folder of myPath
      # We get the command line parameters
              set input_file to item 1 of argv
              set output_file to item 2 of argv
      # We retreive the extension of the file
              set theInfo to (info for (input_file))
              set extname to name extension of (theInfo)
      # Paths
              set input_file_path to (myFolder as text) & input_file
              set output_file_path to (myFolder as text) & output_file
              if extname is equal to "numbers" then
        tell application "Numbers"
          open input_file_path
          save document 1 as "LSDocumentTypeCSV" in output_file_path
          close every window saving no
        end tell
              end if
    end run
    It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
    Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
    Thanks!
    Philippe Lang

    A further note from Yvan. He's made some revisions to the script sent earlier.
    --{code}
    --[SCRIPT export to CSV with selected encoding]
    I added some features.
    (1) Defining the encoding thru the preferences file apply only if
    the application is not in use because the file is read only once in a session.
    A test urge you to quit Numbers if it is running.
    (2) info for is deprecated so it may be removed by Apple tomorrow.
    I no longer use it.
    (3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
    Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
    (4) I'm wondering which tool is used to launch this script,
    I don't know the way to pass arguments when I run one.
    Yvan KOENIG (VALLAURIS, France)
    2012/06/13
    property chooseEncodingInScript : false
    true = the script will ask you to select the encoding
    false = the script use the embedded encoding
    on run argv
      set input_file to (item 1 of argv) as text
      set output_file to (item 2 of argv) as text
      set myPath to (path to me) as text
              tell application "System Events"
      set theProcesses to name of every application process
      set myFolder to path of container of (disk item myPath)
      set input_file_path to myFolder & input_file
      set output_file_path to myFolder & output_file
      set extname to name extension of (disk item input_file)
      end tell
              if extname is "numbers" then
                        if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
      if chooseEncodingInScript then
                                  set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
                                  set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
      if maybe is false then
      error number -128
      else if item 1 of maybe is item 1 of theList then
                                            30 -- Mac OS Roman
      else if item 1 of maybe is item 2 of theList then
                                            4 -- Unicode (UTF-8)
      else
                                            12 -- Windows Latin 1
      end if
      else
                                  4 -- Unicode (UTF-8)
      end if
                        do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding  -int " & result
      tell application "Numbers"
      open input_file_path
                                  save document 1 as "LSDocumentTypeCSV" in output_file_path
      close every window saving no
      end tell
      end if
    end run
    --{code}
    Regards,
    Barry

  • How to create PLD_Items table for Crystal Reports

    Hi experts,
    Im trying to use the variable 130 for a report but in crystal reports, in some SAP Standard Reports the table PLD_Items appears, my question is how to create this structure for my report, i know that is an ADO.NET connection based on an XML file, but i dont know from where i can take this value can any one help me please?
    Best Regards
    Dave

    If this is CR for B1, please post to SAP Business One Application
    Alternatively see the SCN Site Index for the correct SCN Space for your product / component.
    - Ludek
    SCN Moderator

  • How to show image in TestStand xml report

    Hi,
    I am using TestStand to run DLLs written over CVI.
    I am using the xml report for collecting results.
    Some of the tests i run require showing images on the report -
    I would like to know how to allow showing an image on xml report by writing a CVI code.
    Thanks,
    Moshik

    Hi Moshik,
    There is an example for inserting images in your report in this discussion:
    http://forums.ni.com/ni/board/message?board.id=330&message.id=2819&requireLogin=False
    TestStand uses the sequences named reportgen_***.seq that default to the
    C:\Program Files\National Instruments\TestStand 3.5\Components\NI\Models\TestStandModels directory for report generation.
    You can edit the reportgen_xml.seq for XML reports.
    Is it really necessary for your DLLs to do the image insertion?
    Gavin Fox
    Systems Software
    National Instruments

  • How to increase page size for balance file upload in Workspace.

    Hi All,
    Please suggest how to increase page size for balance file upload in shared Workspace pages.
    Thanks,

    A word of caution is in order regarding changing from facing to non-facing and back again. If you have overridden master page items, you'll get a second, non-overridden copy on all the even-number pages when that half of the master page is re-applied. This applies to master text frames which override automatically when text flows into them as well as to objects you manually override. I think you'll find this particular technique also only works for master text frames, whereas the Layout Adjustment should work in all situations where frames snap to guides.

  • How to specify Host Server for Replicated Virtual Desktops within RDVH Collection

    My question about how to specify Host Server for Replicated Virtual Desktops within Collection.
    I know there is a aswered thread on this, but that solution (wait a week) didn't work for me.
    So i have 2 servers, RDS01 and RDS02 with both 15 Hyper-V VM's and replicating to eachother. That part works fine.
    Now I wanted to make it easy for my users I build a Connection Broker: RDCB
    All went fine in that setup, but when I want to add the existing VM's from RDS01 and RDS02 to the collection it just radomly adds running ones and replicated ones.
    So both RDS01 and RDS02 have 15 VM's running and 15 replica's in stopped state, but when I look in my collection, it says RDS01 has 23 and RDS02 has 7 VM's. When I add them all, I see he wants to add a lot of stopped states replica's from RDS01 instead of
    the running ones from RDS02.
    How can I specify which one he should use? Or need I disable replication first, setup the whole RDCB collection thing, and then turn replication back on? Or does Hyper-V replication not work at all when used in a collection?
    I hope someone can help out here. I'm googling and trying for 1,5 week now, but i can;t get it right.
    Thanks in advance.

    Hi Robin,
    Thanks for your patience.
    After you removed Replication from 1 machine on both RDS01 and RDS02, please restart that machine. After that, please add this machine to the RD collection again to test how the issue goes.
    As we know, Hyper-V Replica provides asynchronous replication of Hyper-V virtual machines between two hosting servers. It is simple to configure and does not require either shared storage or any particular storage hardware. Any server workload that can be
    virtualized in Hyper-V can be replicated. Replication works over any ordinary IP-based network, and the replicated data can be encrypted during transmission. Hyper-V Replica works with standalone servers, failover clusters, or a mixture of both. The servers
    can be physically co-located or widely separated geographically. The physical servers do not need to be in the same domain, or even joined to any domain at all.
    Currently, would you please add only running state VMs to the RD CB collection? And would you please capture some screenshots of the error message? Thanks very much for your cooperation.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to make a CheckBox for a report parameter?

    Hi,
    How to make a CheckBox for a report parameter?
    thanx

    design ur parameters forms using forms and call ur report form there

  • How to remove the page break for CSV report

    Hi,
    I'm working on a rdf report and have an issue with page break.
    As usual there exits a page break in the report output. how do I remove it.
    work around: set Page break before/after : NO
    worked on margin re-size, how ever could not resolve the issue.
    Can any one help me on this.
    Thanks in advance.
    Thanks,
    Santhosh

    There are two ways to do this:
    1) If you want to remove and individual dimension from a presentation, you can hide the dimension. This can be performed directly from within QueryBuilder. Within the first section of Query Builder that shows the selected measures selected and associated dimensions, simply remove the required dimensions from the right dialog panel.
    2) To hide all page items within a presentation, simply add the following the property, pagingControlVisible="False", to the presentation tag in your JSP. For example:
    <orabi:Presentation location="Local Computer Sales/Products/KPI Sales Prior Period and Prior Year" id="BIProductKPIs_pres2" pagingControlVisible="False"/>
    Hope this helps
    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • How to change UTF-8 encoding for XML parser (PL/SQL) ?

    Hello,
    I'm trying to parse xml file stored in CLOB.
    p := xmlparser.newParser;
    xmlparser.parseCLOB(p, CLOB_xmlBody);
    Standard PL/SQL parser encoding is UTF-8. But my xml CLOB contain ISO-8859-2 characters.
    Can you advise me, please, how to change encoding for parser?
    Any help would be appreciated.
    null

    Do you documents contain an XML Declaration like this at the top?
    <?xml version="1.0" encoding="ISO-8859-2"?>
    If not, then they need to. The XML 1.0 specification says that if an XML declaration is not present, the processor must default to assume its in UTF-8 encoding.

  • Page Numbers in XML Report

    Dear Members,
    I'm using Oracle Applications V 11.5.10.2, Microsoft Office 2010 and XML Publisher.
    I've developed a XML Report.
    In this report I want to display the below fields:
    1/ Page Numbers
    2/ Report Date
    Can any one please let me know how to achieve this.
    Many thanks in advance.
    Best Regards,
    Arun Reddy D.
    Edited by: A4S on Jun 8, 2010 7:31 AM

    Hi,
    Thanks for your response.
    When we run the report if it has 5 pages, then on first page it should print 1/5, on second it should print 2/5.....on last page it should print 5/5.
    Similarly if it has 10 pages then on first page it should print 1/10, on second it should print 2/10.....on last page it should print 10/10
    Numbers should be generated automatically.
    Coming to the report date on the first page, I want to display the date on which this report has been generated.
    As usual many thanks for your help.
    Best Regards,
    Arun Reddy D.

  • How to specify URL in server.xml of Tomcat

    Hi Everybody,
    I need help.How to specify url in the server.xml.
    I developed one application in the Tomcat 3.3.I want to access the by entering uri(like:http:test.com).
    What are tags to enter in the server.xml.
    Right now i am accessing like:http://localhost:8080/Test/Login.jsp
    I want replace this with (www.test.com).
    This site will access from anywhere means it is going to live.
    So what are things have to do in the server.xml
    Please provide the solution.
    Regards
    Sridhar

    Hi Raktim:
    I looked around on SDN and it seems that i have found what you have been looking for.
    Kindly look at page number 24 and 25 of this page
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4d46fb8a-0b01-0010-9fbe-e4b96533b222
    P.S: Kindly assign points if your query is resolved, also close the question to assist other users narrow the search and find solutions

Maybe you are looking for

  • Two separate iTunes accounts on One PC running XP?

    We have one family PC running Windows XP and two kids who want totally separate iTunes accounts. (I guess there's no common ground between Metal and R&B.) Can anyone help an old dad pretend he's a computer-literate genius in the eyes of his teens? Th

  • How can I insert into a view cache???

    I have a problem in JClient like that: A form that have 3 JTable: - Table1 get data from UserTable in DB - Table2 get data from GroupTable in DB - Table3 get data from GroupTable in DB and 2 buttons: btnAdd, btnRemove. When I select a row in Table1,

  • How can I revert to password reminder bar rather than the notification that I now get which obscures a bit of the page

    The notifcation 'do you want Firefox to remember the password for ... on ... used to appear as a horizontal bar at the top of the page, below the tabs. It now covers part of the top left of the page as a type of 'call-out'. I want to remember passwor

  • How to define tablespaces in Oracle 10g and how put tables on tablespaces

    Hello, I'm having trouble to define the structure of tablespaces and how to distribute the tables/indexes/lobs on these tablespaces. Do you know some rules on how to define this? What I have until now: 1) Put table indexes in separate tablespace 2) P

  • User Defined Object problem

    I am Adding data of matrix using UDO data is successfully entered. but there is one problem that one extra blank row of matrix is also added into database. I can check by code that last row of matrix is blank or not but i am unable to prevent to get