|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Any xlink experts out there?
In short, I am trying to support thumbnails and image maps using xlink using
xmlns:xlink CDATA "http://www.w3.org/1999/xlink" xlink:type (simple) "simple" xlink:href CDATA #IMPLIED xlink:role CDATA #IMPLIED xlink:title CDATA #IMPLIED xlink:show (new | replace | embed | other | none) #IMPLIED xlink:actuate (onload | onrequest) #IMPLIED Does anyone have a good example(s) of DTD and XML instance that demonstrate this implementation or can you point me to a good resource(s) for information? If not xlink--how do you support thumbnails and image maps in your implementations? |
|
#2
|
|||
|
|||
|
Here are a couple of ideas
<!-- example method 1 --> <Link xlink:href="./image.jpg" ... > <Image xlink:href="./thumb/image.jpg" ... /> </Link> <!-- memics HTNL --> <!-- example method 2 - METS-like --> <MediaResource> <Image type="thumbres" xlink:href="./thumb/image.jpg" ... /> <Image type="normalres" xlink:href="./image.jpg" ... /> </MediaResource> <!-- verbose --> <!-- example method 3 --> <Image imageID="./thumb/image.jpg" xlink:href="./image.jpg" ... /> <!-- The disadvatage to this method is that the additional details such as title or alternate text (represented by "...") can only be about one image or the other -- not both. Additionally, xlink:href can sometime represent the inline image and other times imageID does. ---> |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Any xlink experts out there? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|