Xsl question: how to start a new table if recordnumber exceeds 22

Hi.
I was hoping someone could help me with this problem...
I got a simple table where I receive 4 variables from the xsql
query:PNS (nom. size), POD (dia.(mm)), PWTH (Wall th.(mm)) and
PSCH (Schedule). The result is presented on a web-page, but
because we also want to print it out, we are not able to present
more than 22 records in each table. How do I tell the XSL to
start printing a new table when it has reached 22 records?
Example of XML:
<ROWSET>
<ROW>
<PNS></PNS>
<POD></POD>
<PWTH></PWTH>
<PSCH><PSCH>
</ROW>
<ROW>
<PNS></PNS>
<POD></POD>
<PWTH></PWTH>
<PSCH><PSCH>
</ROW>
</ROWSET>
Example of XSL:
<table class="no" style="width:170mm;padding:1pt;"
cellspacing="0" border="1">
<tr>
<td class="b">Nom. Size(in)</td>
<xsl:for-each select="WALLTHICKNESS/WALLTHICKNESS_ROW">
<td class="lb"><xsl:value-of select="PNS"/></td>
</xsl:for-each>
</tr>
<tr>
<td class="t">dia.(mm)</td>
<xsl:for-each select="WALLTHICKNESS/WALLTHICKNESS_ROW">
<td class="lt"><xsl:value-of select="POD"/></td>
</xsl:for-each>
</tr>
<tr>
<td class="t">Wall th.(mm)</td>
<xsl:for-each select="WALLTHICKNESS/WALLTHICKNESS_ROW">
<td class="lt"><xsl:value-of select="PWTH"/></td>
</xsl:for-each>
</tr>
<tr>
<td class="t">Schedule</td>
<xsl:for-each select="WALLTHICKNESS/WALLTHICKNESS_ROW">
<td class="lt"><xsl:value-of select="PSCH"/> </td>
</xsl:for-each>
</tr>
</table>
Regards,
Terje K.

DOMParser parser=new DOMParser();
XMLDocument xmlDocument=parser.getdocument();
Node node=xmlDocument.selectSingleNode("/ROWSET/ROW");
Element element=xmlDocument.createElement(String tagName)
node.appendChild(element);

Similar Messages

  • HT1420 i forgot my answers to my security questions, how do i setup new questions and answers?

    I have forgotten my answers to my security questions, how do i setup new security questions and answers?

    Welcome to the Apple Community.
    Start here (change country if necessary) and navigate to 'Password and Security', reset your security questions using the link provided, you will receive an email to your rescue address, use the link in the email and reset your security questions.
    If that doesn't help, you don't receive a reset email or you don't have a rescue address, you should contact AppleCare who will initially try to assist you with a reset email or if unsuccessful will pass you to the security team to reset your security questions for you.
    If you are in a region that doesn't have international telephone support try contacting Apple through iTunes Store Support.

  • How to create a new table based out of old data rows

    Hi All,
    How to create a new table based out of old data rows. Also how can we find out the DBF for different users in a database?
    Saqib

    Not very clear what you need. I'll try to interpret...
    How to create a new table based out of old data rowsIf this means how to create a table from an existing one, then you can do :
    SQL> create table <new table> as select * from <old table>;
    if you need a subset of rows you can add a where clause.
    how can we find out the DBF for different users in a database?Here I need some more clarification. What do you mean exactly ?

  • HT5312 I forgot my apple security question how can I get new ones

    I forgot my apple security questions how do I get new ones

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • HT204088 I forget my answers security question how i can rest new security question and new answers?

    I forget my answers security question how i can rest new security question and new answers?
    I know the password but i forget the answers of security questions

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
    Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                             Apple ID- All about Apple ID security questions.

  • How to create / populate new table in MaxDB?

    Dear All,
    I'm a newbies in using MaxDB and still learning on it.
    I've installed MaxDB Database Manager 7.6
    I need help from all the experts here on the following "dumb" questions from me.
    1) I can't create, modify or delete any table / data with Database Manager, am I right?
    2) Should I start creating / populating tables with sqlcli or dbmcli? I was informed that I should use sqlcli instead or dbmcli.
    3) What is the syntax for me to create new table, as well as add, modify and delete data within it?
    Please assist to provide some guidance or at least point me to the right direction interm of documentation available.
    THANK YOU VERY MUCH!!!
    Much appreciated,
    -Deric-

    > I've installed MaxDB Database Manager 7.6
    >
    > I need help from all the experts here on the following "dumb" questions from me.
    >
    > 1) I can't create, modify or delete any table / data with Database Manager, am I right?
    Nope - the Database Manager is not able to to "sql-stuff".
    You would want to use the Database Studio or the SQL Studio for that.
    But as you're starting to learn anyhow, just go for the more modern Database Studio.
    It combines the features of Database Manager and SQL Studio into one tool.
    > 2) Should I start creating / populating tables with sqlcli or dbmcli? I was informed that I should use sqlcli instead or dbmcli.
    Why would you want to learn SQL by working with command line tools?
    Really, go for the Database Studio instead.
    For simple SQL stuff via command line you may use sqlcli.
    > 3) What is the syntax for me to create new table, as well as add, modify and delete data within it?
    > Please assist to provide some guidance or at least point me to the right direction interm of documentation available.
    You definitively need
    a) read the tutorial in the [documentation|http://maxdb.sap.com/doc/7_7/d0/3e345709c044d4a954e3a8d0be0867/content.htm]
    and
    b) get a SQL learning book to really understand the concepts behind relational databases and the query language.
    Learning SQL is not about knowing how to type the commands.
    Most users learn the commands rather quickly.
    But fully understanding the set-approach of relational databases and how to create and use those databases correctly is often not learned.
    So make sure not to fall into this trap!
    regards,
    Lars

  • How to start a new career in SAP - SD as a Fresher?

    Dear All,
    I am on the way to enter in the new world - SAP as a fresher.
    Seems to be positive and hopes on own capabilities.
    Willing to learn and go for Sales & Distribution (SD) Module as per my experience and domain knowledge.
    Please input your expert comments and opinion as per your master knowledge.
    How to start Online Training for 3 months?
    How much time to give Theoretical and Practical knowledge?
    Where & Which department need some personal attention
    How to go for Certification and prior practices?
    How to crack the Interview?
    How to find placement for SD on our own shoulder?
    Is there any opportunity for fresher at abroad? Where?
    As fresher what would be the CTC?
    Dear All,
    Waiting for your expert comments..
    Thanks & Regards,
    Tulsidas Ankam

    Hi,
    Here's an SCN tip for you: if you post multiple questions on the same topic and get detailed answers, then you should mark the questions answered and award some points (where merited).
    Otherwise - eventually - no one will respond!
    Anyway, onto your question. I personally think the best avenue of attack is to:
    - join an organization that is already running SAP, even if it is in some junior position
    - make it clear that you are very interested in SAP SD and are willing to do all the training etc yourself
    - grab every opportunity you can to learn SAP SD on-the-job
    There is little point getting certified if you have no experience. I don't think it improves your chances of getting a job (and it can be quite expensive).
    Anyway, just my opinion! Good luck.
    cheers
    Paul

  • How to Start a News Letter

    Hi, I'm looking to start a news letter on my site. I have the
    email addresses of the users that want to receive the news letters
    however, I need to figure out how to program a page that would send
    the same email to all the email addresses saved in my database.
    Thanks in advance for all the help.

    As always, there are several solutions to the problem. A
    simple one is:
    1. Create a table with the newsletter texts (so that the
    users can add new newsletters and send them out)
    2. Make a query with the users to receive the newsletter
    3. Make a query with the text you want to send out
    4. Use CFMAIL with a query attribute to loop through the
    query with the users
    5. Within the body of the CFMAIL tag display the content of
    the newsletter text to be added to the email
    I'm sure there other and better practices out there - but
    that's one that will work well for a smaller scale project. Don't
    forget error catching as cfmail will fail if the email address is
    in an invalid format (i.e. thisHasA [email protected]).

  • How to Start with new Iphone 4 Factory Unlock ???

    I am getting new factory unlock Iphone 4 day after tommorow and I currently have Jailbreak Iphone 3G...Plz tell what should i do to get started ??? I dont want to to jailbreak iphone 4 right now as the un-teathered jb is not available..So how to start ...Any advice plz...

    When you get your new phone, connect it to iTunes to activate. Do not restore from the backup of your jailbroken phone when given the option of setting up as new or restoring from backup. Select setup as a "new" phone. You must also have an activated sim in the phone.

  • How to find the new tables and columns in a schema

    hi..good morning to all...
    I have a schema ABC which owns some objects.
    Now some days before I have made another schema XYZ which was a replica of ABC schema.
    between these days some new tables, new columns in the existing tables(with or without default value), comments on the columns are being added in the new schema i.e XYZ schema.
    Now I have to find the extra things which are present in the new schema. I need to find the new tables, new columns in hte existing tables, their default values and descriptions of those.
    Can u plss help me how can I find it?
    I am guessing that I have to write a SQL query with a minus clause but I am not able to write it and also dont know where should I execute it.
    plss help. thanks in advance.

    And moreover, when I am executing the query to get the desired result, then it is throwing "illegal use of long datatype" error and pointing to the b.data_default area of my query..
    select a.table_name, a.column_name, b.data_default, a.comments from all_col_comments a, dba_tab_columns b
    where a.TABLE_NAME=b.TABLE_NAME
    and a.OWNER=b.OWNER
    and a.OWNER=XYZ
    minus
    select c.table_name, c.column_name, d.data_default, c.comments from all_col_comments c, dba_tab_columns d
    where c.TABLE_NAME=d.TABLE_NAME
    and c.OWNER=d.OWNER
    and c.OWNER='ABC'
    order by 1, 2;
    plss help...

  • How to start a new line in BBM Blackberry Z 10?

    I'm wondering how can i press (enter) to start a new line when a BBMing in my Blackberry Z10? the same when I want to type a new Text Message!! 
    As when I press enter it send the message, and what i want is to add a new line to start a new sentence before sending it !!!
    http://forums.crackberry.com/blackberry-z10-f254/how-start-new-line-bbm-blackberry-z-10-a-769097/

    You can't currently do this in BBM or SMS. Maybe this will be added in a future update.
    As a workaround, you could type what you need in Docs To Go, and then copy and paste it into BBM or SMS.
    Rad Systems apps on BlackBerry World
    Follow on Twitter, Facebook or BBM Channel: C0006BB16
    Tips to improve your BlackBerry 10 battery life (and avoid overheating)

  • I did one spreadsheet and figure out how to start a new one

    Start a new spreadsheet on ipad

    Are you asking how to create a new spreadsheet using Numbers?  On an iOS device, tap Spreadsheets, then tap the "+" sign.
    For Numbers on a Mac, see http://help.apple.com/numbers/mac/3.1/#/tan753033f43.
    For Numbers on an iOS device, see http://help.apple.com/numbers/ipad/1.7/#tan7271aff3.

  • How to show the new table record after creating

    I have a table form. After creating a new record to the table, the page go back to the same page. I wanta know how to show the new record after click 'Create' button. Right now, all the items will be cleared.
    Thanks.

    The button submits the page so just create a branch that directs to a new page (which you'll have to create if you have not already done so) after submission which directs to a new page and uses the newly generate PK to display the row you've generated. You'll need to make the branch conditional on that press of the Create button.
    Phil

  • How to add a new table or view in the view object

    hello,every one.
    I wanna add a new table or view in the view object's query statement.
    when the table or view not in the where clause,the query statement is working fine.
    If they in the where clause,I got the "java.lang.NullPointerException".
    who can help me
    thank you very much

    thank you for your reply
    I wanna extend the VO
    oracle.apps.pay.selfservice.payslip.US.server.PayPayslipGetPersonDetail
    the original sql is:
    SELECT ppf.person_id,
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    I wanna extend:
    SELECT ppf.person_id, pay_v.element_name,pay_v.assignment_action_id
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa,
    pay_run_results_v pay_v
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    pay_v.assignment_action_id =paa.assignment_action_id
    if the pay.v in the where clause. I will got the exception. whereas,it's works fine.

  • How to start a new process in BPM

    There are many ways to start a new process in BPM.However I was wondering whether there is any specific way to kick off an instance in the process with the help of PAPI from external systems.I would be thankful if someone could advise.

    Check the PAPI Javadoc & Samples in the [enterprise_install_dir]/client/papi/ directory.
    Basically, you must:
    a) create a Process Service object
    service = ProcessService.create(properties);
    b) create a PAPI session with a participant
    session = service.createSession(user, pass, "localhost");
    c) create an instance:
    instance = session.createProcessInstance("/Orders", "BeginIn", arguments);
    d) destroy the session
    session.close();
    Hope this helps!
    Fernando

Maybe you are looking for

  • Query problem in EJb3.0 after migrating into Jdeveloper11g(Alpha)

    Hi All, After migrating my application from jdeveloper preview-1 to j-developer(Alpha version), we have a query "select o from 'EntityBean' o where trim(lower(o.BeanAttribute))" where we are getting the IllegalArgumentException which is working fine

  • How to compare two Universes ?

    Post Author: Shrikant CA Forum: Administration Hi.. all I want to compare two universes of different data mart to check the table structure. Can anybody please tell me how to compare two Universes of different Datamarts?How i can achive this usinig B

  • Help: 10.4.11 to 10.5.2 MacBook upgrade - won't work !!!

    Just bought for £25 from eBay: 10.5.2 MacBook installer Disc 1+2 - for my MacBook ! The Problem: When i insert the 10.5 disc, it tells me after the re-start: "Can't install 10.5 on this machine- click re-start" !!!! What ??? I have an MacBook 1.83 Gi

  • Best encoder for broadcast SD video

    Need to encode :30 spots for Internet delivery from DV master. What is my best encoding setting to get broadcast quality SD at the smallest file size for TV stations to use? Also, what tools would be best used for this purpose? Currently own iLife 20

  • Reproducible fatal error when heading 2/3 are mapped

    Hello, I am totally unable to map my Headings 2 & 3, for some unknown reason. Whenever I map one, both, or either of these two styles (about which I can see nothing unusual), I get a fatal error from the Microsoft help engine when I try to compile. T