Downloads:

18,477

Downloads of v 1.1.28.0:

18,477

Last Update:

06 Mar 2018

Package Maintainer(s):

Software Author(s):

  • Daniel Veillard
  • Bjorn Reese
  • Igor Zlatkovic
  • Aleksey Sanin

Tags:

xslt xsltproc xmllint xmlcatalog docbook

xsltproc (Install)

1.1.28.0 | Updated: 06 Mar 2018

Downloads:

18,477

Downloads of v 1.1.28.0:

18,477

Maintainer(s):

Software Author(s):

  • Daniel Veillard
  • Bjorn Reese
  • Igor Zlatkovic
  • Aleksey Sanin

xsltproc (Install) 1.1.28.0

All Checks are Passing

2 Passing Test


Validation Testing Passed


Verification Testing Passed

Details

To install xsltproc (Install), run the following command from the command line or from PowerShell:

>

To upgrade xsltproc (Install), run the following command from the command line or from PowerShell:

>

To uninstall xsltproc (Install), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade xsltproc -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade xsltproc -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure xsltproc installed
  win_chocolatey:
    name: xsltproc
    state: present
    version: 1.1.28.0
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'xsltproc' do
  action    :install
  version  '1.1.28.0'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: xsltproc,
    Version: 1.1.28.0,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller xsltproc
{
   Name     = 'xsltproc'
   Ensure   = 'Present'
   Version  = '1.1.28.0'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'xsltproc':
  provider => 'chocolatey',
  ensure   => '1.1.28.0',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install xsltproc version="1.1.28.0" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 06 Mar 2018.

Description

The XSLT C library (libxslt) command line processor.
The default catalog location is %chocolateyinstall%\lib\docbook-bundle\catalog.xml.


tools\chocolateyinstall.ps1

$ErrorActionPreference = 'Stop';

$packageName        = 'xsltproc'
$toolsDir           = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$unzipDir           = "$toolsDir\..\dist"


$mingwrt32Url       = 'http://xmlsoft.org/sources/win32/64bit/mingwrt-5.2.0-win32-x86.7z'
$mingwrt32Sha256    = '19ec3a9087632fe3a75b885c5c3a8e4f58e7edb31e9ea905651e5ce2fdf86cd0'
$mingwrt64Url       = 'http://xmlsoft.org/sources/win32/64bit/mingwrt-5.2.0-win32-x86_64.7z'
$mingwrt64Sha256    = 'b3645b70813b78eb17a7989fd4316a1f53ea8e0991fbcf34e201f9ea71f44d6c'

$mingwrtPackageArgs = @{
  packageName     = "$packageName-mingwrt"
  unzipLocation   = $unzipDir
  url             = $mingwrt32Url
  checksum        = $mingwrt32Sha256
  checksumType    = 'sha256'
  url64bit        = $mingwrt64Url
  checksum64      = $mingwrt64Sha256
  checksumType64  = 'sha256'
}


$iconv32Url         = 'http://xmlsoft.org/sources/win32/64bit/iconv-1.14-win32-x86.7z'
$iconv32Sha256      = '8e8483c3314f9ab44422873a41b0b1048c5a89682d977538e1a16b7114801135'
$iconv64Url         = 'http://xmlsoft.org/sources/win32/64bit/iconv-1.14-win32-x86_64.7z'
$iconv64Sha256      = '789ff211527bdeb80003b39b67c57742c23286db33c1b3d1622f52fc67612f60'

$iconvPackageArgs = @{
  packageName     = "$packageName-iconv"
  unzipLocation   = $unzipDir
  url             = $iconv32Url
  checksum        = $iconv32Sha256
  checksumType    = 'sha256'
  url64bit        = $iconv64Url
  checksum64      = $iconv64Sha256
  checksumType64  = 'sha256'
}


$zlib32Url         = 'http://xmlsoft.org/sources/win32/64bit/zlib-1.2.8-win32-x86.7z'
$zlib32Sha256      = 'e50f54d82bbb8c413e3337bdccf8d795f69affd17a813a0b44cedd899af8fc62'
$zlib64Url         = 'http://xmlsoft.org/sources/win32/64bit/zlib-1.2.8-win32-x86_64.7z'
$zlib64Sha256      = '2a0112800cdd0e0c699552fb751701102bdeb509f12c800bb0a4cb4c58f40cc5'

$zlibPackageArgs = @{
  packageName     = "$packageName-zlib"
  unzipLocation   = $unzipDir
  url             = $zlib32Url
  checksum        = $zlib32Sha256
  checksumType    = 'sha256'
  url64bit        = $zlib64Url
  checksum64      = $zlib64Sha256
  checksumType64  = 'sha256'
}


$libxml32Url        = 'http://xmlsoft.org/sources/win32/64bit/libxml2-2.9.3-win32-x86.7z'
$libxml32Sha256     = '67e986d9da6af91ee3665b28c323a94cb344451b6fc3ba725b7c975bdef16960'
$libxml64Url        = 'http://xmlsoft.org/sources/win32/64bit/libxml2-2.9.3-win32-x86_64.7z'
$libxml64Sha256     = '727eac03f7b65b167aa975b5b83f89cabc6654a4031ae3810a59b5d9901627f8'

$libxmlPackageArgs = @{
  packageName     = "$packageName-libxml"
  unzipLocation   = $unzipDir
  url             = $libxml32Url
  checksum        = $libxml32Sha256
  checksumType    = 'sha256'
  url64bit        = $libxml64Url
  checksum64      = $libxml64Sha256
  checksumType64  = 'sha256'
}


$libxslt32Url       = 'http://xmlsoft.org/sources/win32/64bit/libxslt-1.1.28-win32-x86.7z'
$libxslt32Sha256    = 'da98864a7f610536c855215e2bea5ff1b5e5da30d37459b9a2d62dd753ead79f'
$libxslt64Url       = 'http://xmlsoft.org/sources/win32/64bit/libxslt-1.1.28-win32-x86_64.7z'
$libxslt64Sha256    = 'b12f7b04c6867cae11585791a82babf3e455bbb1fddd26734e4f5f51652e671e'

$libxsltPackageArgs = @{
  packageName     = "$packageName-libxslt"
  unzipLocation   = $unzipDir
  url             = $libxslt32Url
  checksum        = $libxslt32Sha256
  checksumType    = 'sha256'
  url64bit        = $libxslt64Url
  checksum64      = $libxslt64Sha256
  checksumType64  = 'sha256'
}

Install-ChocolateyZipPackage @mingwrtPackageArgs
Install-ChocolateyZipPackage @iconvPackageArgs
Install-ChocolateyZipPackage @zlibPackageArgs
Install-ChocolateyZipPackage @libxmlPackageArgs
Install-ChocolateyZipPackage @libxsltPackageArgs

New-Item "$unzipDir\bin\xsltproc.exe.ignore" -type file -force | Out-Null
Install-BinFile -name "xsltproc" -path "$toolsDir\xsltproc.bat"
tools\chocolateyuninstall.ps1


$ErrorActionPreference = 'Stop';

$toolsDir           = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Uninstall-BinFile -name "xsltproc" -path "$toolsDir\xsltproc.bat"
tools\xsltproc.bat
@if "%DEBUG%" == "" @echo off

rem xsltproc wrapper script for Chocolatey.
rem SPDX-license-identifier: MIT

rem Set a sensible default for XML_CATALOG_FILES.

if not defined XML_CATALOG_FILES (
    set XML_CATALOG_FILES=%ChocolateyInstall%\lib\docbook-bundle\catalog.xml
)

rem On with the show.

"%~dp0\..\dist\bin\xsltproc.exe" %*

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status

Initial Chocolatey package. Includes a wrapper script
that sets XML_CATALOG_FILES to the docbook-bundle catalog file
(%ChocolateyInstall%\lib\docbook-bundle\catalog.xml) by default.


This package has no dependencies.

Discussion for the xsltproc (Install) Package

Ground Rules:

  • This discussion is only about xsltproc (Install) and the xsltproc (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or xsltproc (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus