"restrict_xmlUri_inStaticData" - Optional parameter specifying whether
the xmlUri should be restricted according to the allow and
deny prefix rules above as presented in ChannelStaticData
or just as presented in ChannelRuntimeData. "true" means
both ChannelStaticData and ChannelRuntimeData will be restricted.
Any other value or the parameter not being present means
only ChannelRuntimeData will be restricted. It is important
to set this value to true when using subscribe-time
channel parameter configuration of the xmlUri.
The xmlUri and xslTitle static parameters above can be overridden by including
parameters of the same name (xmlUri
and/or xslTitle
)
in the HttpRequest string. Prior to uPortal 2.5.1 sslUri and xslUri could also
be overridden -- these features have been removed to improve the security of
CGenericXSLT instances.
Additionally, as of uPortal 2.5.1, the xmlUri must match an allowed URI prefix.
By default http:// and https:// URIs are allowed. If you are using the
empty document or another XML file from the classpath or from the filesystem,
you will need to allow a prefix to or the full path of that resource.
This channel can be used for all XML formats including RSS.
Any other parameters passed to this channel via HttpRequest will get
passed in turn to the XSLT stylesheet as stylesheet parameters. They can be
read in the stylesheet as follows:
<xsl:param name="yourParamName">aDefaultValue</xsl:param>
CGenericXSLT is also useful for channels that have no dynamic data. In these types
of channels, all the markup comes from the XSLT stylesheets. An empty XML document
can be used and is included with CGenericXSLT. Just set the xml parameter to this
empty document and allow the path to the empty document.
author:
Steve Toth, stoth@interactivebusiness.com
author:
Ken Weiner, kweiner@unicon.net
author:
Peter Kharchenko pkharchenko@unicon.net
version:
$Revision: 36839 $