Page numbers from XML output file

Scenario:
We have a situation here where we would need to create an XML document and a pdf file produced by an Oracle 11i EBS report. The XML document will need to have the number of pages the report (in pdf) has produced.
For example, if I have two sales orders in the pdf report. And, the first order has three pages and the second order has five pages, we would need to create an the XML document with:
<order>1
<page>3</page>
</order>
<order>2
<page>5</page>
</order>
Question:
Is there a way for us somehow to capture the number of pages for the order (using my example) in the XML template? We want to capture it and use it to populate our XML document.
Thanks
Kamalakar.G

Hello,
If you know at which xml (data) branch you should break for each page, and your format template is setup to do so, you should be able to predetermine your page numbers using node counting.
I have used node counting only one or two times myself and (at the moment) can not even find the report(s) I used it with (sorry, just way, way too many reports around here... :-( )
Anyway, it is pretty straitforward and is documented at:
http://www.ibm.com/developerworks/library/x-tipnodst.html#1
A google search on XSL and node revealed many other sites with examples as well.
(ex. http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/XML/Q_21875961.html )
Good luck and if I ever find one of the reports I actually used it in...I will post my code.
Scott

Similar Messages

  • Page numbers from deleted book file persist in document

    I have 4 documents that I needed to merge so I attempted to put them in a book file (which I am not at all familiar with how to use). I removed the documents from the book file because it was not doing what I needed it to do, but the auto section page numbers are persisting in the individual documents and I cannot get rid of them. For example I have page numbering starting on page 5, but pages 1-4 have page numbers 5-8 on them and I cannot get rid of them. (I can do this manually of course but would like to know why they are persisting)

    Do you mean the numbers physically appear on the pages and you don't want them there (if so, delete them from the master page(s)) or do you mean the numbering scheme is wrong (if so, check your section and numbering options)?

  • Page numbers from placed indd file not printing

    I've created a saddle-stitch booklet 1up in InDesign CS4. I've got auto page numbers on the master page, but when I place it in another InDesign document 2up for proofing, the page numbers are visible, but don't output either to an exported PDF or a PostScript file printed to be Distilled. Please advise.

    It's a bug. Anything on the master page of a placed INDD file just
    disappears...not good.
    Bob

  • Page numbering from an Excel file

    I would like to use a list from a csv excel file for page numbering.
    For example instead of having the pages numbered 1,2,3,4,5,6..... I want them to be labeled one, two, three, four, five six....
    I have tried using a data merge from the master page but that doesn't work when I have pages already in the document.  For each page it produces multiple pages. If I have 100 numbers in my page number list - one to one hundred - then 100 pages are produce for each page in the document producing hundreds or thousands of spreads.
    In short I don't have a clue what I'm doing, HELP.

    P Spier wrote:
    Put placeholder frames on the master page where you want the numbers to appear. Thread the one on the left to the one on the right. Apply a style to the paragraph marker that includes a "Start in Next Frame" Keep Option so only one number will appear on each page, even if the frame is larger than necessary.
    How do I
    Apply a style to the paragraph marker that includes a "Start in Next Frame" Keep Option ?
    P Spier wrote:
    Place the .csv file into the placholders by hovering over the frame area with the loaded Place Gun (the cursor should change to surrounded by parentheses), then hold down Shift + Alt (Opt on Mac) and click inside the frame area. Your list should autoflow to fill the frames on any existing pages, but not add any new ones. This will not work if you have pages with a different master interspersed, though.
    I manage to get that to work it took me a lot of time to understand that one has to load the frame in the main pages and not the Master page.
    I see one can only fill the frame if it is empty on the master frame. Is there a way that I can add symbles on the sides of the numbers so it looks something like the below example with out including the symbles in the excel file.
    One
      Two
    Three
    Four

  • How to calculate number of data records in a XML output file

    Hi,
    After generating a XML output file from Oracle Reports, I want to calculate number of records in the XML file. Is it possible? Specifically, I want to calculate number of records for a group variable ( organization_id, which I use for bursting).
    Thanks for the help.

    Thanks BIPuser. It is useful for me.
    I can use this xsl function within the template. However, I'm also looking to print this in the concurrent request log file. So, outside of rtf template, id there any PL/SQL based XML functions I can use to count the number of records.
    Thanks.

  • XML Output  File using PLSQL

    I like to generate an XML output file using the PLSQL. Can any one help with an example (using EMPand DEPT). I tried the forum but seems confusing to me...
    This is URGENT so please rush!

    Please refer to the following post:
    page 0 security: authorization scheme not applied to other pages

  • Manipulating "Exclude from XML Output" property at runtime

    Hi !
    Here's one for reports 10g
    Is there a way/function to manipulate the "Exclude from XML Output" property for attributes at runtime (say, in the after param form trigger ?)
    The srw.package contains functions to manipulate the "other 4" XML properties of an attribute, but not this one... ?
    Any help greatly appreciated...
    Cheers,
    Jens Rettig

    Hi,
    I posted a solution for this in the thread: Dynamically show/hide columns for DelimitedData output
    Thanks.
    Paul
    (If the link doesn't work then I re-post the solution from that thread).

  • Oracle Reports exclude from xml output

    Hej,
    How we could hide xml column or group programmatically in reports? manually we do this by setting
    exclude from xml output=NO
    But dont know how to do this dynamically.
    7Z

    Anyone who knows?

  • How to produce a list of URLs and page numbers from large website pdf file.

    Adobe Acrobat Pro version 10.1.4.
    I created a pdf file from an entire website which has 1062 pages.
    I was asked to produce a list of pages which should be updated or deleted.
    There is a URL on every page.
    What is the best way to mark the pages for update/deletion?
    Is there a way to automatically produce/export a list of a all URLs of these pages including page numbers and "feature" update/delete? Thanks for your help.

    Thanks for the reply. I refer to the page numbers visible under the pages when you click on in the icon "Page Thumbnails" on the top left side. The page numbers do not appear on the pages themselves.
    When saving the entire website bookmarks were created automatically as as well as the URL put on the left botton side of the respective page. They have always the same syntax like this: http://egr.istat.it/?q=node/285[06/062013 17:54:35]

  • How to generate PDF from XML output without XML publisher

    Hi,
    I am facing a problem while splitting the rdf generated XML output.
    Problem Description:
    I have a oracle invoice report which runs once every day (scheduled program). This report fetches me the invoices generated on that day and needs to be Mailed / Faxed to the customers.
    So i developed the report in such a way that it generates the output order by customers...since the output generated will be as one .out file in APPLCSF/out directory...the .out file needs to be splitted by customers, for which i have written a cursor which takes the data of the main query and submits that many requests as many as customers are there.....There is a possibility of having 1000 customers per day also. If that is the case then my main program will fire that many requests.
    Is there a different approach......any inputs are highly appreciated.
    Also, i am generating the output in XML format. Is there a way from which i can directly generate a PDF from that XML output rather using any other tool.
    Thanks & Regards,
    Lakshmi Kalyan Vara Prasad.

    Hi,
    with Reports Bursting and the defined "distributions" it's possible to have one report splittet to several parts with different receipients. Have a look at http://download-uk.oracle.com/docs/cd/B14504_01/dl/bi/B13673_01/pbr_dist.htm.
    With xsl-fo it's possible to create pdf out of xml ... that's what xml publisher is doing.
    Regards
    Rainer

  • What is the best way to preserve page numbers from InDesign to EPUB?

    I have a project where the source files are InDesign based - the final step before the product goes to print.  We want to bring this content to reflowable EPUB format, but we need to keep the print page numbers in order to support citations.
    Has anyone faced this type of challenge previously, and what was the approach pursued?  While an InDesign 2014 export to EPUB Fixed will preserve the page numbers, there will be a lot of cleanup required to make these files reflowable again.
    Andre

    Hi Douglas,
    I agree that the common practice of removing the page numbers works with regards to trade content (fiction, non-fiction, magazines, etc) where pages generally are to communicate how far you have 'travelled' in a particular title.  With reference works, however, this particular type of metadata can have a greater meaning - communicating to other individuals the location of a reference in order to allow them to see the reference in its original context.  It becomes a way of locating relatively precise locations within a work that is being referenced.
    Currently, and we can expect for some time, the original print content will be the authoritative version that is referred to, or cited, as a means of communicating the exact location of a specific reference to another individual.  Although evident in many industries, perhaps this arises most commonly in legal texts, where a lawyer as part of an argument or a judge in writing a decision will cite a text reference by title, volume, possibly edition, date/year, etc. and, ultimately, the page number - which in the end is just another piece of metadata relative to the text that appears on that particular page.  In order to create digital copies of these types of texts that can still function relative to the print authority, an accurate page number that corresponds to the print needs to be available somewhere in the texts.  (This is true both ways, by the way - both in terms of following a cite to a specific location within the content; and citing a specific location within the content).
    For many publishers, InDesign will be the final, what I would call 'exportable' format that can maintain a certain degree of information about the context of the source content and will have page numbers represented that precisely reflect what will be found in the final print version.
    I have some ideas on how I would like to present this in a reflowable digital version (and reflowable text for this type of content is desirable for all the reasons it would be elsewhere - adaptability to screen size, ability to resize/change fonts for different reader experience, etc). And the new EPUB fixed export function will allow me to preserve the page numbers and through some programming I can get to a point where I can isolate the text that corresponds to a specific page number from the InDesign exporta manual solution would not be an improvement), but with a somewhat 'cleaner' export of the text of the content, where the precise fixed formatting is not so important.
    The perfect solution would be to allow page numbers to be preserved within a 'hidden' tag in the EPUB reflowable export - so that the content of each page would be preceeded by an <a id="Page_75" /> tag, with words that are hyphenated belonging to the page on which they started.  Note that the use of such a tag would also go a long way towards supporting the call for a "page-list" and hyperlinks as you've described them above.  If the publisher wanted to make use of such a tag, it would be available to them - otherwise the tag would be ignored by publisher and eReader software alike.
    Andre

  • ns0 Prefix in XML output file

    Dear Gurus,
    I am working on a scenario where vendor master is triggered from  SAP-XI--FTP.
    when i am posting the vendor master on FTP.. i am getting
    the xml output with prefix as below
    <ns0:VENDORID>0000100000</ns0:VENDORID>at each element in vendor master xml file.
    Instead of  <VENDORID>0000100000</VENDORID>
    could anyone tell how to fix this prefix at each level.
    Does i need to add any module in file receiver adapter..or any patch i need to apply ..
    we are on SP9 PI 7.0
    Kind Regards,
    Vijay

    Hi,
    I tryed as per blog earlier ..it is not working
    i am using file receiver adapter...any other solution to fix this.
    Regards,
    Vijay

  • ** The XML output file is unreadable in SAP ECC 6.0 (Working fine in 4.6c)

    Hi Friends,
    I am working in SAP Technical upgrade Project from 4.6C to SAP ECC 6.0. In 4.6c one Z program is there, the output of Z program is to generate output XML file in the application Server. We checked and downloaded that the output file is readable and the XML is valid.
    When we run the same program in ECC 6.0. (after unicode check & changes done), the output xml file is generated and it is in unreadable form. (XML contains some machine characters). When we open the XML in Altova Spy, it shows the error XML is invalid. The erorr is 'character #x3F3C is grammatically unexpected'. 
    In 4.6c, they used the encoding <?xml version="1.0" encoding="ISO-8859-1" ?> . We changed the encoding to UTF-8 in ECC 6.0 since we are doing unicode conversion.  (
    <?xml version="1.0" encoding="UTF-8" ?> ). After this change also, the output file is not generated correctly. It is unreadable form. (Some Machine Characters).
    Friends, What could be the problem ? . Can you help me to identify this problem.
    Kind regards,
    Jegathees P.

    I troubleshooted that, the reason is that conversion of X to C (Hexadecimal to C) in the ASSIGN statement is not working correctly in ECC 6.0. Then, we replaced the code with our custom Function Module to convert xstring to string. After this, we got the XML correctly, readable and well-formed XML.

  • How to Generate XML Output file

    Hi,
    I want to print sample output XML file.
    I got this link 362496.1
    An output file can be generated via the Preview functionality available under the XML Publisher Administrator responsibility. Navigation path :
    1. Login to the application as SYSADMIN
    2. Responsibility: XML Publisher Administrator
    3. Function: Templates
    4. Select a Template for which a Preview Data file has been uploaded in the past.
    5. Click on the Preview icon
    6. Save the PDF to the client PC
    7. Determine the version either by the above instructions OR by provide the PDF file to Global Customer Support.But in #4 I can not populate any values to search, even if I put all %.
    How can I get a valid search?
    Thanks a lot,
    Ms K

    Hi;
    AFAIK if you prepare template in XML publisher than you can take output as pdf, by the way you can take xml output too
    Please check user guide:
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLP5.6.1UserGuide.pdf
    Oracle XML Publisher and Oracle Reports
    Oracle XML Publisher and Oracle Reports
    Also Please check below thread:
    XML output for pdf concurrent program
    http://www.quovera.com/whitepapers/downloads/xml_oracle.pdf
    Generate XML output using DBMS_XMLGEN.getxmltype and not from rdf
    http://www.orafaq.com/forum/t/35204/2/
    Hope it helps
    Regard
    Helios

  • Build Reports from XML output from Reports

    Hi,
    I was just wondering if it is possible to build reports from output in XML format, originally generated by Oracle Reports.
    The XML output produced by Reports is stored in a database for further processing.
    TIA
    Hien

    Hi Hien
    If I have understood this right, you need to create report in XML format from an XML Report Definition File. From the Builder, Generate to File from the File menu and choose XML format for the output.
    Remember that XML output from Reports is Data driven and faithfully reproduces the Data Model. It is NOT layout driven.
    Regards
    Sripathy

Maybe you are looking for

  • Value getting truncated in display while using F4IF_INT_TABLE_VALUE_REQUEST

    Hi.,     I am using FM F4IF_INT_TABLE_VALUE_REQUEST to display F4 for a Particular field . But while displaying a field(ISBN) with 13 characters is displayed only with value of 8 characters only. kindly advice. IT_FT-TABNAME = 'ZC002_ESTNOF4'.   IT_F

  • Here Drive + Beta (Navigation region issue)

    Hi all. Well, long story short , i had a Lumia 800 until march and recently bought a Lumia 920, so i gave the 800 to my sister, till now all is good except for the shocking news i discovered yesterday when tried to navigate to a destination and here

  • Transfering video

    Is there a way to transfer video from a vcr or camcorder to the computer to then turn into a dvd? macbook   Mac OS X (10.4.6)  

  • How many systems can be accessed to a single SQL Server?

    I am a C# developer. I am developing a C# application. I need to install application in all the client PC's and I am planning it to install SQL Server in a single pc or server. I am planning to give the connection to sql server from the client pc's.

  • Publish SFTP with UAG

    Hello Is it possible and if so, can anyone provide direction for publishing an SFTP server with UAG? I'm essentially looking for direct proxy with no UAG portal authentication. Thank you!