Hi Todd,


I thought you said the blob contained hexBinary. In that case, just get it
as string, cast it to xs:hexBinary, and pass that to binary {} constructor.
That is not the case? What kind of values can your xsi:type attribute have?
Can you give a small sample?



Kind regards,

Geert



*Van:* [email protected] [mailto:
[email protected]] *Namens *Todd Gochenour
*Verzonden:* zaterdag 25 februari 2012 18:54
*Aan:* MarkLogic Developer Discussion
*Onderwerp:* Re: [MarkLogic Dev General] Processing Large Documents?



My question is, what happened to the /file_blob/@xsi:type attribute.  Was
it interpreted by MarkLogic or just discarded or is it there but my query
fails to properly ask for it?    Could it be that the element is already
known by MarkLogic as hexBinary and so a cast to hexBinary is going in the
wrong direction?  I tried it without the cast with just { binary(
$file_blob ) } but extracting and saving a PDF, I still couldn't get Adobe
to open it.   I'm now looking at the insert-document options cause I think
its here I need to set mime-type.
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to