[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Recognizing Sequences (was More XSL Discussion)

Subject: Re: Recognizing Sequences (was More XSL Discussion)
From: "Michael Kay" <M.H.Kay@xxxxxxxxxxxxx>
Date: Fri, 27 Feb 1998 12:15:08 -0000
Re: Recognizing Sequences (was More XSL Discussion)
>In this transformation, a simplistic mapping is possible between
><definition-list> and <TABLE>, <term> and <TD>, and <definition> and <TD>.
>There is no simple mapping that results in <TR>.  In an ideal world we
would
>go back to our source DTD and group each <term>/<definition> pair in an
><item> element.  In the real world, this is not possible.  Specifying an
>element sequence that could be mapped into the <TR> is a plausible solution
>that the XSL WG should explore.


The RPG analagy reminds me of how we used to do this in our proprietary 4GL
for processing (and generating reports on) files including heirarchic
(multi-record-type) COBOL files. Essentially the technique was to create a
description of the input file as a Jackson structure (a tree containing
sequence, choice, and iteration nodes: essentially the same as a BNF
definition of the file's syntax) and to associate processing actions with
the nodes of this structure. Much the same as a compiler-compiler, really,
except that the input was a COBOL data file or alternatively a hierarchic
view of a Codasyl database.

The natural conclusion from this line of reasoning might be that we ought
really to be associating processing actions with syntax rules in the
document's DTD. Thoughts?

Mike Kay, ICL


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.