A Proposal of an Automatic Formatting Method for Transforming XML Data
Authors: Zhe JIN, Motomichi TOYAMA
Abstract:
PPX(Pretty Printer for XML) is a query language that offers a concise description method of formatting the XML data into HTML. In this paper, we propose a simple specification of formatting method that is a combination description of automatic layout operators and variables in the layout expression of the GENERATE clause of PPX. This method can automatically format irregular XML data included in a part of XML with layout decision rule that is referred to DTD. In the experiment, a quick comparison shows that PPX requires far less description compared to XSLT or XQuery programs doing same tasks.
Keywords: PPX, Irregular XML data, Layout decision rule, HTML.
Digital Object Identifier (DOI): doi.org/10.5281/zenodo.1328476
Procedia APA BibTeX Chicago EndNote Harvard JSON MLA RIS XML ISO 690 PDF Downloads 1420References:
[1] D. Chambelin, J. Clark, D. Florescu, J. Robie, J. SimLeon, and M. Stefanescu. XQuery 1.0: An XML query language. W3C Working Draft, June 2001.
[2] J. Clark, editor. XSL Transformations (XSLT), Version 1.0, W3C Recommendation 16 November 1999. W3C, 1999.
[3] M. Kay, editor: XSL Transformations (XSLT), Version 2.0, W3C Recommendation 27 January 2007. W3C, 2007.
[4] Pawson, D: XSL-FO: Making XML Look Good in Print. O-Reilly, United States, 2002.
[5] Lie. H., Bos, B, Lilley, C., and Jacobs, I. Cascading Style Sheets, Level 2. W3C; see www.w3.org/TR/.
[6] Ramin Firoozye: XML and XSL from servers to cell-phones, a new Internet content model. Proceedings of XML Europe2000, Paris, france, 2000.
[7] Volker Turau: A Caching System for Web Content Generated from XML Sources Using XSLT. OOIS 2002 Workshops, LNCS 2426, pp.197-207, 2002.
[8] M. Rys: XQuery in Relational Database Systems. XML 2004 Conference, Washington DC, Nov 2004.
[9] W3C: XML Path Language (XPath). http://www.w3.org/TR/.
[10] M. Toyama: SuperSQL: An Extended SQL for Database Publishing and Presentation. Proc. ACM SIGMOD, 1998, pp.584-586.
[11] UW XML repository: http://www.cs.washington.edu/research/xmldatasets.
[12] www.Altova.com/XMLSpy.
[13] H. Hosoya and B. C. Pierce. XDuce: A statically typed XML processing language. ACM Transaction on Internet Technology (TOIT), pp.117-148, May 2003.
[14] T. Seto, T. Nagafuji, M. Toyama. Generating HTML Sources with TFE Enhanced SQL, ACM Symposium on Applied Computing(SAC-97), ACM(1997), pp.96-105.