We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change lines 124, 148, and 149 from: 124compGrpSize=$( echo $compGroupData | xpath "//computer_groups/size/text()" ) 148 compGrpName=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/name/text()" ) 149 compGrpID=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/id/text()" )
compGrpSize=$( echo $compGroupData | xpath "//computer_groups/size/text()" )
compGrpName=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/name/text()" )
compGrpID=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/id/text()" )
to the following: 124compGrpSize=$( echo $compGroupData | xmllint --xpath "//computer_groups/size/text()" -) 148 compGrpName=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/name/text()" -) 149 compGrpID=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/id/text()" -)
compGrpSize=$( echo $compGroupData | xmllint --xpath "//computer_groups/size/text()" -)
compGrpName=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/name/text()" -)
compGrpID=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/id/text()" -)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Change lines 124, 148, and 149 from:
124
compGrpSize=$( echo $compGroupData | xpath "//computer_groups/size/text()" )
148
compGrpName=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/name/text()" )
149
compGrpID=$( echo $compGroupData | xpath "//computer_groups/computer_group[${element}]/id/text()" )
to the following:
124
compGrpSize=$( echo $compGroupData | xmllint --xpath "//computer_groups/size/text()" -)
148
compGrpName=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/name/text()" -)
149
compGrpID=$( echo $compGroupData | xmllint --xpath "//computer_groups/computer_group[${element}]/id/text()" -)
The text was updated successfully, but these errors were encountered: