Is it possible to dynamically create an xml target based on the value of an xpath?
I can't get below to work correctly.
I would want the value of target to be the value of the xpath:
/measInfo/@measInfoId", "TARGET
xml {
source => "message"
xpath => [
"/measInfo/@measInfoId", "TARGET",
"/measInfo/granPeriod/@endTime", "endTime"
] # End of xpath
target => "%{[TARGET]}"
}
Is this possible??
Thanks