Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. XML / XSL
  4. Pagination using xsl

Pagination using xsl

Scheduled Pinned Locked Moved XML / XSL
xmlhelpquestion
8 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bhagwati
    wrote on last edited by
    #1

    Hi I want to give page breaks using xslt. Also, I want to use next and previous facility using xslt ? Can anyone help me out . Thanks in advance, Regards, Bhagwati Prasad

    L N 2 Replies Last reply
    0
    • B Bhagwati

      Hi I want to give page breaks using xslt. Also, I want to use next and previous facility using xslt ? Can anyone help me out . Thanks in advance, Regards, Bhagwati Prasad

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I assume you are talking about generating an html content out of XSLT. While generating the html content out of xslt, just make use of html markup br to get the line break may be you know this already. Regarding the pagination, the best i can say is to submit the page with the page id and generate html content starting from that page id.:confused:

      B 1 Reply Last reply
      0
      • L Lost User

        I assume you are talking about generating an html content out of XSLT. While generating the html content out of xslt, just make use of html markup br to get the line break may be you know this already. Regarding the pagination, the best i can say is to submit the page with the page id and generate html content starting from that page id.:confused:

        B Offline
        B Offline
        Bhagwati
        wrote on last edited by
        #3

        The problem is that I have many xml records, and I want to separate those into number of html pages using xsl. One of the answers what I found on internet is xsl-fo, but how to do this in .NET ?

        L 1 Reply Last reply
        0
        • B Bhagwati

          The problem is that I have many xml records, and I want to separate those into number of html pages using xsl. One of the answers what I found on internet is xsl-fo, but how to do this in .NET ?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Do you really want to use XSL for this ? or you thought that is the way ? If you know the schema already, then you can create a typed dataset and bind an XML to it. This helps you to create any type of file easily and may be fast!! Without getting into trouble of xsl looping. let me know if this helps you!! Sri

          B 1 Reply Last reply
          0
          • L Lost User

            Do you really want to use XSL for this ? or you thought that is the way ? If you know the schema already, then you can create a typed dataset and bind an XML to it. This helps you to create any type of file easily and may be fast!! Without getting into trouble of xsl looping. let me know if this helps you!! Sri

            B Offline
            B Offline
            Bhagwati
            wrote on last edited by
            #5

            no I need to implement using xsl what I do is, get the data in the dataset, get its xml and then transform it using xslt. The transformation is coming out properly, but now I want to display no of pages, page count etc. using xsl Can u help ? Thanks, Bhagwati

            U 1 Reply Last reply
            0
            • B Bhagwati

              Hi I want to give page breaks using xslt. Also, I want to use next and previous facility using xslt ? Can anyone help me out . Thanks in advance, Regards, Bhagwati Prasad

              N Offline
              N Offline
              Nick Parker
              wrote on last edited by
              #6

              Read this article: Implementing Paging and XSLT Extensions Using XSLT in .NET[^] - Nick Parker
              My Blog | My Articles

              1 Reply Last reply
              0
              • B Bhagwati

                no I need to implement using xsl what I do is, get the data in the dataset, get its xml and then transform it using xslt. The transformation is coming out properly, but now I want to display no of pages, page count etc. using xsl Can u help ? Thanks, Bhagwati

                U Offline
                U Offline
                User 377904
                wrote on last edited by
                #7

                Bhagwati, Hope you got enuf information from Parker's messsage. If not let me know. bye Sreenath

                B 1 Reply Last reply
                0
                • U User 377904

                  Bhagwati, Hope you got enuf information from Parker's messsage. If not let me know. bye Sreenath

                  B Offline
                  B Offline
                  Bhagwati
                  wrote on last edited by
                  #8

                  Thanks Srinath and Parker. I got enough information and it works Thanks again Bye Bhagwati

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups