{"id":20079595,"url":"https://github.com/transpect/split-docx","last_synced_at":"2026-03-19T13:30:23.503Z","repository":{"id":203725789,"uuid":"710267185","full_name":"transpect/split-docx","owner":"transpect","description":"this module helps with splitting docx files","archived":false,"fork":false,"pushed_at":"2025-05-08T10:04:06.000Z","size":15,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-13T03:44:55.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"XProc","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/transpect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-10-26T11:01:42.000Z","updated_at":"2025-05-08T10:04:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"31af230e-f191-46f8-94d3-10a6a162b609","html_url":"https://github.com/transpect/split-docx","commit_stats":null,"previous_names":["transpect/split-docx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/transpect/split-docx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fsplit-docx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fsplit-docx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fsplit-docx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fsplit-docx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/transpect","download_url":"https://codeload.github.com/transpect/split-docx/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/transpect%2Fsplit-docx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29157512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T07:18:23.844Z","status":"ssl_error","status_checked_at":"2026-02-06T07:13:32.659Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T15:23:33.486Z","updated_at":"2026-02-06T10:09:45.132Z","avatar_url":"https://github.com/transpect.png","language":"XProc","funding_links":[],"categories":[],"sub_categories":[],"readme":"# split-docx\nthis module helps with splitting docx files. It is just a library. To run it standalone, you need to make it part of a transpect project, see below.\n\n* The main pipeline supports splitting on part and chapter headings. Their styles can be given as options `chapter-regex` and `part-regex`.\n* Example invocation to split all docx files in a directory on paragraphs with style 'heading 1':\n  `calabash/calabash.sh -o result=file:///C:/…/result.xml  split-docx/xpl/split-main.xpl dir=path-to-docx-dir chapter-regex=\"heading\\s*1\" debug=yes debug-dir-uri=file:///…/debug`\n\nYou could provide customer specific `split-docx/conf.xsl` filed to change target file names of split chunks. Therefore the pipeline must be invoked with a params input port.\n\nThe subpipelines can also be used to split on bookmarks etc.\n\n## Setup for Standalone Invocation\n\nYou need to set up a complete transpect project:\n\n* Create a project folder, say, split-docx-frontend, and change to it.\n* `git clone https://github.com/transpect/calabash-frontend calabash --recurse-submodules`\n* `git clone https://github.com/transpect/cascade`\n* `git clone https://github.com/transpect/docx2hub`\n* `git clone https://github.com/transpect/docx_modify-lib`\n* `git clone https://github.com/transpect/split-docx`\n* `git clone https://github.com/transpect/xproc-util`\n* `git clone https://github.com/transpect/xslt-util`\n* Create a directory xmlcatalog and inside an XML catalog file called catalog.xml with this content:\n```xml\n\u003ccatalog xmlns=\"urn:oasis:names:tc:entity:xmlns:xml:catalog\"\u003e\n  \u003crewriteURI uriStartString=\"http://this.transpect.io/\" rewritePrefix=\"../\"/\u003e\n  \u003cnextCatalog catalog=\"../split-docx/xmlcatalog/catalog.xml\"/\u003e\n  \u003cnextCatalog catalog=\"../cascade/xmlcatalog/catalog.xml\"/\u003e\n  \u003cnextCatalog catalog=\"../xproc-util/xmlcatalog/catalog.xml\"/\u003e\n  \u003cnextCatalog catalog=\"../xslt-util/xmlcatalog/catalog.xml\"/\u003e\n  \u003cnextCatalog catalog=\"../docx2hub/xmlcatalog/catalog.xml\"/\u003e\n  \u003cnextCatalog catalog=\"../docx_modify-lib/xmlcatalog/catalog.xml\"/\u003e\n\u003c/catalog\u003e\n```\n* \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fsplit-docx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftranspect%2Fsplit-docx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftranspect%2Fsplit-docx/lists"}