"Michael" == Michael Ludwig <mlu(_at_)as-guides(_dot_)com> writes:
Michael> Colin Paul Adams schrieb:
>>
Michael> {http://icl.com/saxon}evaluate
Michael> {http://icl.com/saxon}line-number
Michael> {http://icl.com/saxon}expression
Michael> {http://icl.com/saxon}eval
>> >>
>> >> But these are for the old XSLT 1.0 Saxon.
>>
Michael> That's true. But it has probably been trendsetting in its
Michael> time :-)
>>
>> Well, I think Gestalt ought to be considered as trend-setting,
>> with it's gexslt:response-body extension function.
Michael> That may well be so. I'm in no position to tell.
Michael> How would I go about using this extension function?
Michael> Google came up with this page (the other of the two hits
Michael> being a message on this list from January), but it
Michael> doesn't make the intended use clear enough for me to
Michael> understand:
Michael> http://www.gobosoft.com/eiffel/gobo/gexslt/extension/index.html
Michael> Could you give a verbatim example? That might even help
Michael> set the trend.
gestalt --template=initial test_post.xsl
where test_post.xsl is as below:
<?xml version="1.0" encoding="utf-8"?>
<xsl:transform
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:gexslt="http://www.gobosoft.com/eiffel/gobo/gexslt/extension"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
version="2.0">
<xsl:output method="text" indent="yes"/>
<xsl:template name="initial">
<xsl:result-document
href="http://soap.amazon.com/onca/soap?Service=AWSECommerceService"
gexslt:method="POST" method="xml">
<soapenv:Envelope
xmlns:ns="http://webservices.amazon.com/AWSECommerceService/2007-05-14">
<soapenv:Body>
<ns:ItemSearch>
<ns:AWSAccessKeyId>[my awsaccessid - insert your own]</ns:AWSAccessKeyId>
<ns:Shared>
<ns:Keywords>XSLT</ns:Keywords>
<ns:SearchIndex>Books</ns:SearchIndex>
</ns:Shared>
</ns:ItemSearch>
</soapenv:Body>
</soapenv:Envelope>
</xsl:result-document>
<xsl:value-of
select="gexslt:response-body('http://soap.amazon.com/onca/soap?Service=AWSECommerceService')"/>
</xsl:template>
</xsl:transform>
--
Colin Adams
Preston Lancashire
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--