class=133232615-28032006>
Can you depend on the caret telling you which node was
inserted?
function InsertTagAfterCallback( doc, tagname, op
)
{
face=Arial color=#0000ff size=2>if ( op == 2 )
face=Arial color=#0000ff size=2>{
class=133232615-28032006> face=Arial color=#0000ff size=2>local o = oid_current_tag( doc
);
class=133232615-28032006> face=Arial color=#0000ff size=2>if ( oid_name( o ) != tagname
)
class=133232615-28032006> face=Arial color=#0000ff size=2>{
class=133232615-28032006>
# assumption false.
}
face=Arial color=#0000ff size=2>}
}
From: Anthony J. Bufort
Sent: Monday, March 27, 2006
5:57 PM
To: Adepters@maillist.arbortext.com
Subject: Re:
Insert Tag Callback Events and Object Handles
That's just it - I have tried insert_tag_after too, and I get the doc, the tagname, and the op. I don't want the doc, because that means I have to search, and I don't want to do that, especially against an element which has no name or id upon insertion. I just want the Node that was inserted, or which is about to be inserted, I'll take either. -Anthony >> To unsubscribe from the list, send an email to listmanager@maillist.arbortext.com with the following in the body: unsubscribe adepters - For additional information on the adepters list (how to subscribe or unsubscribe etc), send an email to: listmanager@maillist.arbortext.com with the following in the body: info Adepters - You may also go to forums.arbortext.com, enter the Adepters folder and change your subscription options and preferences.>>