We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Font.svg.get_XML
1 parent 34edc9a commit 86d548dCopy full SHA for 86d548d
Types/Font.svg/get_FontFace.ps1
@@ -1,3 +1,3 @@
1
-$this.SVG |
+$this.XML |
2
Select-Xml -Namespace @{s='http://www.w3.org/2000/svg'} -XPath //s:font-face |
3
Select-Object -ExpandProperty Node
Types/Font.svg/get_SVG.ps1 Types/Font.svg/get_XML.ps1Types/Font.svg/get_SVG.ps1 renamed to Types/Font.svg/get_XML.ps1
@@ -1,9 +1,9 @@
-if (-not $this.'#SVG') {
+if (-not $this.'#XML') {
if ($this -is [IO.FileInfo] -and $this.Extension -eq '.svg') {
$svgXml = (Get-Content -LiteralPath $this.FullName -Raw) -as [xml]
4
if ($svgXml) {
5
- $this | Add-Member NoteProperty '#SVG' $svgXml -Force
+ $this | Add-Member NoteProperty '#XML' $svgXml -Force
6
}
7
8
9
-return $this.'#SVG'
+return $this.'#XML'
0 commit comments