diff --git a/Core/Dom/XObject.cs b/Core/Dom/XObject.cs index 67f07b7..ba66ac0 100644 --- a/Core/Dom/XObject.cs +++ b/Core/Dom/XObject.cs @@ -39,6 +39,9 @@ public abstract class XObject public XObject? Parent { get; internal protected set; } + // supports attaching arbitrary nodes + public XNode? Node { get; set; } + public IEnumerable Parents { get { var next = Parent as XNode;