0
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="books.xsl"?>
<bookList>
<Book BookId="3311">
<BookName>Flying</BookName>
<readerList>
<readers sid="1001">Ashley</readers>
<readers sid="1002">Mark</readers>
<readers sid="1003">Donar</readers>
</readerList>
<readingItems>
<readings name="Assign 4" weight="20">
<mark studId="1001">15</mark>
<mark studId="1002">18</mark>
<mark studId="1003">9</mark>
</readings>
<readings name="Assign 5" weight="25">
<mark studId="1001">23</mark>
<mark studId="1002">14</mark>
<mark studId="1003">23</mark>
</readings>
<readings name="Essay" weight="15">
<mark studId="1001">13</mark>
<mark studId="1002">12</mark>
<mark studId="1003">6</mark>
</readings>
<readings name="Exam" weight="40">
<mark studId="1001">38</mark>
<mark studId="1002">25</mark>
<mark studId="1003">20.5</mark>
</readings>
</readingItems>
</Book>
</bookList>
這是書籍的數據。我無法更改格式。我不知道如何將readerList與讀者合作。無論我做什麼,它都不起作用。如何從書籍列表中獲取數據XML表格
這是我的XSL片
我想它顯然在我指定的格式,但無論我做什麼,我不能讓它開始工作。