XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> - How can i attach a empty names... (1)
-> + Cannot find a matching 1-argum... (7)
-> - get value from different docum... (1)
-> + How can I change the XML heade... (2)
-> + Stylus Studio and Datapower (9)
-> + Generate XML form a XSD (2)
-> + There is no way to run xslt tr... (3)
-> + XML-Source NS is copied into t... (3)
-> + new guy attempting xslt (2)
-> + XML 2011 question (7)
-> + Manipulating XML with external... (2)
-> + removing duplicates from xml w... (8)
-> + Wnat to use presence of tag t... (2)
-> + modifing Andrew Welch's csv 2 ... (5)
-> + Can't use (or see) XSLT or WYS... (3)
-> + Delete the xsi:nil attribute ... (2)
-> + FOTY0012: Cannot get the typed... (20)
-> + XSLT Mapper - Two way xslt map... (2)
-> + EDI (5)
-> + XSL Test for lack of XML eleme... (4)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2016)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
chandrasekhar ValmikiSubject: How to convert XML to XLS file in XSLT for generic
Author: chandrasekhar Valmiki
Date: 19 Aug 2012 10:25 PM
Hi ,

Below is the XML which i need to convert to .XLS file along with header.

<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_ZHTR1040I_Appraisal_To_Sentient_OUT xmlns:ns0="http://Axe/HTR/OU/ZHTR1040I_Appraisal_Data_To_Sentient">
<Record>
<EMPLOYEE_ID>123</EMPLOYEE_ID>
<SUPERVISOR_ID>123</SUPERVISOR_ID>
<JOB_CODE>123</JOB_CODE>
<EMAIL>chandra@gmail.com</EMAIL>
<LOCATION_CODE>750038</LOCATION_CODE>
<FIRST_NAME>chandra</FIRST_NAME>
<MIDDLE_NAME>sekhar</MIDDLE_NAME>
<LAST_NAME>valmiki</LAST_NAME>
<DOB>11/09/1977</DOB>
<RACE>indian</RACE>
<AGE>34</AGE>
<GENDER>m</GENDER>
<TARGET_BONUS>0</TARGET_BONUS>
<HIRE_DATE>09/05/2005</HIRE_DATE>
<CATEGORY_ID>temp</CATEGORY_ID>
<CURRENT_SAL>123</CURRENT_SAL>
<SALARY_DATE>11/01/2012</SALARY_DATE>
<CURRENCY_ID>123</CURRENCY_ID>
<YEARLY_HRS>123</YEARLY_HRS>
<PRORATED_SAL>123</PRORATED_SAL>
<PLAN_ELIGIBLE>123</PLAN_ELIGIBLE>
<BUDGET_AMOUNT>12.00</BUDGET_AMOUNT>
<POSITION>SR</POSITION>
<DIVISION_ID>123</DIVISION_ID>
<PAY_AREA>123</PAY_AREA>
<LAST_SAL_ACTDATE>123</LAST_SAL_ACTDATE>
<STOCK_BUDGET>123</STOCK_BUDGET>
<LIST_VIEW>123</LIST_VIEW>
<STI_BUDGET>123</STI_BUDGET>
</Record>
</ns0:MT_ZHTR1040I_Appraisal_To_Sentient_OUT>

Thanks,
Chandra.

Posttop
Ivan PedruzziSubject: How to convert XML to XLS file in XSLT for generic
Author: Ivan Pedruzzi
Date: 20 Aug 2012 11:33 AM

Have a look at the video tutorial at
http://www.stylusstudio.com/videos/xml_to_csv/xml_to_csv.html


Ivan Pedruzzi
Stylus Studio Team

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.