xsl-list
[Top] [All Lists]

Re: [xsl] Creating multiple xmls using xslt1.0

2012-05-17 06:42:24
split the input files and run them against the same transformation

On Thu, May 17, 2012 at 12:21 PM, Siddhi Thakkar 
<Siddhit(_at_)brickred(_dot_)com> wrote:
Hi experts,

I have an xml file like this:

<Data>
      <Row>
       <Cell1>text 1</Cell1>
        <Cell2>text 2</Cell2>
      </Row>
      <Row>
       <Cell1>text 3</Cell1>
        <Cell2>text 4</Cell2>
      </Row>
     <Row>.....<Row>
    <Row>.....<Row>
.....
</Data>



And I have thousands of <Row> elements like this. For the first 50 rows, I 
should be able to create an output xml with name Data1.xml, for next 50 rows 
output xml should be data2.xml, for next 50 rows output should be data3.xml 
and so on until all the rows are complete. And I have to achieve this with 
XSLT 1.0. Can anybody please help?

Thanks,
Siddhi

--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>
--~--