cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not a customer? Start a free trial

Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.

AppDynamics customers and established members should click the sign in button to authenticate.

NET (Agent, Installation)

.net Split transaction based on xml parsing

Sean.Sweitzer
Explorer

.net Split transaction based on xml parsing

I have a method which takes in a single argument that is an xml string.  Is there a way to split these transactions based on a tag in the xml?

Tags (1)
By replying you agree to the Terms and Conditions of the AppDynamics Community.
.net Split transaction based on xml parsing
1 REPLY 1
Mario.Morelli
Architect

Hi

 

Yes you can use something like below depending on where the value is, invoked object, return value or parameter value. Where xmlpart1 and xmlpart 2 are variables and should be replaced with the string pieces which precede the value you are looking for and after, to capture the tag

 

ToString().Split(string/xmlpart1).[1].Split(string/xmlpart2).[0]

 

Ciao



Learn more about me in the Community Member Spotlight Q & A