{"id":16306401,"url":"https://github.com/yanick/xml-xpathscript","last_synced_at":"2025-08-25T20:16:01.218Z","repository":{"id":424145,"uuid":"44137","full_name":"yanick/xml-xpathscript","owner":"yanick","description":"a Perl framework for XML stylesheets","archived":false,"fork":false,"pushed_at":"2019-07-04T14:09:19.000Z","size":716,"stargazers_count":3,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T07:14:47.063Z","etag":null,"topics":["perl","stylesheet","template","xml"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanick.png","metadata":{"files":{"readme":"README","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-08-20T01:41:20.000Z","updated_at":"2020-08-27T19:36:21.000Z","dependencies_parsed_at":"2022-08-16T10:25:11.940Z","dependency_job_id":null,"html_url":"https://github.com/yanick/xml-xpathscript","commit_stats":null,"previous_names":[],"tags_count":61,"template":false,"template_full_name":null,"purl":"pkg:github/yanick/xml-xpathscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanick%2Fxml-xpathscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanick%2Fxml-xpathscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanick%2Fxml-xpathscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanick%2Fxml-xpathscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanick","download_url":"https://codeload.github.com/yanick/xml-xpathscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanick%2Fxml-xpathscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272124787,"owners_count":24877726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["perl","stylesheet","template","xml"],"created_at":"2024-10-10T21:10:32.108Z","updated_at":"2025-08-25T20:16:01.183Z","avatar_url":"https://github.com/yanick.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"XPathScript\n===========\n\n===== DESCRIPTION\n\nThis is the XML::XPathScript stylesheet framework, part of the AxKit\nproject at http://axkit.org/.\n\nXPathScript is a stylesheet language similar in many ways to XSLT (in\nconcept, not in appearance), for transforming XML from one format to\nanother - possibly HTML, but XPathScript also shines for non-XML-like\noutput.\n\nLike XSLT, XPathScript offers a dialect to mix verbatim portions of\ndocuments and code. Also like XSLT, it leverages the powerful\n``templates/apply-templates'' and ``cascading stylesheets'' design\npatterns, that greatly simplify the design of stylesheets for\nprogrammers. The availability of the XPath query language inside\nstylesheets promotes the use of a purely document-dependent,\nside-effect-free coding style. But unlike XSLT which uses its own\ndedicated control language with an XML-compliant syntax, XPathScript\nuses Perl which is terse and highly extendable.\n\nThe result of the merge is an extremely powerful tool for rendering\ncomplex XML documents into other formats. Stylesheets written in\nXPathScript are very easy to create, extend and reuse, even if they\nmanage hundreds of different XML tags.  As a testimony to these\nqualities, XML::XPathScript comes bundled with a fairly comprehensive\nstylesheet for converting Docbook XML into LaTeX (in the examples/\ndirectory).\n\n===== INSTALLATION\n\nTo install this module type the following:\n\n   perl ./Build.PL\n   ./Build\n   ./Build test\n   ./Build install\n\n   or, if you are old-school,\n\n   perl Makefile.PL\n   make\n   make test\n   make install\n\n   \nDuring installation, Build.PL will check if it should use XML::LibXML \nor XML::XPath as the default xml parser. If you want to force XPathScript \nto use one or the other, do\n\n\tperl Build.PL -parser=XML::LibXML\n\tor\n\tperl Build.PL -parser=XML::XPath\n\nIf AxKit or TomKit are present, their respective XPathScript processors will\nbe automatically added to the installation. To force their installation\nwithout the presence of AxKit/TomKit, do\n\n    perl Build.PL -axkit -tomkit\n\t\n===== COMMAND-LINE USE\n\nThis module provides an xpathscript(1) shell command that comes with\nits own manpage.\n\n===== SUPPORT FOR AXKIT\n\nXPS comes with its AxKit language module. Not to clash with the \nApache::AxKit::Language::XPathScript.pm bundled with AxKit, it is named\nApache::AxKit::Language::YPathScript.pm. To use this module under AxKit, \nadd the following to your httpd.conf (the first two lines are probably \nalready present):\n\n\tPerlModule AxKit\n\tAddHandler AxKit .xml\n\tAxAddStyleMap application/x-ypathscript Apache::AxKit::Language::YPathScript\n\nAnd to your .htaccess something like:\n\n\t\u003cAxStyleName \"#default\"\u003e\n\t   AxAddProcessor application/x-ypathscript your_stylesheet.xps\n\t\u003c/AxStyleName\u003e\n\n\n===== SUPPORT FOR TOMKIT\n\nXPS also includes a TomKit processor, which will be installed if TomKit itself is \ndetected. To use the processor, add something like the following to your .htaccess:\n\n    PerlSetVar AxAddProcessorMap \"text/xps=\u003eApache2::TomKit::Processor::XPathScript\"\n    \n    \u003cFiles *\\.xml\u003e\n        PerlFixupHandler Apache2::TomKit\n        PerlSetVar AxAddProcessorDef \"text/xps=\u003estylesheet.xps\"\n    \u003c/Files\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanick%2Fxml-xpathscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanick%2Fxml-xpathscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanick%2Fxml-xpathscript/lists"}