2005-04-06 23:05:46

XSLT and XPath extensions for use to access the 4SS API

Copyright 2004 Fourthought, Inc. (USA). Detailed license and copyright information: http://4suite.org/COPYRIGHT Project home, documentation, distributions: http://4suite.org/

Empty is the content model for childless elements

<Ft.Xml.Xslt.ContentInfo.Atom instance>
{}

Empty is the content model for childless elements

<Ft.Xml.Xslt.ContentInfo.Atom instance>
{'uri': <Ft.Xml.Xslt.AttributeInfo.UriReferenceAvt instance>}

fhttp:get-query-args() returns a node-set consisting of one 'requestParameters' element, containing one child element for each item in the HTTP request parameters, a.k.a. the query arguments (typically HTML form data).

The HTTP server will have already decoded the parameters and made them available to the XSLT processor; this function merely provides access to that data as a node-set. The parameter name becomes the element name, and the value is the element's content. If there are multiple parameters with the same name, they'll manifest as separate elements.

Given a repo path, returns a repo path that is relative to the HTTP handler's document root, if possible. Otherwise, returns the given path unchanged.

Given an ftss URI, returns a URI reference. The reference will be relative to the HTTP handler's document root.

{('http://xmlns.4suite.org/4ss/http', 'request-headers'): <class Ft.Server.Server.Xslt.Http.RequestHeadersElement>, ('http://xmlns.4suite.org/4ss/http', 'response-uri'): <class Ft.Server.Server.Xslt.Http.ResponseUriElement>}
{('http://xmlns.4suite.org/4ss/http', 'get-query-args'): <function GetQueryArguments>, ('http://xmlns.4suite.org/4ss/http', 'local-path'): <function LocalPath>, ('http://xmlns.4suite.org/4ss/http', 'local-uri'): <function LocalUri>}
'http://xmlns.4suite.org/4ss/http'
'http://xmlns.4suite.org/reserved'