出力 XML に異なる値を持たせたい。テーブルを作ってもらいました。
学生が多いと言えます..
入力 XML
<?xml version="1.0" encoding="UTF-8"?>
<Person>
<lookuptable>
<name first="Jen" ori="Jenny" />
<name first="Sam" ori="Sammy" />
</lookuptable>
<Student>
<Info Name="Jen" Age="20" Class="C" />
</Student>
<Student>
<Info Name="Sam" Age="21" Class="B" />
</Student>
</Person>
必要な出力
<?xml version="1.0" encoding="UTF-8"?>
<Person>
<lookuptable>
<name first="Jen" ori="Jenny" />
<name first="Sam" ori="Sammy" />
</lookuptable>
<Student>
<Info Name="Jenny" Age="20" Class="C" />
</Student>
<Student>
<Info Name="Sammy" Age="21" Class="B" />
</Student>
</Person>
ルックアップテーブルから などを取得するにはどうすればよいJenny,Sammy
ですか?? テーブルから使用する必要がある各場所Jen
が発生することを意味Jenny
します。XSL の書き方がわかりません。