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