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. Appling XSL to XML - select attribute of node

Appling XSL to XML - select attribute of node

Scheduled Pinned Locked Moved XML / XSL
xmlhelplinuxlearning
2 Posts 2 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.
  • B Offline
    B Offline
    Bash
    wrote on last edited by
    #1

    Hi Gurus! I am a XML beginner. I am trying to create the xsl style sheet for the following XML document. I can't retrieve in XSL the value of attribute "Id" from the "Filter" node. This XML and XSL must be viewed in the regular IE 5.0 without additional MSXML packs. Help me! TCP 21122 4523487 TCP 8080 154953 7199212 2.xsl:

    ------Here is my problem

    Yours sincerely, Alex Bash

    M 1 Reply Last reply
    0
    • B Bash

      Hi Gurus! I am a XML beginner. I am trying to create the xsl style sheet for the following XML document. I can't retrieve in XSL the value of attribute "Id" from the "Filter" node. This XML and XSL must be viewed in the regular IE 5.0 without additional MSXML packs. Help me! TCP 21122 4523487 TCP 8080 154953 7199212 2.xsl:

      ------Here is my problem

      Yours sincerely, Alex Bash

      M Offline
      M Offline
      Michael A Barnhart
      wrote on last edited by
      #2

      I think this is closer to what you are looking for You have spelled trafficeReport with and without a capital T. Not the same element. the xsl:attribute -> Generates an attribute in the destination document. I do not think you were creating a new attribute but just using the value of what you have. http://www.vbxml.com/xsl/XSLTRef.asp is a fairly good online reference.

      "I will find a new sig someday."

      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