[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Elements and functions available

Subject: Re: [xsl] Elements and functions available
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Oct 2008 15:39:18 +0100

>>>>> "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: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">
     <ns:AWSAccessKeyId>[my awsaccessid - insert your own]</ns:AWSAccessKeyId>
 <xsl:value-of select="gexslt:response-body('http://soap.amazon.com/onca/soap?Service=AWSECommerceService')"/>


Colin Adams
Preston Lancashire

Current Thread