Passing a List object to an xslt file
-
Hi guys, If possible do any of you know how I can pass a List object to my xslt which will form part of my SQL query? This is what I'm tryin to achevive: First of all I will have a class being serialized and then deserialized using XML serialized in the case Client.cs. In the class I have a List property which will return a list of Client names: public List ClientNames Now in the next step I have an xslt that will transform my deserialized class and which will use the class properties as parameters to my SQL query. The code within the xsl are as follows: SELECT * FROM Client WHERE Client.ClientFirstName IN ('Test', 'Ben', 'Tom') Now what I'm trying to achieve is to pass the List object to my SQL IN clause using xslt... is that possible? Any help will be greatly appreciated. R
-
Hi guys, If possible do any of you know how I can pass a List object to my xslt which will form part of my SQL query? This is what I'm tryin to achevive: First of all I will have a class being serialized and then deserialized using XML serialized in the case Client.cs. In the class I have a List property which will return a list of Client names: public List ClientNames Now in the next step I have an xslt that will transform my deserialized class and which will use the class properties as parameters to my SQL query. The code within the xsl are as follows: SELECT * FROM Client WHERE Client.ClientFirstName IN ('Test', 'Ben', 'Tom') Now what I'm trying to achieve is to pass the List object to my SQL IN clause using xslt... is that possible? Any help will be greatly appreciated. R