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. General Programming
  3. XML / XSL
  4. How to insert Comma between templates

How to insert Comma between templates

Scheduled Pinned Locked Moved XML / XSL
wpfcomxmlhelptutorial
6 Posts 2 Posters 0 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.
  • S Offline
    S Offline
    Sushant_Mathur
    wrote on last edited by
    #1

    I am using xsl:apply-templates and between result of every template i want to insert comma(",") so my code for the same is as below: , but above code is not working,please help me.. Thanks in advance. Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

    G 1 Reply Last reply
    0
    • S Sushant_Mathur

      I am using xsl:apply-templates and between result of every template i want to insert comma(",") so my code for the same is as below: , but above code is not working,please help me.. Thanks in advance. Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      You place text in the select attribute surrounding it with single quotes: "We make a living by what we get, we make a life by what we give." --Winston Churchill

      S 1 Reply Last reply
      0
      • G George L Jackson

        You place text in the select attribute surrounding it with single quotes: "We make a living by what we get, we make a life by what we give." --Winston Churchill

        S Offline
        S Offline
        Sushant_Mathur
        wrote on last edited by
        #3

        Thanks for reply George but still its not working :((

        Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

        G 2 Replies Last reply
        0
        • S Sushant_Mathur

          Thanks for reply George but still its not working :((

          Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

          G Offline
          G Offline
          George L Jackson
          wrote on last edited by
          #4

          What are you trying to do?

          "We make a living by what we get, we make a life by what we give." --Winston Churchill

          1 Reply Last reply
          0
          • S Sushant_Mathur

            Thanks for reply George but still its not working :((

            Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

            G Offline
            G Offline
            George L Jackson
            wrote on last edited by
            #5

            Okay, if you are trying to place a comma between each "apply-templates" call, I would put the comma in the template being called: XML: Red Green Black XSLT: Comma Delimited

            ,  "We make a living by what we get, we make a life by what we give." --Winston Churchill

            S 1 Reply Last reply
            0
            • G George L Jackson

              Okay, if you are trying to place a comma between each "apply-templates" call, I would put the comma in the template being called: XML: Red Green Black XSLT: Comma Delimited

              ,  "We make a living by what we get, we make a life by what we give." --Winston Churchill

              S Offline
              S Offline
              Sushant_Mathur
              wrote on last edited by
              #6

              Thanks a lot Geroge...i was looking for the same kind of solution.. thanks again

              Sushant Mathur Bangalore, INDIA. http://n.domaindlx.com/fun2ssh/HOME.htm

              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