Repeat the data n times

Hello

I stuck in a number of "simple".

I want to reiterate my time n given according to a value in my xml

With

rowset <>
< ROW >
< COMPONENT > is < / ITEM >
< NUMBER > 3 < / COUNT >
< / ROW >
< ROW >
B < ITEM > < / ITEM >
< NUMBER > 5 < / COUNT >
< / ROW >
< / LINES >

I want to get

A
A
A
B
B
B
B
B

My approach to use

<? for-each: LINE? >
<? for - each:xdoxslt:foreach_number($_XDOCTX,1,COUNT,1)? >
<? Agenda? >
<? end foreach? >
<? end foreach? >

fails, because the QUESTION is not displayed (like <? / ITEM? > and others).

Concerning
Rainer

LON
You can declare the variable of context and take the context of the line in and do what ever you want to do.



--

Tags: Business Intelligence

Similar Questions

  • Repeat the data each time, but with a different Description


    Hi gurus

    I need your help once more. I have the following data.

    Data

    WITH folders

    (

    SELECT 100 id1, id2 200, 300 id3 FROM Dual

    UNION ALL

    SELECT 200, 200, 300 OF THE double

    UNION ALL

    SELECT 10, 200, 300 OF THE double

    )

    Select * from documents;

    The query result

    ID1 ID2 ID3

    100 200 300

    200 200 300

    10                  200                300

    Desired output

    Id1 ID2 ID3 Description

    Car 100 200 300

    Car 200 200 300

    10                  200                300               Car

    bike 100 200 300

    bike 200 200 300

    10                  200                300               bike

    100 200 300 cycle

    200 200 300 cycle

    10 200 300 cycle

    ---------------------

    Rule: -.

    All lines display the records online repeats against car, bike and Cycle.

    I know if I can use the union then I can achieve my goal, but I wonder if someone suggests another method instead of the union.

    Thanks in advance...

    It is is done with an unrestricted join, Cartesian join said.

    WITH
        Record(id1, id2, id3)
    AS
        (
         SELECT 100, 200, 300 FROM Dual UNION ALL
         SELECT 200, 200, 300 FROM Dual UNION ALL
         SELECT 010, 200, 300 FROM Dual
        ),
        Item(Description)
    AS
        (
         SELECT 'Car'    FROM Dual UNION ALL
         SELECT 'bike'    FROM Dual UNION ALL
         SELECT 'Cycle'    FROM Dual
        )
    SELECT
        Record.id1,
        Record.id2,
        Record.id3,
        Item.Description
    FROM
        Record,
        Item;
    

    Basically, each record in the FROM clause is included (except for the exclusion of the WHERE clause). When there is more than one table listed in the FROM clause, each record in one TABLE is associated with each record in TABLE b, creation (a * b) records. WHERE clause is typically used to limit the records with the records in the TABLE b correspond to a criterion of the TABLE has.

    [mug shot] It's one of the thing mask ANSI join syntax, leaving many without a clear understanding of the basic principles of the FROM clause. [/rant]

  • Windows Media Player 11 Date added function - please stop repeating the date for EACH file.

    I have been using Media Player 9, decided to upgrade to Windows Media Player 11, and the only thing I can not stand on Player 11 is how it sorts Date added media files.  In Player 9 when I chose the column Date added, the program would list all the files on a given under a SINGLE date.  With Windows Media Player 11 it lists EACH file with a date so that instead of see Tuesday, December 14, 2010 once and then listing all of the files under it, I see Tuesday, December 14, 2010 about twenty times.  I download podcasts once a week and dump it on my phone, but it's a worry now.  Is it possible to stop Windows Media Player 11 to repeat the date again and again and force him to the date that the list only once?  Think back to Player 9.  Alex

    Hi Alex103,

    It's design in Windows media player 11 and it is also included in Windows Media player 12.

    However, you can uncheck this option, follow the steps below:

    a. open windows Media player

    b. right-click on one of the sorted column

    c. click Choose column

    d. uncheck data added

    With regard to:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Setting the date and time on TX

    My battery ran down and now my default time setting repeatedly for 2005.  I know there is another way to set the date and time other than through the 'preferences' option, but I forgot.  Can anyone help?

    Hello

    You can set the date and time under prefs, but DO NOT tap on today

  • Merge data multiple files problem (repeats the data)

    I'm tring to creat some cataloge pages with 4 images, codes, etc. by page dicritons.

    I have an excel sheet that I have saved in a CSV file to a data source. I have a page with the first record in the superior room and enogh to repeat the record 4 times on the page. When I do the merging of data I'v selected several records per page and put in all spacing and the settings I want.

    Everything seems fine when I click on the multiple reports prevew but when I do the actual merge most mergers copy the same data with only a few records using different data. It generates the right number of documents and pages with 4 records per page, but repeatiing the same record, with the exception of 2 files that were different before returning to the repeating record. Also the record that she repeats is not the first record on the list, it's the 6 of 16.

    I use the version of Indesign CS5.

    One has any suggestions to make it work corrctly or is it a fault wiyh CS5?

    Are you by chance using Preview, then going back or anything like that before running the merge? Another user seems to have identified a bug concerning the box preview last week. Do NOT check that box seems to work very well, as did go directly to merge after checking the box, but every thing has a problem.

  • Can I change the date and time on my account?

    Is there anywhere on this site where I can set the details of the date and time?

    When I posted a recent issue, the date and time were incorrect IE not my country date & time.

    Thank you

    Sylvia

    PS Sorry if this is the wrong place to post this question, not that the possibilities of passage are really there?

    The date and time are universally on us Pacific time zone. You can't change it.

  • How long does take to set up the date and time

    How long does take to set up the date and time

    Less than a minute.

    Settings > general > time zone > set automatically

    If this does not work, try the help in this support article > If your Apple TV will stop to display date and time on startup - Apple Support

  • How do you know the date and time of synchronization in the windows version?

    Where can I see the date and time of synchronization?

    Is there a toolbar button in the Palette to customize. Move this button to a toolbar or in the Menu box open. When you hover over this button, a ToolTip will appear with the day of the week and time of the last synchronization event.

  • I want the date and time to stop printing on the bottom of my print outs

    The date and time printed at the bottom of print all. It doesn't matter if it's Firefox, IE, my emails, or even a word document. I tried to remove the header/footer, but because it prints on everything and everything I print, I think it might be a desktop definition...? I am running Windows 7. Help, please.

    Can go you to your devices and printers on your Start Menu and check your settings in your printer? You're right, it could simply be that a bizarre is activated he forced a timestamp on all your printing.

  • As of the 31 version, why is there still no option of Thunderbird to insert the date and time in the message that you write?

    As of the 31 version, why is there still no option of Thunderbird to QUICKLY insert the date and time in the message that you write?

    Literally, saw this option very well needed - and opportunity-"promise" for three years now, and even if there are only one or two formats that could be used, at least the option is there.

    It seems that only is to bind a Macro, and the tool to Thunderbird and do it this way.

    Joe Rotello
    [email protected]
    Skype: joerotello

    If the installation of the add-on of TimeStamp is unacceptable for see you if there is a related add-on that you that you already might have managed to convince author to add your function. The Add on more for example has many variables that can enter the body of the message that get automatically replaced with the appropriate data when you merge a message.

  • is it possible to display the Date and time in the address bar or a clock window constantly

    I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
    I added the big clock background Add-ons, but it is visible to new tabs.

    Badly looking for help and it will be really appreciated...

    Try this extension:

  • I want to change the file name format "save under" so the date and time are first.

    When I select a few emails and then select "Save as" to keep a copy on my computer, the name of the file that is created has the date and time at the end of the file name of the email.
    Sample "save under" file name: "Habitat Follow Up - Bryan ([email protected]) - 2011-11-15 0744.eml.
    Is it possible to change the structure or format of the file name if the date and time of the email are initially the file name?

    Try ImportExportTools and customize the format of the file name in the options.

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • Automatically set to the Date and time does not

    Date and time settings on my iPad Air set them automatically does not work? When I turn it out it will allow me to choose a city (Knoxville).

    When I turn it on with (location settings) it just turns and turns?

    Any ideas?

    Hello and welcome to Apple Support communities,

    This problem may be caused by a number of things, most often the cause is the device not being able to contact the time server. Here are the instructions from Apple supported for this problem, as well as a link to the appropriate article.

    Follow these steps, after each step:

    1. Make sure you have the latest version of iOS.
    2. Automatically turn on set in settings > general > Date & time. This will automatically put your date and time based on your time zone.
    3. Make sure that your time zone is set correctly. Tap Settings > general > Date & time > time zone.

    If you still have any questions affecting your date, time, or time zone, you can automatically disable in the settings > general > Date & time and manually set the time and time zone. Or contact your carrier.

    The option to enable the value automatically may not be available in all countries or all shells.

    If the time on your iOS device does not go after a sync with your computer, the computer may be time wrong. Check the time on your computer in system preferences > Date & time. You can select "Set date and time automatically."

    Support the Article HT203483

    Get help with the date and time on your iPhone, iPad and iPod touch - Apple Support

    Of course, if the time of your carrier server cannot connect the other option is to manually set the date and time until the carrier server are again available.

    Hope you helps out.

    Kind regards

    Peter.

  • Add the date and time to a photo

    How to add the date and time to a photo or contact sheet in OS X El captain?

    KADRI

    Christiana

    You want to write the date and time in the photo?

    You need to do it in an external editor.  Photos can't.

    You can print the date and time and other legends on a Board-contact, however.  When you select a photo and then use the model of the "Contact Sheet", you can click the 'Captions' button and select the metadata to use as the legend on the contact sheet.

    To write directly to the photo, you can use the Preview.app.

    Export the photo to go to Photos and then open it in preview or install the extension of"external editors" of the App Store. Then you can open preview directly from the Panel of editing in Photos.  See this tip for user: external photo editors are here

  • Photos do not sort by time when the Date and time are adjusted

    I'm the combination of images of my friends with those friends, using Mac Photo of OS X V10.11.4. Because the dates of our cameras vary, I used "Image, set Date and time" to change the dates of the imported pictures. When the dates and times are adjusted, the photos are sorted by date no time. Added photos changed the given date are sorted at the end, regardless of time stamp. The sort options in the pictures leave much to be desired.

    Where are you seeing this? All the photos are sorted by date/time, the photo has been added to the library - Photos (years/collections/moments) are sorted by date/time pictures

    You can select the photos of interest and create your own album of them and then sort but title ascending or descending or by date

    LN

Maybe you are looking for

  • MacBook Pro retina - need help with design school go

    Hi all I am an avid user of PC and will soon move to a Macbook Pro of the retina for the school of design in the fall and wanted to get feedback. My main field of activity will be UI/UX Design using programs such as the sketch, Photoshop, Fireworks,

  • Satellite M305D-S4830 cooling problem

    HelloI got the laptop next: Satelite M305D-S4830. All my features:* Fusion finish Horizon jacquard* Windows Vista Home Premium pre-installed w/COA* Processor Dual-Core ZM-80 Ultra, AMD Turion X 2* 2.1 GHz processor* 4 GB DDR2 SDRAM* 250 GB hard drive

  • BlackBerry Q10 Q BB 10 issue 1

    Hello Is there an option to auto on/off on bb Q10?, if not, then is it possible in future updates?

  • plays dvd video plays do not only audio CDs

    having a problem with the playback of dvd video on my laptop I can't play audio CDs, it works fine but when I want to put a movie dvd or dvd video, it does not play I tried different thought of dvd that was the problem, but all video DVDs do not work

  • "Refresh" Argh! Where everything gone!

    OH NO.! I'm new to the top of my XPS Gen 10 years 3, running Windows XP Pro.  My new Dell is a XPS of 8500 running Windows 8. Navigation recently caused a flood of what 'I' considered boring "apps".  Please forgive my stupidity as age and MS have mad