An algorithm for correcting XSLT rules according to DTD updates
Yang Wu, Nobutaka Suzuki · 2016
DTDs are continuously updated according to changes in the real world. Updates to a DTD affect the behavior of XSLT stylesheets as well as XML documents under the DTD. To maintain the consistencies of XSLT stylesheets with an updated DTD, we have to detect the XSLT rules affected by DTD updates and correct the affected XSLT rules so that the XSLT stylesheets transform documents under the updated DTD appropriately. However, correcting such affected rules manually are a difficult and time-consuming task, since recent DTDs are becoming larger and more complex and users do not always fully understand the dependencies between XSLT stylesheets and old/updated DTDs. In this paper, we propose an algorithm for correcting XSLT rules affected by DTD updates. We also present some experimental results.