Subject:Select element value based on attribute values in XML. Author:Abhijeet Raje Date:24 Mar 2009 02:30 AM
I am applying XSLT to WSDL to generate html pages.
now, as WSDL is not having comprehensive details, i am adding XML documentation (.NET) as well in XSLT.
like this.. <xsl:variable name="ddoc" select="document('CustomerCare.ManageMeterReads.ServiceContracts.xml')" />
Here is the XML documentation....
Holds the configuration details for each Service.
WSDL is having element types e.g. EmployeeID ( i am able to extract the element types from XSDL, storing it in $type-local-name) however the description of that element is in above xml. my requirement is to get the "summary" element from above xml based on the member/name attribute.
WSDL just contain "EmployeeID" not full value "T:abc.pqr.test.CustomerCare.ManageMeterReads.ServiceContracts.CommonEntities.EmployeeID".
I tried this... but not working...