"Gero Mei�ner" <[EMAIL PROTECTED]> writes:
> I used the function 'importNode' to import an attribute-node from
> one document to another one. How can I convert the resulting node
> (DOM_Node) back to an attribute (DOM_Attr) in Perl?
Hey Gero,
The first answer is you shouldn't need to, but if you do for some
reason, let me know - it might mean something needs fixing.
The second aswer is try $node->actual_cast(). If it is a DOM_Attr
node, it should recast the object into that class. That's a piece of
the perl-specific API.
jas.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]