{"title":"Adventures in Single-Sourcing XQuery and XSLT","authors":"M. Holstege","doi":"10.4242/balisagevol28.holstege01","DOIUrl":null,"url":null,"abstract":"This is a case study of a project to make a fairly substantial collection of XQuery function libraries available in XSLT. Various approaches with different capabilities are taken: Generating a stub stylesheet with a simple import of the XQuery module. Generating a more elaborate stylesheet with bindings for the functions and variables. Semi-automatically converting XQuery to XSLT using string manipulations. Semi-automatically converting XQuery to XSLT using the XQDoc XML as an intermediate format. There is consideration of the various sticking points and tradeoffs with these approaches.","PeriodicalId":89326,"journal":{"name":"Balisage series on markup technologies","volume":"1 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Balisage series on markup technologies","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4242/balisagevol28.holstege01","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
This is a case study of a project to make a fairly substantial collection of XQuery function libraries available in XSLT. Various approaches with different capabilities are taken: Generating a stub stylesheet with a simple import of the XQuery module. Generating a more elaborate stylesheet with bindings for the functions and variables. Semi-automatically converting XQuery to XSLT using string manipulations. Semi-automatically converting XQuery to XSLT using the XQDoc XML as an intermediate format. There is consideration of the various sticking points and tradeoffs with these approaches.