SpecialElements

From Plex-XML
Jump to: navigation, search

The specialElements template is used to define custom XML-Elements in the first filter.

Contents

Elements

<NoFormatButton>

Could be used to hide the format button from your HTML page.

Attributes

  • none


<NoUserFormatButton>

A marker element to signal that we do not want to generate the "screw-wrench"-Button for a user defined format. reasonable for some special grids

<NoUserFormatButton>

Attributes

  • none


<HelpForFormat>

The generated link to the help-text-wiki is format dependent. So you are able to enter a different help text for every format of a request.

Attributes

  • none


<NoHelpLink/>

Disable generation of link to the help-text-wiki. ---> Must be implemented in customized/detailComponents.xslt of each project:

  <xsl:template name="modifiedHelpLink">
    <xsl:param name="function"></xsl:param>
    <xsl:param name="format"></xsl:param>
    <xsl:choose>
      <xsl:when test="/document/NoHelpLink"></xsl:when>
      <xsl:otherwise>
      ...


Attributes

  • none

Example

 <xsl:template name="specialElements">
  <NoFormatButton/>
 </xsl:template>


showHelpAttribute

Hides the HrlpLink in the upper right corner.

(SHOULD ALSO BE HANDLED BY A SPECIAL ELEMENT !?!)

<xsl:template name="showHelpAttribute">
 <xsl:attribute name="showHelp">false</xsl:attribute>
</xsl:template>


Hide format selection on top of page

Just because it could also be handled by a special element attribute...
XSLT_How_to#...hide_the_format_selector

Personal tools