Hans de Jongh
asked on
How can i fill a variable with data from another variable (which has a xml part)
Hello,
I have a variable filled with an sharepoint item.
Now this item array has an xml field. In this XML field I have certain fields I need
so I have
$item.xml
and I need in $invoice a number which is in that xml in the following text:
ows_Factuurnummer_x0020_Le verancier= '12345678' o
ws_totaal_x0020_bedrag
the invoicenumber is 12345678
thanks!
I have a variable filled with an sharepoint item.
Now this item array has an xml field. In this XML field I have certain fields I need
so I have
$item.xml
and I need in $invoice a number which is in that xml in the following text:
ows_Factuurnummer_x0020_Le
ws_totaal_x0020_bedrag
the invoicenumber is 12345678
thanks!
you can create a calculated column that extracts the value that exists between the quotes, for example.
I think I'd use the MID function
https://support.office.com/en-us/article/MID-function-2eba57be-0c05-4bdc-bf81-5ecf4421eb8a
https://support.office.com/en-us/article/MID-function-2eba57be-0c05-4bdc-bf81-5ecf4421eb8a
ASKER
im sorry I should have said I need something for powershell..
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i found a solution online