Trying to parse a value from XML tag for a variable
I am trying to parse an xml doc to get the asset_tag value to use as a variable. I only have sed installed on an extremely custom linux install. This should be the only Printer device type in the doc. An earlier check will look to see if there is more than one or a null value for this section. There are multiple "device type" tags with asset_tag values. How would you use the aforementioned sed to get that value?
Thank you in advance for your assistance.
Last edited by n3wtux; 07-26-2013 at 04:47 PM.