XML with PHP DOM
i have xml files want able add attribute parent nodes in file. can add attribute new parent nodes when created setting attributes existing parent nodes. add attributes new parent nodes code:
$item = $dom->createelement("a_transaction");
$item->setattribute('cat', "$catid");
$item->setattribute('subcat', "$subcatid");
i able add attribute {a_transaction} parent node when editing sibling nodes values.
i can edit sibling node values set attribute parent when editing siblings.
any ideas?
$item = $dom->createelement("a_transaction");
$item->setattribute('cat', "$catid");
$item->setattribute('subcat', "$subcatid");
i able add attribute {a_transaction} parent node when editing sibling nodes values.
i can edit sibling node values set attribute parent when editing siblings.
any ideas?
More discussions in Dynamic HTML General Discussion (read only)
adobe
Comments
Post a Comment