public override void startElement(JNodeName nameCode, JSchemaType typeCode, JLocation location, int properties) { if (ended) { JXPathException e = new JXPathException("Only a single root node can be written to an XdmDestination"); throw new DynamicError(e); } base.startElement(nameCode, typeCode, location, properties); level++; }
public override void startElement(JNodeName nameCode, JSchemaType typeCode, int locationId, int properties) { if (this.locationId == -1) { this.locationId = locationId; } base.startElement(nameCode, typeCode, locationId, properties); }