嗨,我有一个 xml 文档,其中包含一个家庭列表和一个家庭成员列表,以及后来的家庭到家庭成员的链接。我必须创建一个 XSL,它以 Society
1 格式显示 HTML 表格内容。家庭
1.1 FamilyA
1.1.1 Member1
1.1.2 Member4
1.2 FamilyB
1.2.1 Member2
1.2.2 Member3
1.2.3 Member5
1.2.4 Member6
单击链接应导航到页面的相应部分。请帮我解决这个问题
<?xml version="1.0" encoding="utf-8"?>
<society>
<families>
<family>
<name>A</name>
<numberofMembers>2</numberofMembers>
<Description>abc</Description>
<place></place>
</family>
<family>
<name>B</name>
<numberofMembers>4</numberofMembers>
<Description>xyz</Description>
<place></place>
</family>
</families>
<familyMembers>
<familyMember>
<name>member1</name>
<occupation>blah</occupation>
<ID>1</ID>
</familyMember>
<familyMember>
<name>ghij</name>
<occupation>blah2</occupation>
<ID>2</ID>
</familyMember>
<familyMember>
<name>member2</name>
<occupation>blah3</occupation>
<ID>3</ID>
</familyMember>
<familyMember>
<name>member3</name>
<occupation>bgd</occupation>
<ID>4</ID>
</familyMember>
<familyMember>
<name>member4</name>
<occupation>sdjhf</occupation>
<ID>5</ID>
</familyMember>
<familyMember>
<name>member5</name>
<occupation>member6</occupation>
<ID>6</ID>
</familyMember>
</familyMembers>
<FamilyFamilyMembers>
<FamilyFamilyMember>
<source>
/families/A
</source>
<target>
/familyMember/member1
</target>
</FamilyFamilyMember>
<FamilyFamilyMember>
<source>
/families/A
</source>
<target>
/familyMember/member4
</target>
</FamilyFamilyMember>
<FamilyFamilyMember>
<source>
/families/B
</source>
<target>
/familyMember/member2
</target>
</FamilyFamilyMember>
<FamilyFamilyMember>
<source>
/families/B
</source>
<target>
/familyMember/member3
</target>
</FamilyFamilyMember>
<FamilyFamilyMember>
<source>
/families/B
</source>
<target>
/familyMember/member5
</target>
</FamilyFamilyMember>
<FamilyFamilyMember>
<source>
/families/A
</source>
<target>
/familyMember/member6
</target>
</FamilyFamilyMember>
</FamilyFamilyMembers>
</society>