Examples readme
STM by Example
Release Notes
Developing with NetKernel
Module Development Guide
Introduction
Design Model
Parameter Substitution
Namespaces
Examples readme
Tree Operations
stm:set
stm:append
stm:delete
stm:create-path
stm:get-fragment
stm:rename
stm:apply-ns
stm:remove-ns
stm:insert-before
stm:insert-after
stm:regex
stm:replace
stm:append-text
stm:append-attr
stm:set-xpath-eval
stm:basis
DPML Reference Guide
XRL Reference Guide
XForms Processing Guide
XAccesor/XAHelper
XDA
Session Guide
Mod DB Guide
Compound URI Guide
License
Change History
NetKernel History
Acknowledgements

Examples README

Example

For this tutorial we use the following simple example documents as operand and param respectively of the stm idoc instruction.

doc.xml

<a>
  <b>
    <c food="hay">horse</c>
  </b>
  <b>
    <c food="hay">donkey</c>
  </b>
</a>

param.xml

<i>
  <j>
    <k>haddock</k>
  </j>
  <j>
    <k>cod</k>
  </j>
</i>

data.xml [used in design patterns section]

<data>
  <item>
    <price>129.99</price>
    <name>Horse Blanket</name>
  </item>
  <item>
    <price>9.99</price>
    <name>Horse Shoe</name>
  </item>
  <item>
    <price>599.99</price>
    <name>Saddle</name>
  </item>
  <item>
    <price>49999.99</price>
    <name>Horse Box</name>
  </item>
  <item>
    <price>1.99</price>
    <name>Curry Comb</name>
  </item>
</data>


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