This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function process-XSLT | |
{param([string]$a) | |
$xsl = "C:\path_to_xslt\CleanUp.xslt" | |
$inputstream = new-object System.IO.MemoryStream | |
$xmlvar = new-object System.IO.StreamWriter($inputstream) | |
$xmlvar.Write("$a") | |
$xmlvar.Flush() | |
$inputstream.position = 0 | |
$xml = new-object System.Xml.XmlTextReader($inputstream) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Aws\Common\Aws; | |
use Aws\S3\Exception\S3Exception; | |
$aws = Aws::factory('/path_to_config/config.php'); | |
$s3 = $aws->get('s3'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
use Aws\Common\Aws; | |
use Aws\S3\Exception\S3Exception; | |
$aws = Aws::factory('/path/config.php'); | |
$s3v2 = $aws->get('s3'); |