- From: zamp\@libero\.it <zamp@libero.it>
- Date: Wed, 27 Feb 2008 13:22:19 +0100
- To: "public-sml" <public-sml@w3.org>
I All, recently I have read SML specification and in particular sml reference mechanism in XML instance document. However I don't understand the reason of introducing a new mechanism instead of using xlink. Are there some advantages in using sml:ref? If yes...which ones? That is to say...about this example: <EnrolledCourse sml:ref="true"> <Name>PHY101</Name> <Grade>A</Grade> <sml:uri> http://www.university.example.org/Universities/MIT/Courses.xml #xmlns(u=http://www.university.example.org/ns) xpointer(/u:Courses/u:Course[u:Name='PHY101']) </sml:uri> </EnrolledCourse> Why not like that? <EnrolledCourse> <Name>PHY101</Name> <Grade>A</Grade> <environment xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="extended"> <course xlink:type="locator" xlink:label="course" xlink:href="http://www.university.example.org/Universities/MIT/Courses.xml #xmlns(u=http://www.university.example.org/ns) xpointer(/u:Courses/u:Course[u:Name='PHY101'])"/> </enviroment> </EnrolledCourse> Best regards.. Travis
Received on Wednesday, 27 February 2008 19:50:20 UTC