XHREFlinker
XHTML
Release Notes
attachGoldenThread
cast
copy
cutGoldenThread
cwu
delete
dpml
dump
entrypoint
exists
expire
fls
guid
hotRestart
HTTPCookie
HTTPRedirect
isUnix
locationToXPath
lock/unlock
log
loglevel
luceneIndex
luceneSearch
mapper
mapper-export
md5
mls
netkernel:*
new
Orchextra
org.ten60.util.aspell
org.ten60.util.image.SVG2PNG
org.ten60.util.image.Text2PNG
org.ten60.util.image.xchart
plainTextToXHTML
regex
relativizeURI
requestWithArgs
resolveURI
serialize
sleep
sqlBatch
sqlBooleanQuery
SQLEncodeElement
SQLEscapeXML
sqlQuery
sqlUpdate
stm
stopWatch
StringToCanonicalString
throw
toRelaxNG
trace
validateDTD
validateRNG
validateSchematron
validateXSD
xacml
xform
XHREFlinker
XHTMLredirect
XHTMLTidy
xinclude
xmltidy
xpatheval
xpur
xquery
xrl
xsign
xslfo-fop
xslfo-fop
xslt
xverify
License
Change History
NetKernel History
Acknowledgements

XHREFlinker

Creates an XHTML redirect

Module

urn:org:ten60:netkernel:ext:xhtml

Definition

Format

<instr>
  <type>XHREFlinker</type>
  <operand>source.xml</operand>
  <operator>links.xml</operator>
  <target>this:response</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory XHREFlinker
operandMandatory document containing named links to be replaced
operatorMandatory document containing named URIs
targetMandatory target resource

The XHREFlinker accessor is used to replace named link elements in the operand document with an HTML link. The named links href is looked up in a links document supplied as operator.

A named link has the form <link name="mylink">Some text</link>

The operator document must contain a set of link URIs

<links>
  <link name="mylink">http://www.1060research.com</link> ...
</links>

In this example the result of the XHREFlinker operations is to replace <link name="mylink">Some text</link> with <a href="http://www.1060research.com">Some text</a>

Note: The XHREFlinker is not XLink. It is a simple and convenient named link transformer.


1060® NetKernelTM Documentation
(C) 2003-2004 1060 Research Limited

Send Feedback

© 2003,2004, 1060® Research Limited
1060 registered trademark, NetKernel trademark of 1060 Research Limited