[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Creating list using xslt


Subject: [xsl] Creating list using xslt
From: "jaya k jayak_36@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 19 Nov 2014 20:39:06 -0000

Hi All,

I have below xml
<?xml version="1.0" encoding="UTF-8"?><Employee
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
><FirstName>John</FirstName><LastName>Peter</LastName><Initial>T</Initial></E
mployee>
I want to write an xslt to output below xml from the xml above, can anyone
help to me write this xslt?
<?xml version="1.0" encoding="UTF-8"?><ArrayOfstringVariable
xmlns="http://schemas.abc.org/2004/07/" B  B  B 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><stringVariable><name>F
irstName</name><value>John</value></stringVariable><stringVariable><name>Last
Name</name><value>Peter</value></stringVariable><stringVariable><name>Initial
</name><value>T</value></stringVariable></ArrayOfstringVariable>Thanks in
advance


Current Thread
Keywords