I'm having some trouble getting the desired behavior from insertNode.

My document type has a PI that can be used to include files, a
poor-man's modular document creation method.  I've been trying to
figure out how to insert a PI into an empty <references> section -

insertNode piInto[implicitNode]
insertNode piInto[implicitElement]

don't work.

insertNode piInto

does, but has a different problem.  If the caret is between the two quotes of

<?rfc include='reference.'?>

and I execute

insertNode piInto rfc

I get

<?rfc include='reference.?>
<?rfc ?>
<?rfc '?>

where I was hoping to get an execution failure so that a subsequent
"insertNode piAfter" could have a change.

Is this expected behavior?  If it's a bug, can you think of a workaround?

Thanks,
  Bill

Reply via email to