XPath expression not working in xslt stylesheet
-
I have the following expression in in my xslt stylesheet
/Products/DTA[name]
to match only those nodes that have a name node as a child. This works if I use the selectNodes function of the XmlDocument in ASP.NET but not when its in the xslt document. Can anyone shed any light on this? Thanks SuzyB If I had a better memory I would remember more. -
I have the following expression in in my xslt stylesheet
/Products/DTA[name]
to match only those nodes that have a name node as a child. This works if I use the selectNodes function of the XmlDocument in ASP.NET but not when its in the xslt document. Can anyone shed any light on this? Thanks SuzyB If I had a better memory I would remember more.you have to use if you want test for its existence and select
-
I have the following expression in in my xslt stylesheet
/Products/DTA[name]
to match only those nodes that have a name node as a child. This works if I use the selectNodes function of the XmlDocument in ASP.NET but not when its in the xslt document. Can anyone shed any light on this? Thanks SuzyB If I had a better memory I would remember more.You have to use If you like test for the existence of the node Raj
-
I have the following expression in in my xslt stylesheet
/Products/DTA[name]
to match only those nodes that have a name node as a child. This works if I use the selectNodes function of the XmlDocument in ASP.NET but not when its in the xslt document. Can anyone shed any light on this? Thanks SuzyB If I had a better memory I would remember more.You have to use If you like test for the existence of the node Raj