I'm new to XSLT.
I have a source XSLT like the below one.
<?xml version="1.0" encoding="UTF-8"?>
<root>
<child-value>3</child-value>
</root>
My target should have something like the below one
<?xml version="1.0" encoding="UTF-8"?>
<pass_details>
<pass id ='p1'>1</pass>
<pass id ='p2'>2</pass>
<pass id ='p3'>3</pass>
</pass_details>
The number of <pass> tag should be based on the value of child-value tag?
Can any one help with the xslt?