チュートリアルガイド > XMLスキーマの変換チュートリアル > ClassStudent変換の完了
 
ClassStudent変換の完了
このタスクでは、1つのパラメーターのデータ型をcast関数を使用して変換し、パラメーターをoutに接続する必要があります。
ClassStudent変換を完了するには
1.変換を開きます。
2.パレットからcast演算をエディターに追加します。
3.Studentをoutコンテナーに接続します。
これにより、outコンテナーに必要な階層が作成されます。
4.次のloopとoutのパラメーターを接続します。
 
loop
out
school:StudentName
school:StudentName
school:StudentEmail
school:StudentEmail
Class
school:Class
school:CourseName
school:CourseName
school:CourseDescription
school:CourseDescription
school:Department
school:Department
school:Teacher
school:Teacher
5.school:CreaditNumberをcastのソースパラメーターに接続します。
6.resultをoutのschool:CreditNumberに接続します。
7.castをダブルクリックします。
8.[Type(型)]フィールドで、[Integer(整数)] > [xs:integer]を選択します。
9.[OK]をクリックします。
10.変換を保存します。