Need to count the number of times the Basic Finish data chages

HI Expertes,
I have a requirement I need to count number of times the Basic finish date chaged for PM work order. I went throug our forums I got some info like using a standard function module
CHANGEDOCUMENT_READ_HDRS_ONLY
CHANGEDOCUMENT_READ_HEADERS
CHANGEDOCUMENT_READ_POSITIONS
But all the above function module will not be suitable for my requirement since  CHANGEDOCUMENT_READ_HDRS_ONLY it gives whole changes but my requirement is just need number of changes occurred in Basic Finish date but CHANGEDOCUMENT_READ_POSITIONS can give the filed number which has been changed but still I need change id.
So kindly suggest me wether there is any other Standard FM to get number of changes occurred in Basic Finish date?
Thanks,
Rajesh

Hi Debbie,
     To count the number of groups please try the folling steps:
1) Create a formula @reset and place this formula in the page header
    whileprintingrecords;
    numbervar i:=0;
2) Create another formula @evalgroup place this in the group header where you want to count the values.
    whileprintingrecords;
    numbervar i:= i+1;
3) Create another formula @display and place this in report footer.
    whileprintingrecords;
    numbervar i;
In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
Hope this helps!!!
Regards,
Vinay

Similar Messages

  • How can I run a counter by number of times the script is run

    So I've created a script for disabling exchange mailboxes and moving them to a disabled OU in AD.  I currently have this set to run once a week via scheduled tasks but instead would like to kick it up to nightly and improve on the logging.
    Right now, the only items I record are the name of the person and the OU they were originally in.  I'd also like to include the groups they were a member of.  I could easily enough include all the groups they were a member of in the email but here
    is the twist.
    Since we are going to a nightly run of this script, we would want to keep at least a weeks worth of logs in a text file as a just in case.  After a week, the log would be cleared.  I know that would be a counter but I can't even wrap my mind around
    how that would work.  Is it even possible?
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\TerminateUsersLogFile.txt"
    $LogFile2 = "C:\Scripts\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @MyDomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@MyDomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $newvar = ($user).distinguishedname
    set-aduser $user -replace @{info="$newvar"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled Users OU" -Confirm:$false
    Write-Output $user.name >> C:\Scripts\UserNamesMovedtoDisabledOU.txt
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "SMTP.MyDomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    clear-content C:\Scripts\UserNamesMovedtoDisabledOU.txt

    I apologize for the long delay in replying.  I thank everyone for their help but I'm still running into issues with the script.  Below is the script as it is right now.  I'm having issues with logging as the groups the associate is a member
    of are not logging correctly.
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log"
    $LogFile2 = "C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @mydomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@mydomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $UserOU = ($user).distinguishedname
    set-aduser $user -replace @{info="$UserOU"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Write-Output $user.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    write-output $ADgroups.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    echo $ADgroups.name
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled OU" -Confirm:$false
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "smtp.mydomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    Get-ChildItem -Path C:\Scripts\CleanUpTermedUsers\* -Include *.log | where-object { $_.LastWriteTime -lt $((Get-date).Adddays(-7))} | clear-content C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log
    Clear-Content c:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt

  • Can I find the number of times the recorded meeting has been viewed?

    In Adobe Connect is it possible to find the number of views after a recorded meeting is made public? Under meeting dashboard it keeps track of these views for 30 days but I can not seem to find anywhere under the reports where this information is located.

    If you move the recordings to the Content Library, then you can pull the standard content reports for it, which will tell you number of views.

  • Determine the number of times the document has been printed

    Hi all,
    I have a form here ( SAPSCRIPT), there is certain field to show how many times the document
    has been printed, i use NAST-ANZAL, but it seems to display no correct value.
    Am I using the riht field anyway? Or missing something?
    Thanks ,,
    AUD

    Hi,
    Check for the field NAST-VSTAT.
    IF NAST-VSTAT = '1' meaning that document  is printed.
    Refer below example from NAST entries.  4000010000 document is printed 4 times.
    OBJKY                          KSCHL SPRAS PARNR      PARVW USNAM        VSTAT
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                              1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    Rgds,
    Arun

  • Priority in queue based on the number of times the caller has called

    Hi,
    One of my customer has requirement to to prioritize the call from caller if the same caller has called thrice within 24 hours.
    UCCX version is 7.0. It is standalone.
    Please let me know if it can be achieved?
    Thanks,
    Vinay

    Hi
    Yes - I've done this on CCX7.0.
    I basically just queried the contactcalldetail table after validating the CLI is sensible for calls from the same number in the last few days.
    I added a new DSN to point at the CRA DB. You would need a Premium UCCX license.
    Aaron
    Please rate helpful posts..

  • Is there a way to count the number of times an array moves from positive to negative?

    I have an array of values, and I need to find the number of times that the array changes signs (from positive to negative, or vice versa). In other words from a graphical standpoint, how many times a certain line crosses the x-axis. Counting the number of times the array equals zero does not help however, because the array does not always equal exactly zero when it crosses the axis (ie, the points could move from .1 to -.1).
    Thanks for you help. Feel free to email me at [email protected] I only have lv 5.1.1 so if you attach any files, they cannot be version 6.0.

    Attached is a VI showing the # of Pos and Neg numbers in an array, with 0 considered as non-Pos. It is easily modifiable to other parameters - including using the X-axis value as your compare point versus only Zero.
    This is a modified VI from LV (Separate Array.vi)
    Compare this with your other responses to find the best fit.
    Doug
    Attachments:
    arraysizesposneg.vi ‏40 KB

  • How do i count the number of times a cell has been referenced by other cells' formulae?

    Hello,
    I have a spreadsheet of recipes and ingredients that use checkboxes to let me know which recipes I can make based on the ingredients I have on-hand, using a formula like this one: =IF(AND('Spirits' :: A42,Mixers :: A18,Mixers :: A41,'Spirits' :: A25 ),Table 3 :: $A$2,Table 3 :: $A$3). If I've checked all of the boxes for ingredients that are required for any one of my recipes, the cell that the formula is in returns something like "YES"; otherwise, it returns a blank. It works well enough, but I'd like to include a cell next to each ingredient with a formula that will look through the hundreds of recipes, which all use a formula like the one above, and return a count of the number of times the ingredient's cell is referenced in those formulas. That way, I'll know which ingredients are the most commonly used in my eclectic collection of recipes. I thought something like =COUNTIF('Recipes' :: A2:A343, "=A2") would work, but it doesn't look at the cell references in the formulas, so no, it doesn't work. Any ideas? I'm using Numbers 2.3

    Hello
    There's no formula to inspect other formula in Numbers. So what you asked cannot be achived in such a way you described.
    A simple alternative method would be to build recipe-ingredient matrix as follows.
    E.g.
    Table definitions:
    Recipes
    A1    Recipe \ Ingredient
    A2    A
    A3    B
    A4    C
    A5    D
    A6    E
    A7    F
    A8    # recipes / ingredient
    B1    X1
    B2    TRUE
    B3    FALSE
    B4    TRUE
    B5    FALSE
    B6    TRUE
    B7    FALSE
    B8    =COUNTIF(B,TRUE)
    C1    X2
    C2    TRUE
    C3    TRUE
    C4    FALSE
    C5    TRUE
    C6    TRUE
    C7    TRUE
    C8    =COUNTIF(C,TRUE)
    D1    X3
    D2    FALSE
    D3    TRUE
    D4    FALSE
    D5    TRUE
    D6    FALSE
    D7    TRUE
    D8    =COUNTIF(D,TRUE)
    E1    X4
    E2    FALSE
    E3    FALSE
    E4    FALSE
    E5    FALSE
    E6    FALSE
    E7    TRUE
    E8    =COUNTIF(E,TRUE)
    F1    Y1
    F2    TRUE
    F3    FALSE
    F4    TRUE
    F5    TRUE
    F6    TRUE
    F7    FALSE
    F8    =COUNTIF(F,TRUE)
    G1    Y2
    G2    FALSE
    G3    TRUE
    G4    TRUE
    G5    FALSE
    G6    FALSE
    G7    TRUE
    G8    =COUNTIF(G,TRUE)
    H1    Y3
    H2    TRUE
    H3    TRUE
    H4    FALSE
    H5    TRUE
    H6    TRUE
    H7    FALSE
    H8    =COUNTIF(H,TRUE)
    I1    Y4
    I2    FALSE
    I3    FALSE
    I4    FALSE
    I5    FALSE
    I6    FALSE
    I7    TRUE
    I8    =COUNTIF(I,TRUE)
    J1    in-stock?
    J2    =SUMIF(B2:E2,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F2:I2,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B2:I2,TRUE)
    J3    =SUMIF(B3:E3,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F3:I3,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B3:I3,TRUE)
    J4    =SUMIF(B4:E4,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F4:I4,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B4:I4,TRUE)
    J5    =SUMIF(B5:E5,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F5:I5,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B5:I5,TRUE)
    J6    =SUMIF(B6:E6,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F6:I6,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B6:I6,TRUE)
    J7    =SUMIF(B7:E7,TRUE,TRANSPOSE(X::$C$2:$C$5))+SUMIF(F7:I7,TRUE,TRANSPOSE(Y::$C$2:$C$5))=COUNTIF(B7:I7,TRUE)
    J8   
    X
    A1    Ingredient
    A2    X1
    A3    X2
    A4    X3
    A5    X4
    B1    in-stock?
    B2    TRUE
    B3    TRUE
    B4    TRUE
    B5    FALSE
    C1    code
    C2    =IF(B2,1,0)
    C3    =IF(B3,1,0)
    C4    =IF(B4,1,0)
    C5    =IF(B5,1,0)
    Y
    A1    Ingredient
    A2    Y1
    A3    Y2
    A4    Y3
    A5    Y4
    B1    in-stock?
    B2    TRUE
    B3    FALSE
    B4    TRUE
    B5    FALSE
    C1    code
    C2    =IF(B2,1,0)
    C3    =IF(B3,1,0)
    C4    =IF(B4,1,0)
    C5    =IF(B5,1,0)
    In "Recipe" table, the first row is header row and the last row is footer row.
    Hope this may help,
    H

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • The Basic Finish date is a Day earlier than Planned date

    Dear Experts,
    I am getting a strange behaviour about Maintenance order Basic Finish Date when generated from Maintenance Plan. I have Customizing settings (TCode : OPU7) Adjust: "Adjust Basic dates, adjust dep reqmts to order start date" and scheduling type : Backwards in Time. For this setting Order Basic Finish Date is a day earlier than Planned date , but when Schduling type is Backwards instead of Backwards in Time, Basic Finish date is same as Planned date.
    Example: The start of cycle of a monthly plan is 14-Nov-2010, 1st Planned date is 14-Dec-2010. When Scheduling type is " Backwards in time" , the order generated is having Basic Finish Date as 13-Dec-2010 .And when Scheduling type is "Backwards" , Basic finish date is 14-Dec-2010.
    Thank you.
    -Malay-

    Hi there,
    Please check the primilinairy buffer in your strategy package. This field have an effect on your order start date.
    But I agree on Pete, you should use a forward planning.
    Regards,
    Johan
    Edited by: Johan Zeeman on Dec 17, 2010 11:29 AM

  • Count the number of times a character is in a string using pl/sql

    I need to count the number of times ":" appers in the string ":XXX:CCC:BBB:".
    I have sound some solution using SQL but I do not want the context switch.
    Also I am on 10g so I can not use REGEXP_COUNT.
    Any help would be great.

    Hi,
    length(REGEXP_REPLACE(':XXX:CCC:BBB:','[[:alnum:]]'))counts all kinds of punctuation, spaces, etc., not just colons. Change any (or all) of the colons to periods and it will still return 4. Use '[^:]' instead of '[[:alnum:]]' if you really want to count just colons.
    Also, "SELECT ... FROM dual" is usually needed only in SQL*Plus or similar front end tools. In PL/SQL, you can call functions without a query, like this:
    x := NVL (LENGTH (REGEXP_REPLACE (txt, '[^:]')), 0);

  • How do I count the number of times a word appears in a column?

    What I have is a spreadsheet logging work history. Let's say the work location is "office", "home", or "travel" and I want to have a separate cell in another table for totals, count up the number of time each appears in the data for the year. So it would look like this:
    Date
    Location
    sept 1
    office
    sept 2
    home
    sept 3
    home
    sept 4
    travel
    sept 5
    office
    sept 6
    office
    sept 7
    office
    sept 8
    travel
    sept 9
    home
    sept 10
    office
    Totals
    Days
    10
    Office
    5
    Home
    3
    Travel
    2
    I just can't figure out how to develop the formula to put in the Totals column to make it work this way. If you can help me achieve this I'd really appreciate it!

    Hi SpartanAntarctican,
    Table 1 to record your locations
    Date
    Location
    sept 1
    office
    sept 2
    home
    sept 3
    home
    sept 4
    travel
    sept 5
    office
    sept 6
    office
    sept 7
    office
    sept 8
    travel
    sept 9
    home
    sept 10
    office
    Table 2 to sum your locations
    Totals
    Days
    10
    Office
    5
    Home
    3
    Travel
    2
    In Table 2 the formula in B2
    =ROWS(Table 1::A)−1
    Minus 1 because there is a Header Row in Table 1.
    In Table 2 the formula in B3 (and Fill Down)
    =COUNTIF(Table 1::B,A3)
    You can check this by adding 5 + 3 + 2 to arrive at 10
    Or maybe delete Row 2 put the Days calculation into a Footer Row in Table 2
    =SUM(B) .
    Regards,
    Ian.

  • ORA-24333: zero iteration count  Cause: An iteration count of zero was specified for the statement Action: Specify the number of times this statement must be executed

    Get the following error from Oracle 
    ORA-24333: zero iteration count
    Cause: An iteration count of zero was specified for the statement
    Action: Specify the number of times this statement must be executed
    Any suggestions on whether is this a Oracle bug or if not what should be set to avoid this failure.

    Hello get this from executing the following.
    Occurs intermitently.
    select MAX(LENGTH(lxVal)) from lxString_74501fb6 where lxType=910231053
    Find the MaxLenght(LxVal) returned is null for this query.
    Did google it but says the iterator not initialized. But not the case here
    Thanks

  • BW Reporting - How to Count the number of times a query is executed

    Hi All,
    How do we get a report that enable us to get a count of number of times a report is executed? Example below:
    Info-provider         Report Name              Frequency
    PA_C01              Headcount                  24 times
    Any idea?
    Many thanks all.
    Mark Ng.

    Hi,
    1. Use Tcode = ST03N (Work Load Monitor)
    2. Choose Expert mode.
    3. Click on your system host name
    4. Click on Transaction Profile, then you can find out the all tasks.
    5. Select which ever you want to see details for queries.
    Regards,
    Srini Nookala

  • Number of times the record to be printed in Oracle reports

    I have a requirement to print each record in specified number of times based on one of the field of
    the record.
    For Ex: Each record has the following fields and I need to print each record based on Quantity
    Cust PO Number Item Number Quantity
    PO1234          1P1 20
    PO3456          1P2 15
    I need to print the first record 20 times and second record 15 times.
    Can you please suggest if we can set any parameter or printer option before each record to direct it to be printed in specified number of times?
    Thanks,
    Rakesh

    WITH DATA AS (SELECT 'PO1234' CUST_PO_NUMBER, '1P1' ITEM_NUMBER, 20 QUANTITY FROM DUAL
                  UNION ALL
                  SELECT 'PO3456' CUST_PO_NUMBER, '1P2' ITEM_NUMBER, 15 QUANTITY FROM DUAL
         COUNTER AS (SELECT LEVEL LVL FROM DUAL CONNECT BY LEVEL<1000)
    SELECT * FROM DATA, COUNTER WHERE LVL<=QUANTITYreplace the first with-path (data) with your table

  • Generate numbers in incremental order, the number of times condition met?

    I have tried explaining my problem here also.
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=31&t=007531&p=1
    But trying to put in other words now.
    I have a NO tag which appears many times in xml. and alwyas have some random numbers displaying.
    output looks something similar to this
    something......<NO>1</NO>
    something......<NO>1</NO>
    something......<NO>2</NO>
    something......<NO>1</NO>
    something......<NO>3</NO>
    something......<NO>1</NO>
    something......<NO>5</NO>
    something......<NO>1</NO>
    something......<NO>1</NO>
    something...... & so on.
    Now instead of these numbers coming in this order i prefer to display in final output file as
    1 2 3 4 5 .................... n
    Is it possible in any ways using xslt.
    DO we need to ignore the values given in input file and then generate output values for same.
    it can be like the number of times NO tag appears in xml, it should start from 1 and keep increasing value by 1, until NO tag finishes appearance.
    But next time when other xml transforms it again should be able to start from 1 till n.
    is there a possibility of using java code for this situation or xslt is capaable enough to handle this.
    Thanks
    VJ

    I'm guessing you are looking for something like this. I used a pull approach but it could be done with a push (xsl:for-each).
    Sample XML
    <?xml version="1.0" encoding="UTF-8"?>
    <root>
         <NO>1</NO>
         <NO>1</NO>
         <NO>2</NO>
         <NO>1</NO>
         <NO>3</NO>
         <NO>1</NO>
         <NO>5</NO>
         <NO>1</NO>
         <NO>1</NO>
    </root>
    Sample XSLT
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:output method="xml" version="1.0" omit-xml-declaration="yes" encoding="UTF-8" indent="yes"/>
         <xsl:template match="root">
              <output>
                   <xsl:apply-templates select="NO"/>
              </output>
         </xsl:template>
         <xsl:template match="NO">
              <row>
                   <xsl:value-of select="position()"/>
              </row>
         </xsl:template>
    </xsl:stylesheet>
    Sample Output
    <output>
         <row>1</row>
         <row>2</row>
         <row>3</row>
         <row>4</row>
         <row>5</row>
         <row>6</row>
         <row>7</row>
         <row>8</row>
         <row>9</row>
    </output>

Maybe you are looking for

  • Embedded videos do not show up on certain webstites.

    Embedded videos on certain websites (perezhilton.com) do not appear. I have downloaded Firefox's most recent update and that is when the problem started. I downloaded Google Chrome and the videos do appear and work fine on that browser.

  • Mode not supported

    one day mac mini working fine connected to Samsung LCD at all resolutions, next day get mode not supported. called samsung, said to play with the resolution setting, which meant that each time I had to disconnect and connect to my 17in computer monit

  • BT letting me down

    I realise that this topic will have been raised before but I am totally frustrated with BT. I have bought a new built house but just after paying a reservation fee found out there were problems with media service provision. Moved in on 11 July 2014 a

  • How can i get a video file with subtitle out of DVD Studio Pro?

    i got a project for a dvd in dvd studio pro. There are subtitles which i created within dvd studio pro. Now i want make a web version of the video with the subtitle, how can i get to this?

  • Resizing multiple objects without grouping them

    In AppleWorks Draw one could just band or shift select a group of objects and resize them. Is there a way of doing this in Pages without having to group everything first?