TTXPath logo
 
The CHILDREN transformation
Flexible Querying for XML
Home        
Tutorial    
Demo 
Download       
Publications       
 
Curtis Dyreson
  Home
  Publications
  Projects
  Software
  Demos
  Teaching
  Contact me

A CHILDREN transformation includes children from the original shape in a pattern. Below is an example of using CHILDREN in a MORPH transformation. The CHILDREN are specified using '*'.

List authors and their children:
MORPH author [ * ]
To run the tutorial queries, use the demo code.

The names of the authors are kept with the authors, without being explicitly mentioned.

Other children can be added to the children retained from the original shape.

List books and their children, include author names as a child of book :
MORPH book [ name * ]
To run the tutorial queries, use the demo code.


                                                                                                                                                                                                                                     


Curtis E. Dyreson © 2013. All rights reserved.
  E-mail questions or comments to Curtis.Dyreson at usu.edu