This file contains 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
<# | |
.DESCRIPTION | |
Create an XmlNamespaceManager pre-populated with an XML document's namespace prefixes to simplify XPath queries | |
.PARAMETER XmlDocument | |
An instance of [xml] with custom namespaces to register in the XmlNamespaceManager. | |
.PARAMETER DefaultNamespacePrefix | |
Optional prefix to use for the default namespace in XPath queries. |
This file contains 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
let | |
fnFormatted = let | |
func = (myTable as table) => | |
let | |
#"Table1 Schema" = Table.Schema(myTable), | |
TypesList = Table.AddColumn( | |
#"Table1 Schema", | |
"TypeRecord", | |
each "#""" & [Name] & """=" & [TypeName] | |
)[TypeRecord], |
This file contains 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
let func = | |
(data as text) as text => | |
let | |
DecodedText = Uri.Parts("http://contoso?a=" & data)[Query][a] | |
in | |
DecodedText , | |
documentation = [ | |
Documentation.Name = " Uri.UnescapeDataString ", | |
Documentation.Description = " Decodes special characters in the input data according to the rules of RFC 3986. ", | |
Documentation.LongDescription = " Decodes special characters in the input data according to the rules of RFC 3986. ", |