Hi all,
I need some help with an xsl transformation, I have no idea how to begin with it because I am a novice.
I have this xml scheme:
<?xml version="1.0" encoding="utf-8"?>
<GetUserCollectionFromSiteResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/directory/">
<GetUserCollectionFromSiteResult>
<GetUserCollectionFromSite>
<Users>
<User ID="87" Sid="S-1-5-21-2025429265-1935655697-839522115-7617" Name="Falco Lannoo" LoginName="Domain\flannoo" Email="[email protected]" Notes="" IsSiteAdmin="False" IsDomainGroup="False" />
<User ID="31" Sid="S-1-5-21-2025429265-1935655697-839522115-2721" Name="John Smith" LoginName="Domain\jsmith" Email="[email protected]" Notes="" IsSiteAdmin="False" IsDomainGroup="False" />
</Users>
</GetUserCollectionFromSite>
</GetUserCollectionFromSiteResult>
And I want to transform it to this:
<ns0:userInfo xmlns:ns0="http://Sharepoint.userInfo">
<ID>218</ID>
<Name>Falco Lannoo</Name>
</ns0:userInfo>
So I want to select the node where the loginname = "Domain\flannoo". Anyone can help me with this transformation, it has to be in XSLT 1.0
thank you