Hi Rajeev,
good questions!
additional XML data to a nonXML document can only be written using a server extension. The flow of control is something like:
- Tamino gets a nonXML document
- the schema for that document tells Tamino to call the server extension
tsd:shadowXML tsd:onBinaryInsertSXSBlobIndexer.putBinary</tsd:onBinaryInsert>
tsd:onTextInsertSXSBlobIndexer.putText</tsd:onTextInsert>
</tsd:shadowXML>
- the extension generates XML and returns it to Tamino
- Tamino writes nonXML and XML
So you are not able to store additional XML to a nonXML document without using server extension.
NonXML Indexer (NIXE) is such a server extension. It has plugins for several mime types, but currently not for JPGs. Some JPGs have a lot of metadata (generated by digital cameras for example), or you could imagine using OCR software to create content data for scanned documents.
In future it will be possible to write an own plugin for any mime type, but currently you have no chance to write additional XML to Tamino unless you write your own server extension.
Best regards,
Martin
#API-Management#webMethods#Tamino