[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Images and XML

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: XML-DEV <xml-dev@l...>
  • Date: Sat, 04 Aug 2001 11:49:18 -0400

images in xml
There is also a classic approach.  Declare the picture to be an NDATA entity
of type jpeg, then make it the value of some attribute.  The parser won't
try to parse NDATA entities, that's what they are for.  Of course, you still
have to write some software that knows what to do with jpeg data.  But at
least the parser will hand you the file url and tell you to give it to the
jpeg handler.

Cheers,

Tom P

[Paul Jolly]

I have a jpeg image of the Eiffel Tower. I would like to include with the
image some information about the picture, using a fairly standard DTD for
family photographs say (a point here is what should the DTD describe, a
family photo, a photo in general, media about Paris? I guess this is a
combination of personal preference and style, but how the latter is dictated
I do not know). How does one add this information to the image? Do you write
a separate XML file that contains example details like:

<family_photograph>
<taken_by>Paul Jolly</taken_by>
<taken_when>date</taken_when>
....
<!-- Link to photo file here -->
...
...
</image_data>
</family_photograph>


and then link (using XLink??) to the photograph, or do you make the image an
XML file in itself and have a format maybe like this:




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.