Abstract
We propose a differential XSLT stylesheet generation method for arbitrary pairs of XML contents. It is possible to obtain the revised XML document by supplying the XSLT stylesheet with the differential data to the original XML document. Comparing with sending whole revised XML document, the original XML document can be updated by sending less information, the differential data. This paper introduces a difference detection algorithm based on the DOM tree and a difference representation method that permits the expression of difference information. We also discuss a new XSLT function for the proposed method. We also introduce prototype software implemented based on proposed method and evaluation result that shows the effectiveness of our method. An experiment shows that the proposed method is suitable for updating XML contents, especially for web service in the costly mobile network.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Bray, T., el al.: Extensible Markup Language (XML) 1.0, 2nd edn. W3C Recommendation (2000)
Baker, M., et al.: XHTML Basic. W3C Recommendation (2000)
Mogul, J.C., et al.: Potential benefits of delta-encoding and data compression for HTTP. In: Proceeding of SIGCOMM 97. (1997)
Mogul, J.C., et al.: Delta Encoding in HTTP. RFC3229. The Internet Engineering Task Force (2002)
Clark, J.: XSL Transformations (XSLT) Version 1.0. W3C Recommendation (2000)
Le Hors, A., et al.: Document Object Model (DOM) Level 2 Core Specification Version 1.0. W3C Recommendation (2000)
Clark, J.: XML Path Language (XPath) Version 1.0. W3C Recommendation (1999)
The, GNU: Project (2002) Diffutils [Software]. Version 2.8.1. (Accessed 25 January 2005) Available from, http://www.gnu.org
Open Source Technology Group: diffxml [software] Version 0.92A. SourceForge.net. (Accessed 25 January 2005) (2004a) Available from, http://diffxml.sourceforge.net/
Open Source Technology Group (2004b) SAXON [software]: version 8.2. SourceForge.net. (Accessed 25 January 2005) Available from: http://saxon.sourceforge.net/
The Apache Software Foundation (2004) xalan-J [software] version 2.6.0. http://www.apache.org [Accessed 25 January 2005] Available from http://www.apache.org/dyn/closer.cgi/xml/xalan-j
La Fontaine, R.: A Delta Format for XML: Identifying Changes in XML Files and Representing the Change in XML. In: XML Europe 2001 (2001)
Curbera, F.P., et al.: Fast Difference and Update of XML Documents. XTech’99 held in San Jose (1999)
Ishikawa, N., et al.: Automatic Generation of a Differential XSL Stylesheet From Two XML Documents. In: Proceeding of WWW Conference 2002 held in Hawaii. WWW Conference 2002 (2002)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Kato, T., Ueno, H., Ishikawa, N. (2007). An Automatic Generation Method of Differential XSLT Stylesheet from Two XML Documents. In: Filipe, J., Cordeiro, J., Pedrosa, V. (eds) Web Information Systems and Technologies. Lecture Notes in Business Information Processing, vol 1. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-74063-6_5
Download citation
DOI: https://doi.org/10.1007/978-3-540-74063-6_5
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-74062-9
Online ISBN: 978-3-540-74063-6
eBook Packages: Computer ScienceComputer Science (R0)