Hi Guys,
I have the below XML in a log file:
I can't get the the name attribute via "path="Customer{@value}")" patter. I also can't get the other elements after customer
Can anybody help me please?
BR
@wuwangjun
Please edit your question to include your XML code you meant to share. Click on the gear icon to the right of your question's title and click Edit. After you paste your XML, highlight all of that code and, as @jkat54 says, click on the Code Sample button in the text editing tools. This will ensure your XML renders properly on this site.
Thank you , I have resolve it by the regular expression. Thank all of you.
This will extract the value from "path"
\"path=\"(\w+)
Thank you , I have resolve it by the regular expression. Thank all of you.
Use the "code sample/blocks" button to put your xml code in blocks. Or use a site like pastebin.com if you still cant get the code to show up.
if you use the single leaning quote (below ~ tilda on my keyboard) it quotes the xml and html tags very well
<example>test</example>
Where is the "below xml"?