{"id":17177874,"url":"https://github.com/sideshowbarker/rng-incelim","last_synced_at":"2026-02-17T04:32:23.368Z","repository":{"id":76138115,"uuid":"3599510","full_name":"sideshowbarker/rng-incelim","owner":"sideshowbarker","description":"incelim — Relax NG Splicer","archived":false,"fork":false,"pushed_at":"2012-03-02T05:35:45.000Z","size":100,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-06T13:56:05.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sideshowbarker.png","metadata":{"files":{"readme":"README.html","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-02T05:33:06.000Z","updated_at":"2016-07-18T14:54:17.000Z","dependencies_parsed_at":"2023-02-23T02:40:17.617Z","dependency_job_id":null,"html_url":"https://github.com/sideshowbarker/rng-incelim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sideshowbarker/rng-incelim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sideshowbarker%2Frng-incelim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sideshowbarker%2Frng-incelim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sideshowbarker%2Frng-incelim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sideshowbarker%2Frng-incelim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sideshowbarker","download_url":"https://codeload.github.com/sideshowbarker/rng-incelim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sideshowbarker%2Frng-incelim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29533702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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-10-15T00:05:22.320Z","updated_at":"2026-02-17T04:32:23.353Z","avatar_url":"https://github.com/sideshowbarker.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!doctype html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n\u003cmeta charset=utf8\u003e\n\u003ctitle\u003eincelim \u0026#8212; Relax NG Splicer\u003c/title\u003e\n\u003cbody\u003e\n\u003cdiv class=\"article\" title=\"incelim \u0026#8212; Relax NG Splicer\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\"\u003e\u003ca name=\"id35818745\"\u003e\u003c/a\u003eincelim \u0026#8212; Relax NG Splicer\u003c/h2\u003e\u003c/div\u003e\u003cdiv\u003e\u003ch3 class=\"subtitle\"\u003e\u003ci\u003eVersion 1\u003c/i\u003e\u003c/h3\u003e\u003c/div\u003e\u003c/div\u003e\u003chr\u003e\u003c/div\u003e\n\u003cp\u003eThis is a github fork of the incelim sources from\n\u003ca href=\"http://ftp.davidashen.net/incelim/\"\u003ehttp://ftp.davidashen.net/incelim/\u003c/a\u003e\n\u003cdiv class=\"toc\"\u003e\u003cp\u003e\u003cb\u003eTable of Contents\u003c/b\u003e\u003c/p\u003e\u003cdl\u003e\u003cdt\u003e\u003cspan class=\"section\"\u003e\u003ca href=\"#id36098082\"\u003ePackage Contents\u003c/a\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdt\u003e\u003cspan class=\"section\"\u003e\u003ca href=\"#id36098190\"\u003eInvocation\u003c/a\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdt\u003e\u003cspan class=\"section\"\u003e\u003ca href=\"#id36098286\"\u003eAknowledgements\u003c/a\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdt\u003e\u003cspan class=\"section\"\u003e\u003ca href=\"#id36098297\"\u003eTerms and Conditions\u003c/a\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdt\u003e\u003cspan class=\"section\"\u003e\u003ca href=\"#id36098309\"\u003eNews and updates\u003c/a\u003e\u003c/span\u003e\u003c/dt\u003e\u003c/dl\u003e\u003c/div\u003e\u003cdiv class=\"abstract\" title=\"Abstract\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003c/div\u003e\u003cp\u003e\n   incelim takes a Relax NG grammar in XML syntax, expands all\n   includes and externalRefs, and optionally replaces references\n   to text, empty, or notAllowed with the patterns. The result is\n   a 'compiled' schema convenient for distribution.\n  \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\n    The package includes stylesheets for each of the transformation\n    steps, and two kinds of glue: XSLT stylesheet incelim.xsl, which\n    chains the transformations using exsl:node-set(), and a shell\n    script, incelim, which applies each of the stylesheets to the \n    serialized result of the previous one.\n  \u003c/p\u003e\u003cdiv class=\"section\" title=\"Package Contents\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\" style=\"clear: both\"\u003e\u003ca name=\"id36098082\"\u003e\u003c/a\u003ePackage Contents\u003c/h2\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003cdiv class=\"variablelist\"\u003e\u003cdl\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003einc.xsl\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003e\n        literally inserts contents of included files (and externalRefs);\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eelim.xsl\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003eremoves overriden defines;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003estrip.xsl\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003esplices references to single parameterless patterns\n        (text,empty,notAllowed);\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eclean.xsl\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003efilters out empty divs and unreferenced defines;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eincelim.xsl\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003eXSLT glue to chain the transformations;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003eincelim\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003e(ash or bash) shell script to run each of the\n      transformations in order;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003esaxon-6.5.3.diff\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003eperformance patch for SAXON 6.5.3;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003ereadme.txt, readme.dbx\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003ebrief description in plain text and DocBook XML formats;\n      \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003elicense.txt\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003ethe license.\n      \u003c/p\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/div\u003e\u003c/div\u003e\u003cdiv class=\"section\" title=\"Invocation\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\" style=\"clear: both\"\u003e\u003ca name=\"id36098190\"\u003e\u003c/a\u003eInvocation\u003c/h2\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003cp\u003eFor the XSLT glue, the arguments are the source schema and\n  the stylesheet. Parameter \u003ccode class=\"varname\"\u003erinses\u003c/code\u003e specifies\n  the number of times to apply strip/clean phase (it should be recursive,\n  but it would be too complex for XSLT to stop timely). 1 is the default,\n  more than 3 does not make sense in most practical cases.\n  \u003c/p\u003e\u003cdiv class=\"note\" title=\"Note\" style=\"margin-left: 0.5in; margin-right: 0.5in;\"\u003e\u003ch3 class=\"title\"\u003eNote\u003c/h3\u003e\u003cdiv class=\"itemizedlist\"\u003e\u003cul class=\"itemizedlist\" type=\"disc\"\u003e\u003cli class=\"listitem\"\u003e\u003cp\u003e\n    xsltproc compiled against libxml 20604, libxslt 10102 and libexslt 802\n    and earlier versions cannot be used with this stylesheets due to bugs\n    in implementation of exsl:node-set();\n    \u003c/p\u003e\u003c/li\u003e\u003cli class=\"listitem\"\u003e\u003cp\u003e\n    SAXON 6.5.[23] and jd.xslt 1.5.5 are slow, a patch for SAXON 6.5.3 that\n    makes it fast is included in the distribution (saxon-6.5.3.diff).\n    \u003c/p\u003e\u003c/li\u003e\u003c/ul\u003e\u003c/div\u003e\u003c/div\u003e\u003cp\u003eThe shell script takes a list of schema files and puts the\n  result for each \u003ccode class=\"filename\"\u003eschema.rng\u003c/code\u003e into\n  \u003ccode class=\"filename\"\u003eschema-compiled.rng\u003c/code\u003e. Additionally,the following\n  command-line options are accepted:\n  \u003c/p\u003e\u003cdiv class=\"variablelist\"\u003e\u003cdl\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003e\u003ccode class=\"option\"\u003e-nnn\u003c/code\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003enumber of strip/clean passes (default is \u003ccode class=\"option\"\u003e-1\u003c/code\u003e)\n    \u003c/p\u003e\u003c/dd\u003e\u003cdt\u003e\u003cspan class=\"term\"\u003e\u003ccode class=\"option\"\u003e-processor\u003c/code\u003e\u003c/span\u003e\u003c/dt\u003e\u003cdd\u003e\u003cp\u003eXSLT processor to use, default is\n    \u003ccode class=\"option\"\u003e-saxon\u003c/code\u003e, other options are xt, jd.xslt, xalan,\n    4xslt, xsltproc\n    \u003c/p\u003e\u003c/dd\u003e\u003c/dl\u003e\u003c/div\u003e\u003cp\u003e\n  Environment variable \u003ccode class=\"varname\"\u003eINCELIM\u003c/code\u003e should point to the\n  directory containing XSLT scripts, default is\n  \u003ccode class=\"filename\"\u003e/usr/local/lib/incelim\u003c/code\u003e.  Temporary files are\n  created in a directory pointed to by environment variable\n  \u003ccode class=\"varname\"\u003eTMPDIR\u003c/code\u003e, \u003ccode class=\"filename\"\u003e/tmp\u003c/code\u003e by default.\n\u003c/p\u003e\u003c/div\u003e\u003cdiv class=\"section\" title=\"Aknowledgements\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\" style=\"clear: both\"\u003e\u003ca name=\"id36098286\"\u003e\u003c/a\u003eAknowledgements\u003c/h2\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003cp\u003eI would like to thank Sebastian Rahtz for the idea, inspiration, sample\nstylesheet using exsl:node-set(),  and testing of the program.\n\u003c/p\u003e\u003c/div\u003e\u003cdiv class=\"section\" title=\"Terms and Conditions\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\" style=\"clear: both\"\u003e\u003ca name=\"id36098297\"\u003e\u003c/a\u003eTerms and Conditions\u003c/h2\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003cp\u003eThis software is distributed under BSD license. The details\nare in \u003ccode class=\"filename\"\u003elicense.txt\u003c/code\u003e.\n\u003c/p\u003e\u003c/div\u003e\u003cdiv class=\"section\" title=\"News and updates\"\u003e\u003cdiv class=\"titlepage\"\u003e\u003cdiv\u003e\u003cdiv\u003e\u003ch2 class=\"title\" style=\"clear: both\"\u003e\u003ca name=\"id36098309\"\u003e\u003c/a\u003eNews and updates\u003c/h2\u003e\u003c/div\u003e\u003c/div\u003e\u003c/div\u003e\u003cp\u003e\nVisit \u003ca class=\"ulink\" href=\"http://davidashen.net/\" target=\"_top\"\u003ehttp://davidashen.net/\u003c/a\u003e.\n\u003c/p\u003e\u003c/div\u003e\u003c/div\u003e\u003c/body\u003e\u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsideshowbarker%2Frng-incelim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsideshowbarker%2Frng-incelim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsideshowbarker%2Frng-incelim/lists"}