private RelaxngParentRef ReadParentRefPattern() { RelaxngParentRef r = new RelaxngParentRef(); FillLocation(r); expect("parentRef"); r.Name = GetNameAttribute(); if (!IsEmptyElement) { Read(); expectEnd("parentRef"); } else { Read(); } return(r); }
private RelaxngParentRef ReadParentRefPattern () { RelaxngParentRef r = new RelaxngParentRef (); FillLocation (r); expect ("parentRef"); r.Name = GetNameAttribute (); if (!IsEmptyElement) { Read (); expectEnd ("parentRef"); } else Read (); return r; }
public void WriteParentRef (RelaxngParentRef r) { w.Write ("parent "); if (IsKeyword (r.Name)) w.Write ('\\'); w.Write (r.Name); w.Write (' '); }