this might be a simple question but I just started with xslt and i cant get it to work.
Basically I got an xml with this format coming in:
<?xml version="1.0" encoding="UTF-8"?> 
<FileXML xmlns:vi="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/XSL/Transform"> 
    <vi:Branch> 
        <vi:Identifier>81388</vi:Identifier> 
        <vi:Name>Union Square Limited</vi:Name> 
        <vi:BranchInformation> 
            <vi:BranchInformation> 
                <vi:Employees>3</vi:Employees> 
            </vi:BranchInformation> 
        </vi:BranchInformation> 
    </vi:Branch> 
</FileXML> 
What I am trying to achieve is an output like:
<?xml version="1.0" encoding="UTF-8"?> 
<FileXML xmlns:vi="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/XSL/Transform"> 
<vi:Branch> 
    <vi:Identifier>81388-1</vi:Identifier> 
    <vi:Name>Union Square Limited</vi:Name> 
    <vi:BranchInformation> 
        <vi:BranchInformation> 
            <vi:Employees>1</vi:Employees> 
        </vi:BranchInformation> 
    </vi:BranchInformation> 
</vi:Branch> 
<vi:Branch> 
    <vi:Identifier>81388-2</vi:Identifier> 
    <vi:Name>Union Square Limited</vi:Name> 
    <vi:BranchInformation> 
        <vi:BranchInformation> 
            <vi:Employees>1</vi:Employees> 
        </vi:BranchInformation> 
    </vi:BranchInformation> 
</vi:Branch> 
<vi:Branch> 
    <vi:Identifier>81388-3</vi:Identifier> 
   <vi:Name>Union Square Limited</vi:Name> 
    <vi:BranchInformation> 
        <vi:BranchInformation> 
            <vi:Employees>1</vi:Employees> 
        </vi:BranchInformation> 
    </vi:BranchInformation> 
</vi:Branch> 
</FileXML> 
This means it should read the amount of employees (=3) in the source xml and therefore create three Branch elements with all the original data but assign a unique Identifier. I think I can manage to change the Employees to have the value 1 afterwards but the rest is totally above my current skills.
Any thoughts or ideas are more than welcome! Thanks!