SnorneWeini
New Member
I am converting an XML file to another XML file using XSLT. XML file has element like this:\[code\]<Course> <ID>1001</ID> <Seats>10</Seats> <Description>Department: CS , Faculty: XYZ</Description></Course>\[/code\]Now is there any way in XSLT by which when I generate new XML file that looks like this:\[code\]<Course> <ID>1001</ID> <Seats>10</Seats> <Department> CS </Department> <Faculty> XYZ</Faculty></Course>\[/code\]That is I want to split the Description element into two different elements Department and Faculty which are basically its content separated by comma. I used XMLspy to wrote my XSLT.Thank you in advance.