View Single Post
  #1 (permalink)  
Old September 6th, 2011, 02:12 AM
ROCXY ROCXY is offline
Authorized User
Points: 345, Level: 6
Points: 345, Level: 6 Points: 345, Level: 6 Points: 345, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2005
Location: , , .
Posts: 71
Thanks: 10
Thanked 0 Times in 0 Posts
Default Identify element based on the element data/content

Hi All,

Below is the entity value of 'equal to' symbol. The same symbol can appear in any of the elements/nodes

Objective:
Identify a node based on the data value '=' and add the node with attributes say @font and @fontsize.


Input can be :
Code:
<mo>&#x3d;</mo>
 
<anyelement>&#x3d;</anyelement>

Required output

Code:
<mo font="XYZ" fontsize="10.2">&#x3d;</mo>
 
<anyelement font="XYZ" fontsize="10.2">&#x3d;</anyelement>
Any help would be great full
__________________
Thanks,
Rocxy.
Reply With Quote