OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   NDATA,XPointer, XLink Confusion

[ Lists Home | Date Index | Thread Index ]
  • From: "xml" <xml@waena.edu>
  • To: "'Xml-Dev" <xml-dev@ic.ac.uk>
  • Date: Thu, 9 Dec 1999 11:28:07 -0500

Hi all,
This is a newbie-ish question.

My servlet accepts XML files which have in them CDATA of base64 encoded
binary data (images, sounds, movies, etc).

I take that CDATA, extract it and save it as a separate file in the
filesystem, but now I need to add and NDATA statement that points to that
file.  Perhaps I should be using XPointers or XLinks?  In any case, the
element that holds the CDATA, called <CONTENT> is of CDATA type.  I can
change that to NDATA and plug in the reference, but do I have to decalre the
actual NDATA in the DTD?  I can't do this (one DTD for many files, all of
which contain different binary data).  If I use XPointers or XLinks, do XML
parsers automatically inster the binary data they point to?  If so, why
would anyone use NDATA to point to external binary files?

Thanks


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS