xsl-list
[Top] [All Lists]

Re: [xsl] Display more than one table in generic xslt - reg

2010-03-23 11:23:15
Ramesh Kumar wrote:

I have a dataset with more than 1 data table. All data table will have
more than 1 rows.

So my XSLT requirement is to show all the datatables with all rows
displayed along with headers.

Every time the tables will different. So I want a generic xslt which
supports all tables.

I tried the XSLT below but all rows are displaying with headers
instead of a table having the headers.

Please help !

My XML data is
<?xml version="1.0" standalone="yes"?>
<Sales>
  <DocHead>
    <SysID>-2008080800041</SysID>
    <WFDocID>0</WFDocID>
</DocHead>
<Line>
    <SysID>-2008080800045</SysID>
    <ParentSysID>-2008080800041</ParentSysID>
    <DocType>51</DocType>
</Line>

<Line>
    <SysID>-2008080800046</SysID>
    <ParentSysID>-2008080800041</ParentSysID>
    <DocType>51</DocType>
</Line>
</Sales>

What output do you want for the above input?

--

        Martin Honnen
        http://msmvps.com/blogs/martin_honnen/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--