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)
-> + Trouble Calling a java functio... (4)
-> + How to generate EDI 997 (2)
-> + followup on tokenize with /r (5)
-> + tokenize a string with \r (4)
-> - How to convert XML to XLS file... (2)
-> ->How to convert XML to XLS...
-> - How to convert XML to XLS file... (1)
-> + how to pass value to xsl for t... (3)
-> + entity expansion liimit exceed... (4)
-> + Creating XSLT Stylesheet (2)
-> + Create XSLT from XSD (2)
-> + How to remove nodes from xml b... (4)
-> + Highlighting text in XSL file (4)
-> - XSLT to Excel, predefine cell ... (1)
-> + CSaxon8Driver issue...time out (2)
-> + Is it possible to generate a X... (2)
-> + Is there any tool which genera... (2)
-> + xslt to html producing double ... (2)
-> - ADD 2 XML 2 Generate Single XM... (1)
-> + converting XML1 to XML2 struct... (2)
-> + How to remove the name space i... (2)
-- Previous [61-80] [81-100] [101-120] 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.