Hi, Michael:
I included the Input XML in the question already. The <search:response>
itself is XML as the Stage One search result:
<?xml version="1.0" encoding="UTF-8"?> <search:response
xmlns:search="http://marklogic.com/appservices/search">
<search:result index="1" uri="/a.xml" path="fn:doc('/a.xml')">
<search:snippet>
<search:match
path="fn:doc('/a.xml')//*:putCurrencyAmount/*:currency">
<search:highlight>USD</search:highlight>
</search:match>
<search:match path="fn:doc('/a.xml')//*:putCurrencyAmount/*:amount">
<search:highlight>26000000</search:highlight>
</search:match>
</search:snippet>
</search:result>
<search:result index="2" uri="/b.xml" path="fn:doc('/b.xml')">
<search:snippet>
<search:match
path="fn:doc('/b.xml')//*:putCurrencyAmount/*:currency">
<search:highlight>USD</search:highlight>
</search:match>
<search:match path="fn:doc('/b.xml')//*:putCurrencyAmount/*:amount">
<search:highlight>38500000</search:highlight>
</search:match> </search:snippet>
</search:result></search:response>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--