Speaking of @select

Hi folks,

Here’s an interesting issue with document properties. You’d think that
p:identity would be about the simplest possible step to specify with
respect to document properties: copy them.

However. Consider:

  <p:load href="image.png"/>

  <p:identity>
    <p:with-input port="source" select="p:document-properties-document(.)"/>
  </p:identity>

Ouch! The input to p:identity is an image/png and the output is application/xml!

I haven’t worked out what to do about it, but it actually happened in
real life just yesterday.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 512 761 6676
www.marklogic.com

Received on Monday, 9 October 2017 22:48:28 UTC