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
  1. Home
  2. Product Lifecycle
  3. Collaboration / Beta Testing
  4. CPP RFC-03 [ARTICLE SERIES]

CPP RFC-03 [ARTICLE SERIES]

Scheduled Pinned Locked Moved Collaboration / Beta Testing
c++combusinesscollaborationtools
16 Posts 5 Posters 12 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.
  • J Jason Henderson

    The question is, are XSLT transforms and such things available in CP articles. Will they work. If so, that would be fantastic. Can you give me some links to more info on XSLT transforms. I'd like to learn more about them.

    Jason Henderson

    latest CPP news

    "If you are going through hell, keep going." - Winston Churchill

    J Offline
    J Offline
    J Dunlap
    wrote on last edited by
    #6

    Jason Henderson wrote: The question is, are XSLT transforms and such things available in CP articles. Yes. For instance, you could have a frame that links to an XML file. The XML file's transform would be set to the XSL file you wanted it to be transformed with. This is the easiest way, but not the only way. The idea of XML is that the data is kept seperate from the way of viewing it. This prevents a substantial amount of time being wasted by editing HTML. Suppose you have an HTML file that contains a large list, and you want to change some aspect of the list's formatting. You have to go through the whole file, changing the format of each individual element. Now, you could put it in a database, and display it via an ASP page, but that is opening a whole new can of worms. The best way is to put the data in an XML file, and do the formatting via an XSLT transform. I'll get you some links as soon as I can. In the mean time, here is a link[^] to a bug report I made in XML. The whole thing is transformed using XSLT. This one's nothing fancy, though.

    "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
    "You must be the change you wish to see in the world." - Mahatma Gandhi

    1 Reply Last reply
    0
    • J Jason Henderson

      Requested by: Jason Henderson All Request For Comments (RFC) should be posted on my message board[^] where I will then post them here at the proper time. BEGIN ================================================= Here are *rough* layouts for a CPP article series. If we can consolidate pages or if we desperately need another, then please say so. If there is more info needed on a specific page, let's discuss it. Of course, these are just initial layouts and project leaders will be able to put more info/features in their articles once created. Article Series page layouts:

      CP2 Project Name - MAIN PAGE

      - critical_documents.zip

      - links to other article series pages

      - Development status
           - Dev. Environment/language

      - Abstract and general info
      _________________________________________
           - Messages/Comments

      CP2 Project Name - PROJECT MANAGEMENT

      - Team Member List
                 Project Leader
                 various other positions

      - Current Assignments
                who is assigned to what

      - Positions needed to be filled

      _________________________________________
           - Messages/Comments
                Requests to join

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #7

      So there will be a main Project page which links to the other articles related to the project? Just checking :) p.s. Gave my thoughts to peterchen (on his message board) and am interested to hear about your Harry Seldon Plan* :) * Now there is a cool project code if I ever heard one :-D

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Chris Losinger wrote: i hate needles so much i can't even imagine allowing one near The Little Programmer

      J R 2 Replies Last reply
      0
      • P Paul Watson

        So there will be a main Project page which links to the other articles related to the project? Just checking :) p.s. Gave my thoughts to peterchen (on his message board) and am interested to hear about your Harry Seldon Plan* :) * Now there is a cool project code if I ever heard one :-D

        Paul Watson
        Bluegrass
        Cape Town, South Africa

        Chris Losinger wrote: i hate needles so much i can't even imagine allowing one near The Little Programmer

        J Offline
        J Offline
        Jason Henderson
        wrote on last edited by
        #8

        Paul Watson wrote: So there will be a main Project page which links to the other articles related to the project? That's the plan. :)

        Jason Henderson

        latest CPP news

        "If you are going through hell, keep going." - Winston Churchill

        1 Reply Last reply
        0
        • J J Dunlap

          I think that we need to have a diary/changelog for each component, as well as the project as a whole. It might best be written in XML (with an XSLT transform), sort of like a blog, except with an expandable node for each component. Example:

          GUI Library
          [-]Scrollable Viewport
          [-]June 7, 2003 - Fixed re-painting bug
          Fixed a bug which caused anomalies and un-painted
          areas when a window was dragged over the control.
          [+]June 8, 2003 - Completed pixel zoom implementation
          [+]ListView
          .
          .
          .
          etc.

          Also, Current Assignments, and the index of design documents could be in XML. (BTW, I'd be glad to do it for you.) Maybe we could do the UML design in ProxyDesigner, since they have support for publishing/collaborating on the web?

          "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
          "You must be the change you wish to see in the world." - Mahatma Gandhi

          J Offline
          J Offline
          Jason Henderson
          wrote on last edited by
          #9

          Ok, I've read all about XSL(T) and I think I could make something like this with a little javascript mixed in to expand the nodes. The only thing is, it may take a while, plus I'm not sure if code project filters javascript or iframes out of articles when they are posted. Another problem would be updating the xml file. You would have to go through the whole article update process to upload the file. You could bet your left testicle that Chris doesn't allow vbscript in the article contents, so updating the file via the asp page probably isn't an option. So if you can prove to me that this works (maybe post your own article on XSL, since there aren't any good ones here) we'll go with it. Otherwise, we're stuck with the old tried and true methods.

          Jason Henderson

          latest CPP news

          "If you are going through hell, keep going." - Winston Churchill

          J 1 Reply Last reply
          0
          • J Jason Henderson

            Ok, I've read all about XSL(T) and I think I could make something like this with a little javascript mixed in to expand the nodes. The only thing is, it may take a while, plus I'm not sure if code project filters javascript or iframes out of articles when they are posted. Another problem would be updating the xml file. You would have to go through the whole article update process to upload the file. You could bet your left testicle that Chris doesn't allow vbscript in the article contents, so updating the file via the asp page probably isn't an option. So if you can prove to me that this works (maybe post your own article on XSL, since there aren't any good ones here) we'll go with it. Otherwise, we're stuck with the old tried and true methods.

            Jason Henderson

            latest CPP news

            "If you are going through hell, keep going." - Winston Churchill

            J Offline
            J Offline
            J Dunlap
            wrote on last edited by
            #10

            See here[^] for my version of an XSL tree. * ;) It uses Javascript (in a seperate file), though, so it might not work in an article. It's really nice, so I hope it works out to embed it in an article. It's not complete, but it is certainly very functional. I hope to soon add arrow-key navigation as well as mouse navigation, and take off the "more" link for items that don't have any link, etc. BTW, in case you are wondering, this particular XML file is some of my preliminary ideas for the GUI Library (but of course, the XSL transform can be applied to any other XML file). I'll get into more detail on this tommorrow (Monday), including making available the UML model for it. *[Note to Mozilla users: Mozilla does not currently support XML/XSL, so this will not show up in Mozilla. If necessary, I can pre-transform it to an HTML file just for viewing.]

            "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
            "You must be the change you wish to see in the world." - Mahatma Gandhi

            J 1 Reply Last reply
            0
            • P Paul Watson

              So there will be a main Project page which links to the other articles related to the project? Just checking :) p.s. Gave my thoughts to peterchen (on his message board) and am interested to hear about your Harry Seldon Plan* :) * Now there is a cool project code if I ever heard one :-D

              Paul Watson
              Bluegrass
              Cape Town, South Africa

              Chris Losinger wrote: i hate needles so much i can't even imagine allowing one near The Little Programmer

              R Offline
              R Offline
              Roger Allen
              wrote on last edited by
              #11

              Paul Watson wrote: about your Harry Seldon Plan No we are not going to plan out the resurgence of humanity and predict what its going to do. We need to build a foundation of some sort first. And the maths! Only Colin would be interested. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

              P 1 Reply Last reply
              0
              • R Roger Allen

                Paul Watson wrote: about your Harry Seldon Plan No we are not going to plan out the resurgence of humanity and predict what its going to do. We need to build a foundation of some sort first. And the maths! Only Colin would be interested. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

                P Offline
                P Offline
                Paul Watson
                wrote on last edited by
                #12

                And the maths! Only Colin would be interested. :laugh: Never a truer word was spoken! Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003 LOL, I said that? Hell, better go search for it to remember. And I am honoured of course :)

                Paul Watson
                Bluegrass
                Cape Town, South Africa

                Chris Losinger wrote: i hate needles so much i can't even imagine allowing one near The Little Programmer

                R 1 Reply Last reply
                0
                • P Paul Watson

                  And the maths! Only Colin would be interested. :laugh: Never a truer word was spoken! Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003 LOL, I said that? Hell, better go search for it to remember. And I am honoured of course :)

                  Paul Watson
                  Bluegrass
                  Cape Town, South Africa

                  Chris Losinger wrote: i hate needles so much i can't even imagine allowing one near The Little Programmer

                  R Offline
                  R Offline
                  Roger Allen
                  wrote on last edited by
                  #13

                  Paul Watson wrote: LOL, I said that? Hell, better go search for it to remember. You say a lot of things, most of which is quickly forgotten (fortunately) ;P Paul Watson wrote: And I am honoured of course You have been my sig for a long time now, and you only just noticed? :omg: I think I will have to increase my volume of posts (which is likely with me being a project leader for the UGLY team). It may also be time for a sig change. Looks like I will have to keep my eyes open for likely candidates. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

                  1 Reply Last reply
                  0
                  • J J Dunlap

                    See here[^] for my version of an XSL tree. * ;) It uses Javascript (in a seperate file), though, so it might not work in an article. It's really nice, so I hope it works out to embed it in an article. It's not complete, but it is certainly very functional. I hope to soon add arrow-key navigation as well as mouse navigation, and take off the "more" link for items that don't have any link, etc. BTW, in case you are wondering, this particular XML file is some of my preliminary ideas for the GUI Library (but of course, the XSL transform can be applied to any other XML file). I'll get into more detail on this tommorrow (Monday), including making available the UML model for it. *[Note to Mozilla users: Mozilla does not currently support XML/XSL, so this will not show up in Mozilla. If necessary, I can pre-transform it to an HTML file just for viewing.]

                    "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                    "You must be the change you wish to see in the world." - Mahatma Gandhi

                    J Offline
                    J Offline
                    Jason Henderson
                    wrote on last edited by
                    #14

                    It would be nice to be able to add this in an iframe to an article. Maybe you could host the xml and style sheet and we could just reference it in the iframe.

                    Jason Henderson

                    latest CPP news

                    "If you are going through hell, keep going." - Winston Churchill

                    J 1 Reply Last reply
                    0
                    • J Jason Henderson

                      It would be nice to be able to add this in an iframe to an article. Maybe you could host the xml and style sheet and we could just reference it in the iframe.

                      Jason Henderson

                      latest CPP news

                      "If you are going through hell, keep going." - Winston Churchill

                      J Offline
                      J Offline
                      J Dunlap
                      wrote on last edited by
                      #15

                      Jason Henderson wrote: Maybe you could host the xml and style sheet and we could just reference it in the iframe. That might work. Just so long as I don't exceed my allotted bandwidth.

                      "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                      "You must be the change you wish to see in the world." - Mahatma Gandhi

                      J 1 Reply Last reply
                      0
                      • J J Dunlap

                        Jason Henderson wrote: Maybe you could host the xml and style sheet and we could just reference it in the iframe. That might work. Just so long as I don't exceed my allotted bandwidth.

                        "Blessed are the peacemakers, for they shall be called sons of God." - Jesus
                        "You must be the change you wish to see in the world." - Mahatma Gandhi

                        J Offline
                        J Offline
                        Jason Henderson
                        wrote on last edited by
                        #16

                        Don't count on it.

                        Jason Henderson

                        latest CPP news

                        "If you are going through hell, keep going." - Winston Churchill

                        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