mls
Lists resources within modules
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

mls accessor

Used to generate a document representation of a modules resources

Module

urn:org:ten60:netkernel:ext:kernel

Definition

Format

<instr>
  <type>mls</type>
  <operator>
    <mls>
      <module-uri>module urn</module-uri>
      <filter>.*xml</filter>
      <recursive />
      <uri />
      <module />
    </mls>
  </operator>
  <target>this:response</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory mls
operatorMandatory required a document specifying properties for the directory listing
targetOptional the target resource

The mls accessor walks the modules virtual filesystem to generate an xml document representation of the resource URI tree structure.

The resources that are matched are selected based upon a set a regular expression filter applied to the resource URI. The resource filter is provided as the operator.

The resulting document is hierarchical tree representation of the virtual filesystem tree. The structure of the returned document is as follows

<mls> ...
  <dir>accessor
    <res>schematronAccessor.idoc
      <uri>ffcpl:/org/ten60/netkernel/xml/accessor/schematronAccessor.idoc</uri>
      <module>urn:org:ten60:netkernel:ext:xml</module>
    </res>
  </dir> ...
</mls>

Operator Syntax

The mls accessor requires some properties to specify what to include in the listing. These are passed in by the operator in a <mls> property document.

<mls>
  <filter>.*</filter>
  <recursive />
  <uri />
  <module />
</mls>

<module-uri> If specified, this is the modules that will be the subject of the listing. Otherwise the module requesting use of the accessor will be the subject.
<filter> Filter. Regular Expression on the full path of the resource
<recursive> Will include resources in imported modules.
<uri> Include the full ffcpl: URI of the resource
<module> Include the URI of the module in which the resource is located


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