Last post Jul 27, 2014 10:01 PM by Kevin Shen - MSFT
Jul 24, 2014 05:52 PM|adamturner34|LINK
I can't seem to wrap my head around this and am hoping you can help.
I have an XElement and I need to implement an XLST inside one of the nodes from an array as follows:
Dim Errors() as string
Dim myXML as XElement = <Parent><Errors>Need to loop through above array and add a new row for each item here</Errors></Parent>
Any help appreciated.
Jul 27, 2014 10:01 PM|Kevin Shen - MSFT|LINK
Based on my understanding ,It seems that you want to validate your xml via XSLT, you can try the following steps:
Step 1: Define XML
Step 2: Define XSL as per our business rules defined above
Step 3: Define function which will be called from XSL
Step 4: Implement code validate XML with XSL as follows which will be called from XSL.
Here is a sample which you can refer to link below: