• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Xsl

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #71
    That indeedy does.

    I'll have a play with that.

    I've been using XsltCompiledTransforms which just suck dick completely.
    Serving religion with the contempt it deserves...

    Comment


      #72
      Originally posted by TheMonkey
      XSLT would be good if it wasn't so fecking slow. No implementations deal with siblings in a non-painfully slow fashion.
      Surely not! Apparently its a functional language that sacrified variables and loops in order to achieve maximum degree of parellel execution!!!!!

      Saxon is way too heavy, .NET's seems to work okayish though many functions are not supported in it - looks like XSLT guys committed suicide by making long list of very useful things optional, which means of course its not implemented by almost anyone.

      Comment


        #73
        Originally posted by AtW
        Saxon is way too heavy, .NET's seems to work okayish though many functions are not supported in it - looks like XSLT guys committed suicide by making long list of very useful things optional, which means of course its not implemented by almost anyone.
        First you complain about lack of features, then you complain about a parser that has too many
        Listen to my last album on Spotify

        Comment


          #74
          Originally posted by Cowboy Bob
          First you complain about lack of features, then you complain about a parser that has too many
          I complain about stardard making them optional - this means not all vendors implemented them, for example Microsoft .NET features pretty much barebones implementation that nevertheless qualifies as XSLT.

          Comment


            #75
            Originally posted by AtW
            I complain about stardard making them optional - this means not all vendors implemented them, for example Microsoft .NET features pretty much barebones implementation that nevertheless qualifies as XSLT.
            Not implementing features is a Microsoft trend that you become used to
            Listen to my last album on Spotify

            Comment


              #76
              It is fault of the standard - real world implementors always go for the lowest possible standard that would still allow them to apply given label to product, for example look at SATA II - lots of optional specs, not all drives implement all of them, but manufactures love calling their drives SATA II even though they implement few features.

              I repeat - its the fault of the stanard to make a bunch of key functions optional. Who suffers? Whoever designed the language - it hits adoption rates of XSLT and now that I have used it beyond simple examples I can understand why.

              Comment


                #77
                AtW: btw I wholly agree with you on all points here.
                Serving religion with the contempt it deserves...

                Comment


                  #78
                  Too right monkey - whoever designed XSL should be beheaded, lets just recap some of the key points they don't tell you upfront:

                  1) you can't have variables (only constats)
                  2) you can't break out of loops
                  3) you can't return results from "procedures"
                  4) you can't convert tree chunk into node-set without calling implementor's specific function (usually node-set) (the twats!!!)
                  5) you are basically fked as the whole model is too static - you can't for example make up dynamicaly piece of template and execute it
                  6) you can't use variables in Xpath bits to specify variable Attribute or Element names - they (constants wrongly referred to as vars) for values
                  7) you will waste most of the time looking for fked in the head workarounds to things that can be trivially and quickly done if they (at least!) had proper variables!

                  Conclusion:
                  XSLT is S**T DESIGN!

                  Sadly no good alternative for something similarly flexibly with XML and safe from execution point of view (no access to filesystem etc). What a waste of opportunity this is.

                  Comment


                    #79
                    Let me just say it again - FFS, what kind of retard thought it was great idea to NOT allow changing variables? I mean FFS, if it hits performance so much (can't multithread due to dependencies) fine, issue warning to programmer so that he knows he may lose performance, fine, but FFS, let the programmer decide what's best and how to do the job, don't fking babysit him in the worst possible way - I always thought Pascal was crap, but now I think it is the best designed language ever, comparing to XSLT of course.

                    Comment


                      #80
                      Originally posted by AtW
                      Too right monkey - whoever designed XSL should be beheaded, lets just recap some of the key points they don't tell you upfront:

                      1) you can't have variables (only constats)
                      2) you can't break out of loops
                      3) you can't return results from "procedures"
                      4) you can't convert tree chunk into node-set without calling implementor's specific function (usually node-set) (the twats!!!)
                      5) you are basically fked as the whole model is too static - you can't for example make up dynamicaly piece of template and execute it
                      6) you can't use variables in Xpath bits to specify variable Attribute or Element names - they (constants wrongly referred to as vars) for values
                      7) you will waste most of the time looking for fked in the head workarounds to things that can be trivially and quickly done if they (at least!) had proper variables!

                      Conclusion:
                      XSLT is S**T DESIGN!

                      Sadly no good alternative for something similarly flexibly with XML and safe from execution point of view (no access to filesystem etc). What a waste of opportunity this is.
                      And all of this IS BY DESIGN!!!!!!

                      XSLT is a functional not a procedural language.

                      HOW MANY MORE TIMES!!!!!!!!
                      First Law of Contracting: Only the strong survive

                      Comment

                      Working...
                      X