Contents of 2nd-Flat2Hierarchic zipfile:

   Flatfile1.xml    
   Flat2hier.xsl 
   Hierarchic2.xml

The file "Flatfile1.xml"  contains three general ledger
journal entries, each having two or more rows.  Each row
of the general ledger listing contains a JEID identifying
what journal entry it is associated with, and the JE Date.

The file "Flat2hier.xsl" is a generic XSL stylesheet that 
illustrates how a journal entry which is formatted in a flat
structure can be transformed into a hierarchy consisting of
a header, and child rows belonging to the header, i.e., it converts 
the eight Journal Entry rows representing all of the debits 
and credits into three GL JE's.

The XML file that results from the XSLT transformation is also
included ("Hierarchic2.xml").  However the intention of this tutorial
is that you will use your own XSLT parser, such as James Taubers' 
XT utility, to execute the transformation, and view the result in your
own text editor.  The resulting file should be the same as 
the enclosed "Hierarchic2.xml"

Run2.bat is a batchfile which executes the transformation using
the command line, using James Taubers' "XT" utility, 

Command syntax:
  XT   (source XML)      (XSL sheet)   (result XML)
  XT   flatfile1.xml    Flat2hier.xsl  Hierarchic2.xml

See http://www.oasis-open.org/cover/xslSoftware.html#xt,

Todd Boyle CPA 7/29/2000   rootledger.com

  
