|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Elements and functions available
>>>>> "Michael" == Michael Ludwig <mlu@xxxxxxxxxxxxx> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








