Use the following macros:
The following example dumps the formfields from the user topics of users who are members of
InfrastructureTaskTeamGroup (inspired by
Tasks.Item10935):
%STARTSECTION{"xmlusers"}%<noautolink><literal><?xml version='1.0' encoding='%QUERY{"{Site}{CharSet}"}%'?>
<xml>
%FORMAT{
"%GROUPINFO{"InfrastructureTaskTeamGroup" separator="," format="$wikiusername"}%"
web="%USERSWEB%"
type="topic"
format="$percntINCLUDE{\"%TOPIC%\" section=\"dotopic\" web=\"$web\" topic=\"$topic\"}$percnt"
}%
</xml></literal></noautolink>%ENDSECTION{"xmlusers"}%
%STARTSECTION{"dotopic"}%%FORMAT{
"%QUERY{"'%web%.%topic%'/fields.name"}%"
type="string"
header=" <topic path='%web%.%topic%'>$n"
format=" <$item>$percntQUERY{'%web%.%topic%'/$item}$percnt</$item>"
footer="$n </topic>"
}%%ENDSECTION{"dotopic"}%