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

RE: Style vs. transformation

Subject: RE: Style vs. transformation
From: Jonathan Marsh <jmarsh@xxxxxxxxxxxxx>
Date: Wed, 4 Mar 1998 16:01:03 -0800
xsl overview
		-----Original Message-----
		From:	Smith, Brooke
[mailto:Brooke.Smith@xxxxxxxxxxxxxxxxxxx]
		Sent:	Wednesday, March 04, 1998 4:18 PM

		Perhaps I'm a little confused about XSL after reading the
Microsoft
		tutorial (http://www.microsoft.com/xml/xsl/).

		I thought that the actions were an output.  Here's what
Lesson #5 says
		essentially:

		The XSL:

		<rule>
		  <target-element/>
		  <DIV>
		    <children/>
		  </DIV>
		</rule>

		would turn:

		<document>
		  <chapter>
		    <title>XSL Overview</title>
		    <topic>Overview of XSL and its extensibility</topic>
		  </chapter>
		</document>

		into:

		<DIV>
		  <DIV>XSL Overview</DIV>
		  <DIV>Overview of XSL and its extensibility</DIV>
		</DIV>

		And thus the action consisted of action commands such as
'<children/>',
		and things that were sent to the output stream such as
'<DIV>' and
		'</DIV>' in this case.  Maybe what Microsoft was talking
about was
		directly connected to their XSL parser which they said only
delivered
		HTML (currently).
There are two types of elements possible within the "action" - flow objects
like <DIV> which are output, and commands like <children/> and
<select-elements/> which control processing by evaluating recursively to a
sub-tree of flow objects.  This is XSL according to the Proposal for XSL,
not a Microsoft derivative.

		The question posed from looking at Omnimark is why use XML
as the XSL
		script, where I see a problem with understanding what are
actions and
		what is the output (Question - is <DIV> different to
<children/>?)?  I
		had a go at learning DSSSL but haven't given it enough of a
go as it
		seems oh so complicated.  XSL seems much simpler though
obviously (for
		me) it causes confusion.  

I don't think you are alone in your confusion, I hope that this is an area
that can be improved.


Jonathan Marsh
phone   425.703.4591
 <mailto:jmarsh@xxxxxxxxxxxxx> jmarsh@xxxxxxxxxxxxx



 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.