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. xsl:if and xsl:apply-template

xsl:if and xsl:apply-template

Scheduled Pinned Locked Moved XML / XSL
xmllounge
4 Posts 3 Posters 2 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.
  • K Offline
    K Offline
    karanba
    wrote on last edited by
    #1

    How could an if statment comes true if there is a child node of current node. It must be general, ... and recursion works in . karanba

    C 1 Reply Last reply
    0
    • K karanba

      How could an if statment comes true if there is a child node of current node. It must be general, ... and recursion works in . karanba

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      XSL has a function called count. So you need to ask if a count of the child nodes is greater than 0. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
      Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

      S 1 Reply Last reply
      0
      • C Christian Graus

        XSL has a function called count. So you need to ask if a count of the child nodes is greater than 0. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
        C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
        Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

        S Offline
        S Offline
        Stephane Rodriguez
        wrote on last edited by
        #3

        I have got one more question for you Christian. Here it is : Thanks. :laugh:

        C 1 Reply Last reply
        0
        • S Stephane Rodriguez

          I have got one more question for you Christian. Here it is : Thanks. :laugh:

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          and if that doesn't work . Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
          Again, you can screw up a C/C++ program just as easily as a VB program. OK, maybe not as easily, but it's certainly doable. - Jamie Nordmeyer - 15-Nov-2002

          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