如何使用SetAttribute将冒号字符放入xml属性powershell

如何使用SetAttribute将冒号字符放入xml属性powershell,powershell,colon,Powershell,Colon,如何使用SetAttribute将冒号字符放入xml属性powershell 类似->android:hardwareAccelerated=true传递与“android:”前缀对应的名称空间的URI 如果您的XML如下所示: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com

如何使用SetAttribute将冒号字符放入xml属性powershell
类似->android:hardwareAccelerated=true

传递与“android:”前缀对应的名称空间的URI

如果您的XML如下所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.package.name"
      android:versionCode="2"
      android:versionName="1.1">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
    </application>
</manifest>

传递与“android:”前缀对应的名称空间的URI

如果您的XML如下所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.package.name"
      android:versionCode="2"
      android:versionName="1.1">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
    </application>
</manifest>

传递与“android:”前缀对应的名称空间的URI

如果您的XML如下所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.package.name"
      android:versionCode="2"
      android:versionName="1.1">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
    </application>
</manifest>

传递与“android:”前缀对应的名称空间的URI

如果您的XML如下所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.package.name"
      android:versionCode="2"
      android:versionName="1.1">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
    </application>
</manifest>