Anlage des Repos
This commit is contained in:
17
knowlegbase/XML Händling/Entwicklung/Unbenannt2.ps1
Normal file
17
knowlegbase/XML Händling/Entwicklung/Unbenannt2.ps1
Normal file
@@ -0,0 +1,17 @@
|
||||
Set-Variable -Name ExportPfad -Value "E:\DB-XML-Test"
|
||||
Set-Variable -Name XMLVorlage -Value "E:\DB-XML-Test\Vorlage\vetra_luis_in.xml"
|
||||
Set-Variable -Name ZeitStempel1 -Value $(get-date -format yyyy-MM-ddTHH:mm)
|
||||
|
||||
$xml = New-Object XML
|
||||
|
||||
$club = $xml.CreateElement('club')
|
||||
$club.SetAttribute('name','barracas')
|
||||
$xml.clubs.AppendChild($club)
|
||||
|
||||
#$xml.CreateNode("testeintrag")
|
||||
|
||||
#$xml.testwert.AppendChild("testeintrag")
|
||||
|
||||
#$xml.testwert.knoten1 = "testeintrag"
|
||||
|
||||
$xml.Save("$ExportPfad\ExportTest1.xml")
|
||||
Reference in New Issue
Block a user