toRelaxNG
creates a relaxNG schema that matches the structure of a document
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

toRelaxNG

Creates a RelaxNG Schema from a Document

Module

urn:org:ten60:netkernel:ext:sys

Definition

Format

<instr>
  <type>toRelaxNG</type>
  <operand>doc.xml</operand>
  <target>this:response</target>
</instr>

Syntax

ElementRulesDescription
typeMandatory toRelaxNG
operandMandatory the resource to be generate a schema for
operatorOptional optianally specifiy a strict schema
targetOptional the target resource

The toRelaxNG accessor generates a RelaxNG schema for the operand document.

By default the schema is loose and matches the tree structure of the source document. The optional <toRelaxNG><strict/></toRelaxNG> operator can be used to request a schema that strictly matches both tree structure and all attributes.

Operator Syntax

The toRelaxNG accessor will produce a strict schema if the strict element is set in the operator

<toRelaxNG>
  <strict />
</toRelaxNG>

Example

TBD


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