Simplifying Expression

Hey Everyone,

Looking to expand this expression. I have been trying to figure this out by looking at the documentation, almost there, but for some reason, I can’t generated a simplified expression.

<mathList name="mList">
6x 3x^2-4
</mathList>
<p>product = 
  <product name="productOfMaths">$mList</product>
</p> 

<p>Simplified = 
  <math expand="$productOfMaths" simplify="full"/>
</p> 

Any help is appreciated.

The expand attribute is a boolean. Either specify it as expand="true" or as a plain expand. To have it apply to productOfMaths, either use the extend attribute or add $productOfMaths as a child.

Option 1:

<p>Simplified = 
  <math expand extend="$productOfMaths"/>
</p> 

Option 2:

<p>Simplified = 
  <math expand>$productOfMaths</math>
</p> 

Thank you so much!