Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 5th, 2013, 04:10 AM
Registered User
 
Join Date: Aug 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to get the column names row by row for the given xml using xslt

Hi, I am a beginner for XSLT, Can someone help me to plot the columnNames suca as A,B,C as row by row.

XML:

<seatConfig>
<cabinSeatConfig hasMultipleSeatDecks="true">
<rowConfig noOfRows="72">
<columnConfig columnType="ST" columnName="A"/>
<columnConfig columnType="ST" columnName="B"/>
<columnConfig columnType="ST" columnName="C"/>
<columnConfig columnType="AL"/>
<columnConfig columnType="ST" columnName="D"/>
<columnConfig columnType="ST" columnName="E"/>
<columnConfig columnType="ST" columnName="F"/>
<columnConfig columnType="ST" columnName="G"/>
<columnConfig columnType="AL"/>
<columnConfig columnType="ST" columnName="H"/>
<columnConfig columnType="ST" columnName="J"/>
<columnConfig columnType="ST" columnName="K"/>
</rowConfig>
</cabinSeatConfig>
</seatConfig>

HTML should be:

A
B
C

D
E
F
G

H
J
K

Last edited by Smiley; August 5th, 2013 at 04:16 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert unfixed row and column from xml to xml smandeh XSLT 2 March 2nd, 2013 03:43 PM
XSLT for converting column based xml to row based one sayusekhar XSLT 4 March 8th, 2011 08:20 AM
$data[0][$row->parentid]['children'][$row->id] = $row->name mehdymahmood BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 1 February 2nd, 2010 02:19 AM
How to get the last row and last column value ramk_1978 SQL Server 2000 1 April 4th, 2005 06:34 PM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 12:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.