[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: David Megginson <ak117@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 4 Mar 1998 11:02:54 -0500
xml attribute transformation
Rob McDougall writes:

 > So now that I concede that there's only a requirement for one
 > language, my next question is "Is that language XSL?".  To put
 > things another way, "Can I use XSL as a general XML->XML
 > transformation language?".

It's certainly an interesting idea.  Here's one possible syntax for a
rule that would transform <para>...</para> to <P x="y">...</P>:

  <rule>
    <target-element type="para"/>
    <xml-element type="P">
      <xml-attribute-list>
	<xml-attribute name="x" value="y"/>
      </xml-attribute-list>
      <children/>
    </xml-element>
  </rule>

James already did something like this with Jade.  From an
implementation perspective, this is an easy one (just define a set of
XML flow object classes); from a standards perspective, it may not be:
it depends on the boundaries that the XSL group has accepted for their
work.


All the best,


David

-- 
David Megginson                 ak117@xxxxxxxxxxxxxxxxxxx
Microstar Software Ltd.         dmeggins@xxxxxxxxxxxxx
      http://home.sprynet.com/sprynet/dmeggins/


 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.