How to not repeat data in XSL-FO

Hello, All,
Thank you for taking the time to read this.  Hopefully, I can adequately convey to you what the problem is.
XSL-FO is 1.0
APEX Listener is 2.0.5
APEX 4.2.4
Altova StyleVision 2014 EE
Using Altova StyleVision, I have created an XSL-FO file that gets uploaded to APEX to create a Report Layout for a Report Query.  It runs okay in that data is returned.  However, formatting the data is the problem.  Here is plain representation of how the data appears in the report now:
PRINT#  TITLE  DATE       TEXT
23      Job1   01-JAN-14  Text line 1
23      Job1   05-FEB-14  Text line 2
23      Job1   02-APR-14  Text line 3
47      JobQ   22-MAR-14  Other text line 1
47      JobQ   15-JUL-15  Other text line 2
I need it to look like this:
PRINT#  TITLE  DATE       TEXT
23      Job1   01-JAN-14  Text line 1
               05-FEB-14  Text line 2
               02-APR-14  Text line 3
47      JobQ   22-MAR-14  Other text line 1
               15-JUL-15  Other text line 2
For some reason, I can't seem to get the repeating data to be hidden.  Keep in mind, grouping was not available until 2.0, and I need to use 1.0.  This is, overall, a complex report, so coding by hand is probably not possible.  How can I get Altova StyleVision to do this?  I understand this isn't an Altova forum.  I tried that resource already with no luck.  What I'm wondering is what concepts or syntax in XSL-FO do I need to understand to get this to work?  And going to W3 Schools didn't work for me, either.  I just can't seem to get my mind wrapped around this for some reason.
-Seth.

Is an XSLT used? Remove duplicate values using XSLT.
http://www.dpawson.co.uk/xsl/sect2/N2696.html

Similar Messages

  • How to not repeat the column values if repeated on next line and so on..?

    Hi all,
    The XmlP template that is designed gives me the output as follows :
    COL1 COL2 COL3 COL4 COL5 COL6 COL7
    abc 1 1000.00 10.00 95.00 695.00 cad
    abc 2 1000.00 100.00 95.00 695.00 cad
    abc 3 1000.00 100.00 95.00 695.00 cad
    But my requirement is as follows :
    COL1 COL2 COL3 COL4 COL5 COL6 COL7
    abc 1 1000.00 10.00 95.00 795.00 cad
    - 2 - 100.00 - - -
    - 3 - 100.00 - - -
    Note : "-" indicates blank column values (gaps are being filled)
    How do I not repeat the column values if repeated?
    Please let me know if you have answer for it?
    Thanks in Advance
    Munna

    Iam trying to design the xml publisher template using xmlp template builder.
    My requirement is :
    For a receipt number, I have receipt amount, applied amount, unapplied amount and on account amount. And for each receipt, there can be multiple applied amount ( as the receipt can be applied multiple times), but the unapplied amount, on account amount and receipt amount is single.
    By using the logic as said above from http://blogs.oracle.com/xmlpublisher/2007/04/13
    Iam getting the output something like this:
    Receipt Number| Receipt Amount | App Amount |UnappAmount|OnaccountAmount|
    111-b|249.28|249.28|0.00|0.00|
    1110|1,000.00|10.00|95.00|795.00|
    1110| -|10.00|-|-|
    1112|1500.00|1,271.02|-|-|
    1112|-|228.98|-|-|
    My requirement is to go get something like this:
    Receipt Number| Receipt Amount | App Amount |UnappAmount|OnaccountAmount|
    111-b|249.28|249.28|0.00|0.00|
    1110|1,000.00|10.00|95.00|795.00|
    1110| -|10.00|-|-|
    1112|1500.00|1,271.02|0.00|0.00| ---> here lies the difference
    1112|-|228.98|-|-|
    How do i check the duplicate of the column values only for a receipt number??
    Because as for receipt no. 111-b the unapplied amount and on account amount is 0.00, the the unapplied amount and on account amount for receipt number 1112 is getting hided( because its a duplicate) . In reality, it should be 0.00 and any other line for that receipt number (1112) should be hided. except for the applied amount.
    Note We can see that last 2 columns in the last record( for receipt number 1112) is getting hided that is as expected but for 4th record the unapplied amount and on account amount should be 0.00 respecively.
    '-' indicates hided value
    Please help.
    Thanks in Advance

  • How do I add one event to multiple, but not repeating, dates

    I routinely need to add single events to 10 to 20 dates at once. These dates rarely line up in a repeating sequence. For instance I may need to schedule "appointment with John at 1pm" on M,Tu this week; W,Thu,Fri next week; M,Thu the following week. And "appointment with Jane at 10am" on M this week; Tu next week; Thu the following week.
    I know I can copy and paste identical text in one at a time on each date but this is tedious.
    Is there an app or trick I can use to do this efficiently? Previously I used an old version of Calendar Creator in which I could create an event and then push a toggle switch on all the days across a month in which the event would reoccur.
    Thanks! I'm new to Mac and iCal.

    Hello,
    Welcome to Apple Discussions.
    1. Make the first event in iCal when and how you want it.
    2. If you are not in month view, switch to it.
    3. Highlight the event in the calendar view and press Cmd-C (copy).
    4. Click on the blank area on a day you want to copy to.
    5. Press Cmd-V (paste).
    6. Repeat steps 4-5 for all needed dates.
    Best wishes
    John M

  • How to not choose data which bisd-zuonr is blank? Please help!

    Hi,
    I have problem in not choosing the bukrs (compay code) when the bisd-zuonr ( sort key )is blank. Please help!!
    Sorce key----
    LOOP AT t.
        AT NEW bukrs.
          CLEAR anz_dl.
          CLEAR htext-anzahl.
          CLEAR htext-datei.
          htext-text1 = ' records writen in file '.
          CLEAR p_pfad.
          CONCATENATE
              i_pfad
              'CU_CC'
              t-bukrs
              sy-datum+6(2)
              sy-datum+4(2)
              sy-datum(4)
              sy-uzeit
              '.txt'
         INTO p_pfad.
          CLEAR outtab.
          REFRESH outtab.
          REFRESH: gt_outalv.                                  "INS MG020207
        ENDAT.
       IF t-shkzg = 'H'.
         h_betrg  = t-wrbtr * -1.
       ELSE.
        h_betrg  = t-wrbtr.
        h_dmbtr  = t-dmbtr.
       ENDIF.
        s-filler1 = s-filler2 = s-filler3 = s-filler4 = s-filler5 = ';'.
        s-filler6 = s-filler7 = s-filler8 = ';'.
        s-filler9 = s-filler10 = s-filler11 = s-filler12 = s-filler13 = ';'.
        s-filler14 = ';'.
        s-belnr = t-belnr.
        IF t-xblnr NE space.                                    "WD041005a
          s-xblnr      = t-xblnr.                               "WD041005a
        ELSE.                                                   "WD041005a
          s-xblnr      = t-belnr.                               "WD041005a
        ENDIF.                                                  "WD041005a
        WHILE s-xblnr(1) EQ '0'.                            "INS MG130606
          SHIFT s-xblnr LEFT.                               "INS MG130606
        ENDWHILE.                                "INS MG130606
    *>>>> " SKIP BLANK ZUONR
        IF bsid-zuonr EQ space.
        CONTINUE.
        ENDIF.
    *<<<< 
    endloop.
    source code----
    How to skip the bukrs (company code) when the bsid-zuonr = space?

    Hi,
    What is bsid here.
    Pls. paste the required code here.

  • Syncing iPhone (how to not loose data?)

    I have just reinitialized my disk I was using to sync to my iphone, and completely reinstalled a fresh system. Now I'm trying to get my iphone data off my phone (like contacts) and onto my computer, how do I do this without loosing them? Can I sync my mac with my iphone and have the new mac get the iphone data and have none of it deleted off the phone?
    If I loose this data off the phone I will have lost a great many things I need.

    Yes, you can. Make sure that your address book and calendar have at least one new entry in them.
    When you sync the iPhone for the first time it will prompt you to either override the iPhone or Merge the information. Select merge.

  • How to import repeated data cells with XML?

    Hello!
    I have some little troubles with the XML import functionality.
    Let's consider a billing table:
    Item
    Price
    Tax percentage
    VAT
    Total price
    Item description
    $80
    20%
    $20
    $100
    Total
    $80
    $20
    $100

    Yes, I just missused Ctrl+S, and I posted my question too early. Then I lost the update of my question
    I'll have to re-type the whole stuff..
    Well, here is a shot version of the question; this is what I get when importing XML:
    Item
    Price
    Tax percentage
    VAT
    Total price
    Item description
    $80
    20%
    $20
    $100
    Item description
    $80
    20%
    $20
    $100
    Item description
    $80
    20%
    $20
    $100
    Total
    $80
    $20
    $100
    The XML structure repeats the cells. But, in InDesign, new lines are not generated accordingly: extra cells are added to the last cell of the line...
    Thanks

  • How to repeat data with Data Merge?

    How can I repeat data in the same text block with Data Merge? I have an Excel file with a class schedule that I need to import but when I use Data Merge, it wants to create a new page for each line. I want to keep the data in one text block per page and use Data Merge so when I get the new Excel file, it will be easy to update. This seems like it would be a simple thing to do, but I can't find the answer. Can anyone help?

    Time for me to sound like a broken record. Data merge could be used for this but I don't think it was ever intended for such recurring publications like you are making. There will always be a lot of repetitive work that always will need to be performed after each update.
    Instead, I think you should read up on using an XML workflow. Now, the XML out of excel needs transformed to be viable inside ID. But that is reasonably easy and can be done in an XML editor or upon importing into ID. Though it has been set aside for a time, I am making an example of a college course catalog for a customer. I'll see if I can finish it off by the weekend. If so, I'll post it to this thread.
    Take care, Mike

  • Repeat data in address book notes field

    I have certain address book cards that have up to 50 duplicate entries in the notes fields. I read an archived post that had this as the beginning of how to troubleshoot the problem.
    It would be interesting to see whether it is storing it duplicated, or merely displaying it duplicated. Run script editor, and paste in this:
    tell application "Address Book"
    note of person "Joe Smith"
    end tell
    Change the Joe Smith to one of people whose cards exhibitit the problem, run the script, and tell us if the duplication shows.
    AK
    I followed this instruction and it only showed the data once, so I assume that means it's "merely displaying it duplicated." Does anyone know how to get rid of this repeat data once and for all?
    Thanks

    Hi Bruce,
    I was at the Apple Store in Bridgewater, NJ yesterday. Of course the genius manager knew the answer in a New York second! I felt so stupid!
    Just go to the preferences of Address Book - click "Vcard" at the top and check the "export notes" pref.
    How could we NOT know that!! Nothing like the "genius's" at Apple!
    Larry

  • How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    How can I restore my data from iCal? I didn't make any backup, but I use  time machine with an external HD. I deleted iCal when I deleted my gmail account. I have tried to restore, but I can only restore the iCal software and not the data.

    So what is your question?
    If you forgot your encryption password:
    Warning: Make sure it's a password you will remember or write it down for safekeeping. If you encrypt an iPhone backup in iTunes and forget your password, you can't restore from backup and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and chooseset up as a new device when iTunes prompts you to select the backup from which to restore.
    The above comes from here:
    http://support.apple.com/kb/HT4946

  • How can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?

    Hello, all,
    how can I enter data in an input schedule on a member in the EPM Add-On that is not a base member?
    E.g. I want to implement a top-down-planning scenario and I have the following hierarchy:
    Europe
         Germany
         France
         UK
         Spain
         Italy
    How can I enter a value on Europe in an input schedule in order to allocate this value afterwards?
    Thanks in advance and best regards
    Gerd

    Gerd,
    It should be something like below -
    EuropeInput
    Europe
         Germany
         France
         UK
         Spain
         Italy
    EuropeInput shall be kept out of hierarchy and should be a base level member. Users will enter the numbers in this member. In your script logic, you will make use of this member to allocate the data in Bas(Europe) i.e. Germany, France, etc.
    Effectively, after allocation the same data will be rolled up to Europe.
    Many top-down planning would use such work-around as BPC doesn't allow writing to parent node.
    Regards,
    Ashish

  • How can I display date+time and not the point number in excell?

    Hi everyone,
    Could anybody tell me how I can save date + time to a file, so that  I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
    My program sets in (ox) the point number and not the date+time....( although  date and time are written correctly in the column...)
    Any help would be great,
    Thanks,
    regards,
    Marc

    hi there,
    excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
    best regards
    chris 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer

    how do I make it so that the one computer that has the main itunes account on it be used on other computers, when it comes to backing up phones and not deleting data off of phone that isnt on that computer itunes becasse its all on the one main computer. Baiscally the problem is that one comuter and one account has always been sued for eey persons itunes. Now if we want to be able to backup and use itunes on our own computers fro our iphones and such, how will all he data that is on our phones not be deleted once its plugged into a new computer? Also, is theere a way to get all the stuff on thw current itunes onto each computer, via differtn account name?

    option discovered in preferences. Really this and any feature that moves deletes or edits a users data should as far as possible be OFF BY DEFAULT. It shouldn't by default and without the users specific say do this dangerous and unnecessary thing without even letting the user know what it's doing!!! And then cause me a few hours (as i'm new to mac) searching for the option so as to switch it off. If i hadn't noticed the status cage declaring that it was copying files then i might never have twigged that this insane thing was occurring. And if i hadn't of noticed i would have been left maintaining the contents of the folder i copied the files to, the folder which as far as i was informed and so believed was also the location of the music files i was playing. How does Apple justify this 'genius' piece of software non-design? Surely it will hurt no one if this was off by default for new users - overall at least i dare say it would cause a lot less distress in the future for the unsuspecting public at large. Thanks for the support.

  • How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade?

    Dear wise & wondeful people:
    How can I get missing contacts, notes, calendar dates and reminders that are just on my old iphone onto the iCloud for transfer to my new iPhone upgrade? Half of my contacts, notes, ect. were on my iCloud so have happily moved to my new iPhone but the rest are completely resistant. For example, on my iCloud I have 14 missing contacts starting with the letter A alone, however they are happily viewable on my old iPhone 4S and won't budge over into the iCloud.
    There are also 3 notes missing yet still acessible on my onld iPhone 4S, the list goes on.
    Your help would be most appreciated. Thank you so much.
    BCHR

    Hi BCHR,
    If you are having issues transfering your content from your old iPhone onto iCloud so it can be transfered to your new iPhone, you may find the following articles helpful:
    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device
    http://support.apple.com/kb/HT2109
    iCloud: Troubleshooting iCloud Contacts
    http://support.apple.com/kb/TS3998
    iCloud: Troubleshooting iCloud Calendar
    http://support.apple.com/kb/TS3999
    iCloud: Notes overview
    http://support.apple.com/kb/PH12081
    Regards,
    - Brenden

  • How do you get iPhoto albums on to an external HD and not by date?

    I really hope someone can help me with this.
    I don't know if I am missing some really easy step, but I recently bought an external 100GB FireLite drive to back up all my photos and music. The problem is that when I drag the albums on to the hard drive an error message comes up after a while, this even happens if I try to drag one photo. However, if I drag the files in date format, i.e 2001, 2002, 2003 etc.. then the files are copied over. However, when I try and open these on the new drive, they come up in Preview not in iPhoto. I am wondering if anybody else has had these problems and if so, how did you manage to back up your photos on an external hard drive as the albums are shown in iPhoto and not in date format.
    I'd be grateful for any advice.

    Hi Saint tommy,
    -when you drag Albums to the hard drive you are probably running into the problem of having images in the Album that have the same file name. This happens when your camera resets it's file numbering to 1 each time you clear the card. Make sure your camera uses continuos numbering. I am not sure why that would happen dragging one photo.
    -when you drag the photos in date format, the images are still in separate folders as to date of creation, so you will not have the same problem because they are in separate folders.
    -When you open them up on a separate drive, they will open up in Preview because you did not copy the Entire iPhoto Library folder. If you did copy the entire iPhoto Library folder you would have to tell iPhoto where this folder is so it can open it.
    When you launch iPhoto holding down the Option key this is the window you will get.
    Create a new library or choose a library to open
    Choose to create a new library if that is what you want to do, or choose a library to open by clicking the "choose" button.
    If you click the "create library" iPhoto will open with a brand new library for you to import images to. If you click "choose" then you will get this window.
    Open library
    Navigate to where the library is on your computer, highlight it, then clcik the "open" button.
    Now the "how to for backing up the iPhoto Library folder"
    Backing up your iPhoto Library
    1. Burn the iPhoto Library folder in the Finder to a CD or DVD
    This method will give you a burned iPhoto Library folder that can be copied back to your computer to replace a damaged library. You can also use this method to backup an old library when you want to create a new Library to use as your current library.
    insert a blank CD into your internal or external CD-RW drive and copy the iPhoto library to the CD icon on your desktop. When you drag the CD icon to the Trash/Eject button in the Dock, you are given the option to burn the CD. Click Burn and the CD is created. To burn a DVD backup of your digital images, use a DVD and a SuperDrive-equipped Mac
    The easiest way to burn an iPhoto Library folder in the Finder that is larger than 4.7 gig to fit on one DVD is to burn sections of the folder.
    Drag the iPhoto Library folder to the desktop
    Double click the folder to open it.
    Drag each Year folder to the desktop.
    You should be left with the iPhoto Library folder containing all the data files, and the Year folders.
    Combine whatever year folders that amount closest to a DVD burn size on one DVD. Make sure that you have burned all the Year folders, then the iPhoto Library folder with all the data files.
    If you ever need to use this backup, insert the DVDs into your computer and copy the folders to the desktop. Put all the Year folders back into the iPhoto Library folder. Then put the iPhoto Library folder back into the Pictures folder.
    2. Copy the ENTIRE iPhoto Library to an external drive formated for a Mac. Do not use this as your only back up as the external can also go bad.
    3. Copy the ENTIRE iPhoto Library to your iPod in disk mode
    4.Creating your own CDs and DVDs for viewing in iPhoto
    This method is a great way to back up Albums of older photos or even your entire library if it is small enough to fit on a DVD. This method will give you a library that will mount within iPhoto in the source column to be viewed. To import any images from this library they need to be dragged into your library in the source column.
    If you just want to backup the images in your library:
    1) Within iPhoto select the images, albums or rolls you want to backup. Go to Share>Export and export them to a newly created folder on the desktop. Follow the directions in the next link.
    Creating a CD or DVD to be viewed in Windows or by a photo processing company
    Now the "how to copy the iPhoto Library to an external and have iPhoto use that library."
    Copy the ENTIRE iPhoto Library folder to a Mac formatted external drive.
    Launch iPhoto while holding down the Option key.
    At the prompt, choose to open another library.
    Navigate to the library on the external and highlight it.
    Hit the "open" button
    iPhoto will open the library on the external and from now on will use this library to import images too. This will now be your working library. Make sure everything is working correctly and everything is fine in the library.
    You can then delete the library on the internal if you wish.
    Hope this helps!
    Lori

  • I lost my Iphone and I stored my photos on icloud, how to get those data back? My PC also not working.

    I lost my Iphone and I stored my photos on icloud, how to get those data back? My PC also not working.

    Welcome to the Apple Community Rahul.
    Photos in photo stream...
    You can log into your iCloud account on another computer or device and enable photo stream to see your photos. You should do this as soon as possible because photo stream in the cloud only keeps photos for 30 days and each day you delay, you will lose another days photos.
    Photos in the camera roll...
    If you kept a back up of your device you can use it to restore to a replacement device, this will restore all of the photos in your camera roll and isn't time limited.

Maybe you are looking for

  • Problem with WTK2.5.1 in Solaris 10

    Greetings, I've installed Wireless ToolKit 2.5.1 in Solaris 10 OS and after successful installation when I run the application from path /WTK2.5.1/bin/ktoolbar it gives me error like: ktoolbar : MMAPI_GM_SOUNDBANK=/WTK2.5.1/lib/soundman.dls is not a

  • A PC as external hard drive?

    Hi forum. i have a brand new Macbook with a 60 Gb hard drive that is going to be full pretty soon. i also have the last PC i used before switching to apple that still runs well. now the question is: can i use the PC as an external hard drive (the Mac

  • PO PRICES PICKED AS DEFAULT FROM

    Sir, Ply help me in the following Setting done for Picking Prices in PO. I want to know whether while making PO prices are picked from inforecord or from last po. where can i find these setting. regards amey

  • Slow start up and shut down of iMac

    My four months old iMac 21-inch is getting slower, which is evident from longer time requiring for start up as well as shut down. I understand that Mac OS has built in facility for taking care of such maintenance tasks as defrag, disk clean, which we

  • Text and aspect ratio for creating it in Photoshop

    Hi there, I am doing something that will be displayed via a laptop. I am making titles and text blocks in photoshop, because the text feature in FCE looks quite bad with scrolling or animated texts. I am confused about the aspect ratio. For something