Best place to transform XSL

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dawnerd

    Best place to transform XSL

    Hi, I have a question that a friend was asking me a few minutes ago.

    Is it better to transform XSL on the client side, or let the server
    handle it? Or both, ensuring that everyone can view the site correctly.

  • Chung Leong

    #2
    Re: Best place to transform XSL

    dawnerd wrote:
    Hi, I have a question that a friend was asking me a few minutes ago.
    >
    Is it better to transform XSL on the client side, or let the server
    handle it? Or both, ensuring that everyone can view the site correctly.
    It better to not do XSL at all imho.

    Comment

    • dawnerd

      #3
      Re: Best place to transform XSL


      Chung Leong wrote:
      dawnerd wrote:
      Hi, I have a question that a friend was asking me a few minutes ago.

      Is it better to transform XSL on the client side, or let the server
      handle it? Or both, ensuring that everyone can view the site correctly.
      >
      It better to not do XSL at all imho.
      That's what I think as well. It's not really used by many sites
      anyways. But, my buddy just got Firefox (he's blind and got the new
      version of jaws with FF support) and wants to go crazy with creating
      new web stuff.

      Comment

      • Tony Marston

        #4
        Re: Best place to transform XSL

        It depends. You can only perform client-side transformations if the client
        browser supports it, and not all do. I have done client side transformations
        with IE and Firefox (Firefox is quicker) but Opera is still very flaky.

        The advantage of server-side transformations is that you don't need to care
        about the client's XSL abilities as you send it nothing but HTML, and every
        browser can handle HTML. The disadvantage is that each XSL transformation
        requires extra resources on the server. The advantage of client-side XSL is
        that this processing overhead is moved from the server to the client.

        If you wish to use XSL transformations then the best way is to offer the
        choice of either server-side or client-side processing. and let the client
        make the choice. That's what I do.

        --
        Tony Marston

        This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL

        Build apps faster with Rapid Application Development using open-source RAD tools, modern RAD frameworks, and rapid application design methods.




        "dawnerd" <dawnerd@gmail. comwrote in message
        news:1156701126 .903934.299780@ i42g2000cwa.goo glegroups.com.. .
        Hi, I have a question that a friend was asking me a few minutes ago.
        >
        Is it better to transform XSL on the client side, or let the server
        handle it? Or both, ensuring that everyone can view the site correctly.
        >

        Comment

        • Chung Leong

          #5
          Re: Best place to transform XSL

          dawnerd wrote:
          That's what I think as well. It's not really used by many sites
          anyways. But, my buddy just got Firefox (he's blind and got the new
          version of jaws with FF support) and wants to go crazy with creating
          new web stuff.
          And it's not used for a very good reason. In general you use rule-based
          system to get open-ended results. This is rarely the case when it comes
          to HTML pages, and especially so when you're generating the XML
          yourself.

          Comment

          Working...