[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-346857-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-346857-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","how-to-convert-a-tei-document-to-pdf-within-the-oxygen-xml-editor","How to Convert a TEI Document to PDF within the \u003CoXygen/> XML Editor","","How to Convert a TEI Document to PDF within the \u003CoXygen/> XML Editor explains how to author a TEI XML document using the TEILite DTD and then transform it into PDF directly from the \u003CoXygen/> environment. The workflow covers creating a TEI skeleton from built-in templates, editing TEI markup with DTD-driven completion, and performing the transformation to PDF via TEI XSL-FO stylesheets and Apache FOP, including guidance for configuring an external FO or other post processor.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/how-to-convert-a-tei-document-to-pdf-within-the-oxygen-xml-editor/346857/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/how-to-convert-a-tei-document-to-pdf-within-the-oxygen-xml-editor/346857.png","ImageObject",300,407,{"name":42,"@type":43},"Kurz","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",15,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How do you create a TEI XML document using the TEILite DTD in \u003CoXygen/>?","Question",{"text":63,"@type":64},"Use File menu → New from Templates, select the TEILite template, and confirm with OK so \u003CoXygen/> generates a skeleton TEI document with a DTD declaration and minimum markup.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What helps during XML editing in the editor?",{"text":68,"@type":64},"The editor scans the DTD file and initializes a content completion assistant, showing available elements, attributes, and default values when you press keys like “\u003C”, SPACE/TAB, or quotation marks.",{"name":70,"@type":61,"acceptedAnswer":71},"How is the TEI document transformed into PDF?",{"text":72,"@type":64},"Transform it to PDF using TEI XSL-FO stylesheets and Apache FOP integrated with \u003CoXygen/>, and configure an external FO processor or other post processor when needed.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},346857,1790920517,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":146,"preview_page_count":33,"preview_urls":147},2336478945635,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","How to Convert aTEI Document to PDF within the \u003CoXygen/> XML Editor  \nAbstract  \nThis article is intended to prove how easy it is to create a TEI XML (Text Encoding Initiative) document and then convert it to the PDF format, all from within the \u003CoXygen/> XML editor. We will use the TEILite DTD, the TEI XSL-FO stylesheetsand the Apache's FOP, all of which are integrated into the \u003CoXygen/> installation kit.  \nTable of Contents  \nCreating an XML Document Using the TEI Lite DTD ........................................................... 1  \nEditing the XML Document ............................................................................................. 3  \nTransforming to PDF ...................................................................................................... 6  \nConfiguring an external FO processor, or other post processor ................................................ 9  \nCreating an XML Document Using the TEI Lite DTD  \nFrom the File menu choose New from Templates ... . The following window will be displayed, allowing you to choose from a list of built-in document templates as starting points foryour TEI XML documents:  \nFigure 1. Document templates in \u003CoXygen/>  \nChoose one of the TEI document templates from the list of built-in templates. If you select the TEILite template and click on the OK button \u003CoXygen/> will automatically generate and open a skeleton document with a DTD declaration and minimum markup conforming to the declared DTD. The encoding is automatically set to \"UTF-8\".  \nHow to Convert a TEI Document to PDF within the \u003CoXygen/> XML Editor  \nFigure 2. Skeleton TEI document  \nIf you wish to use a customized special-purpose TEI schema of type DTD, RELAX NG and W3C XML Schema (for example generated with the Roma program [[http://tei.oucs.ox.ac.uk/Roma/](http://tei.oucs.ox.ac.uk/Roma/)], available on the TEI website [[http://www.tei-c.org/Software/](http://www.tei-c.org/Software/)]) you can manually modify the default document type declaration at the beginning of the document.  \nNote  \nThe encoding can be changed at any time by editing the XML prolog, for instance, changing to UTF-16:  \n\u003C?xml version=\"1 .0\" encoding=\"UTF-16\"?>  \nEditing the XML Document  \nThe editor will scan the DTD file and will initialize the content completion assistant. By pressing the\"\u003C\" key, it is displayed a window containing all the elements that can be inserted at that point in the document. Notice that the window appears also when adding new attributes or when an attribute has default values you can choose from. In the first case the content completion window is triggered by pressing the SPACE key or the TAB key, in the later by pressing ' or \" keys.  \nA simple TEI document can be:  \n\u003C?xml version=\"1 .0\" encoding=\"UTF-8\"?>  \n\u003C! DOCTYPE TEI .2  \nPUBLIC \" -//TEI Consortium//DTD TEI Lite XML ver . 1//EN\"  \n\"[http://www.tei-c.org/Lite/DTD/teixlite.dtd](http://www.tei-c.org/Lite/DTD/teixlite.dtd) \" [  \n\u003C! ENTITY % TEI .XML 'INCLUDE'>  \n]>  \n\u003CTEI .2>  \n\u003CteiHeader type=\"text\">  \n\u003CfileDesc>  \n\u003CtitleStmt>  \n\u003Ctitle type=\"main\">Main title goes here\u003C/title>  \n\u003Ctitle type=\"sub\">Subtitle goes here\u003C/title>  \n\u003Cauthor>syncRO soft Ltd .\u003C/author>  \n\u003C/titleStmt>  \n\u003CeditionStmt>  \n\u003Cedition/>  \n\u003C/editionStmt>  \n\u003Cextent>  \n\u003Cseg type=\"size\">Filesize uncompressed: 10 Kbytes .\u003C/seg>\u003Cseg type=\"format\">XML TEI Lite\u003C/seg>  \n\u003Cseg type=\"location\">online\u003C/seg>  \n\u003C/extent>  \n\u003CpublicationStmt>  \n\u003Cdistributor>  \n\u003Caddress>  \n\u003CaddrLine>  \n\u003Cname type=\"organisation\">syncRO soft Ltd .\u003C/name>  \n\u003C/addrLine>  \n\u003CaddrLine>170 Nicolae Titulescu Street\u003C/addrLine>  \n\u003CaddrLine>  \n\u003Cname type=\"place\">Craiova\u003C/name>  \n\u003C/addrLine>  \n\u003CaddrLine>1100\u003C/addrLine>  \n\u003CaddrLine> [support@oxygenxml.com\u003C/addrLine>](support@oxygenxml.com\u003C/addrLine>)  \n\u003C/address>  \n\u003C/distributor>  \n\u003Cavailability status=\"restricted\">  \n\u003Cp>Freely available for non-commercial use provided that this header is included in its entirety with any copy distributed\u003C/p>  \n\u003C/availability>  \n\u003Cdate>2003-05-27","cbCaig585RzoVTEf","https://ap.wps.com/l/cbCaig585RzoVTEf","pdf",388571,11,"English","# Creating an XML Document Using the TEI Lite DTD\n## Editing the XML Document\n## Transforming to PDF\n## Configuring an external FO processor, or other post processor","[{\"question\":\"How do you create a TEI XML document using the TEILite DTD in \\u003coXygen/\\u003e?\",\"answer\":\"Use File menu → New from Templates, select the TEILite template, and confirm with OK so \\u003coXygen/\\u003e generates a skeleton TEI document with a DTD declaration and minimum markup.\"},{\"question\":\"What helps during XML editing in the editor?\",\"answer\":\"The editor scans the DTD file and initializes a content completion assistant, showing available elements, attributes, and default values when you press keys like “\\u003c”, SPACE/TAB, or quotation marks.\"},{\"question\":\"How is the TEI document transformed into PDF?\",\"answer\":\"Transform it to PDF using TEI XSL-FO stylesheets and Apache FOP integrated with \\u003coXygen/\\u003e, and configure an external FO processor or other post processor when needed.\"}]","How to Convert a TEI Document to PDF within the \u003CoXygen/> XML Editor | PDF",1790063566,28,[148,152,156,160],{"page_no":22,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/05b42bca9b0018abffc9060098cdc806.webp",983,1390,{"page_no":26,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/a86acdb2d649c67266f99148fc2fba47.webp",982,1388,{"page_no":30,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/ad4dfed28e52d87793dde2ae826ca81a.webp",981,1387,{"page_no":33,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/354f7662354c534819a8e6a7e8a2d46f.webp",980,1385]