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

RE: Where is XML going

  • From: Philip Fennell <Philip.Fennell@marklogic.com>
  • To: Michael Kay <mike@saxonica.com>, "xml-dev@l..."<xml-dev@l...>
  • Date: Wed, 8 Dec 2010 03:42:14 -0800

RE:  Where is XML going

Micheal wrote:

 

> The main drawback seems to be that it's hard to parameterize it, that is,

> to make anything dependent on data content or user input.

 

I’d say you’d want to consider what is being planned for the xf:transform action in XForms. Currently, XForms has all the pieces necessary to do this bar the invoking of the transform, but that is already available as an extension in some implementations. With XForms it doesn’t all come out of a single element, you need to define an instance for the data and some events that trigger actions and something with which to bind the result to the view. But then that’s probably why it is difficult to parameterize all in one element.

 

Regards

 

Philip Fennell
Consultant
MarkLogic Corporation

 

 

 

From: Michael Kay [mailto:mike@saxonica.com]
Sent: 05 December, 2010 11:45 PM
To: xml-dev@lists.xml.org
Subject: Re: Where is XML going

 



 

Personally, I'd like to see an inline <transform> tag in HTML5:

 

<transform 

    stylesheet="xs:anyURI

    data=""xs:anyURI" 

    type="mime-type" 

    refresh="timeInterval

    asynch="xs:boolean"

    media="xs:NMTokens" 

    id="xs:ID">

      Default Internal Content

</transform> 

 

This would be a display tag that would load the data either from a server or from a block of XML in the client, then would apply they associated stylesheet to that data in order to provide output that would replace the current child content.


I've been thinking about doing something like this as an alternative to having to invoke a transformation using Javascript. The main drawback seems to be that it's hard to parameterize it, that is, to make anything dependent on data content or user input.

Michael Kay
Saxonica



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.