xrl
XML Reference Linker Accessor
Index > Books > Declarative Development Guide > Reference Library > Accessor Listing > xrl

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Module

urn:org:ten60:netkernel:ext:xrl

Definition

Active URI Base

active:xrl

Format

<instr>
  <type>xrl</type>
  <operator>links.xml</operator>
  <template>xrl:template</template>
  <content>xrl:myContent</content>
  <param>this:param</param>
  <target>this:response</target>
</instr>

Syntax

ArgumentRulesDescription
typeMandatory xrl
operatorMandatory the links document
templateMandatory
contentOptional optional content uri
paramOptional optional parameter
cookieOptional optional cookie
targetOptional the completed template

The xrl accessor is used to included named content into an xml document and to replace named links with real URIs. It also contains functionality for fragment relocation and setting of text values based on xpath evaluation. Its features reflect those needed for the dynamic generation of web content.

For more details of XRL runtime see the guide.

By default xrl is strict and throws exceptions if includes cannot be resolved. Additional modes allow for tolerant behaviour...

  • xrl-tolerant is tolerant of missing includes
  • xrl-html produces text/html mimetyped result and is strict
  • xrl-html-tolerant produces text/html mimetyped result and tolerates missing includes - good for production system

© 2003-2005, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.