Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xml-dev] help request: incremental XSLT(-ish?) in javascript

From: "Michael Kay" <mike@--------.--->
To: "'Thomas Lord'" <lord@---.--->, <w3c@----.---->
Date: 10/8/2009 9:23:00 PM
> 
> I want a second DOM around - an XML object.   The HTML
> DOM for the page is related to the XML object either 
> literally by an XSLT script or by something similar.
> When I change the *XML DOM* - I want the HTML transformed DOM 
> to be incrementally updated.
> 
...
> 
> I am looking for a way so that if the Javascript program 
> modifies the XML - say by adding an additional book - that 
> the HTML DOM is automagically updated, say by inserting a new 
> "li" element in the appropriate place.
> 

Incremental transformation - only changing those parts of the output that
are affected by a change to the input - was one of the potential benefits
touted when XSLT was designed, and was said to be possible because of the
declarative nature of XSLT. In practice, it hasn't been delivered. I'm sure
it can be done in principle, as demonstrated by the "back-mapping" done by
debugging tools, which link elements in the output to the elements in the
input from which they were derived. But there's not much investment going
into client-side XSLT, which might have something to do with the fact that
it's rather hard to make a business case for such investment.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 


_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent