Hello, I don't know anything about XSLT but I need it for a one time thing. This should be pretty simple to do. What would the XSLT need to be to take the following input and display as what is shown below.
INPUT:
<TestResult>
<set-value idref="account_lockout_duration_var">900</set-value>
<set-value idref="account_lockout_threshold_var">5</set-value>
<group>
<id>345</id>
<id>265</id>
<field>true</field>
<message>dont do that</message>
</group>
<group>
<id>333</id>
<field>false</field>
</group>
</TestResult>
OUTPUT
345,265,true
333,false
This is just a snippet, there can only be one field element per group but id elements are unbound.
I modified the input, using the below answers, I get extra output (everything is output, when I only want the id and field elements. thanks.