public void PrintTree (StreamWriter msw) {
foreach (ForwardAxis axis in fAxisArray) {
msw.WriteLine ("<Tree IsDss=\"{0}\" IsAttribute=\"{1}\">" , axis.IsDss, axis.IsAttribute);
DoubleLinkAxis printaxis = axis.TopNode;
while ( printaxis != null ) {
msw.WriteLine (" <node>");
msw.WriteLine (" <URN> {0} </URN>", printaxis.Urn);
msw.WriteLine (" <Prefix> {0} </Prefix>", printaxis.Prefix);
msw.WriteLine (" <Name> {0} </Name>", printaxis.Name);
msw.WriteLine (" <NodeType> {0} </NodeType>", printaxis.NodeType);
msw.WriteLine (" <AxisType> {0} </AxisType>", printaxis.TypeOfAxis);
msw.WriteLine (" </node>");
printaxis = (DoubleLinkAxis) (printaxis.Input);
}
msw.WriteLine ("</Tree>");
}
}
#endif