At 2007-04-16 17:12 -0500, Angela Williams wrote:
What design documents have you found to be the most useful for XSLT?
Flow charting and sequence diagrams don't seem to me to be very
practical...
Right ... flow implies mapping an imperative programming style while
XSLT is primarily declarative with matching template rules.
I don't think I've ever tried to depict a stylesheet in diagram, so I
couldn't suggest what you might be able to work backwards from.
What would your objective be in diagramming a declarative set of
template matches on your source document? "Flow" is dictated by your
input XML triggering your stylesheet templates. The only flow you
really have are functions and called templates, which are called from
inside template that are triggered by outside stimuli (the nodes from
your source tree).
You characterized your question using the words "design documents"
... so are you speaking of before the act of writing the actual
stylesheet code, or are you looking at somehow reflecting an existing
stylesheet in a diagram?
. . . . . . . . . . . . . Ken
--
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds: publicly-available developer resources and training
G. Ken Holman mailto:gkholman(_at_)CraneSoftwrights(_dot_)com
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
--~------------------------------------------------------------------
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>
--~--