Create schema to use data XML and data non-xml

hi all…

I had a schema “bib” with one doctype named “bib” (store data xml-native), and I had that store a PDF File, relative this metadata. I create other schema “bib” and with doctype named “bib”, but that store data non-xml???

Why i don’t can put two doctype(with same name, to store data xml and data non-xml) in same schema?

O read the documentation of Tamino, \Software AG\Tamino\Tamino\Documentation\advconc\DocumentComposition.htm
But in this example, don’t use data non-xml… The procedure

You cannot have two doctypes of the same name for storing nonxml and xml in the same collection. This is by design. So what you need to do is have a different doctype (say bibnonxml) for your nonxml data.

In terms of composition it doesn’t make sense to include non-xml into an xml document since this would very likely invalidate the document. The nonxml data would have to be encoded somehow to allow it to be part of a xml document, for example using base64.

Hope this helps.

Stuart Fyffe-Collins
Software AG (UK) Ltd.