Hi,

 

I am trying to determine a way to associate a metadata xml with a Binary
or Text File.  Such that Binary nodes can be queried by their metadata 

 

 

My initial idea was to wrap the Binary or Text Data in an XmlElement and
store the content as a child node.  But loading this node would require
a custom function instead of using the
ContentSourceFactory.NewContentSource method in the .net API.

I tried to use a custom function but because the file may be quite large
serialization of the document as a base64(adds 30% more to file)  or
hexBinary caused the server to complain about the file being to large.

 

Is there a prescribed method for associating metadata with a binary or
text file that can allow the document to be queried as a single
document? 

 

Since the metadata properties are complex types I don't believe I should
use document-properties as it is inconsistent with our xml strategy
(inserting the node into the document root).

 

Can CPF links be used to associate a file to the binary file and allow
for querying to resolve the binary file?

 

[Example 1]

<sys:binary>

            <sys:metadata/>

            <sys:data>

                        [.Binary Data goes here]

            </sys:data>

</sys:binary>

 

OR

 

lnk:create("source-uri","info-uri","source","related","strong")

 

Please provide some insight?

 

Gary Vidal

Sr. .Net Developer

Tel: 212-592-4946

[EMAIL PROTECTED]

 

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to