在一个网页里看到类似如下代码:var le = document .createElement( "<v:line></v:line>" ); 
le.from = 10 + ',' + 10 ;
le.to = 550 + ',' + 550 ; 
le.strokecolor= "red" ; 
le.strokeweight= "3pt" ; 
        document.body.insertAdjacentElement('BeforeEnd',le);  
         return o;想问一下大家,如果有其他属性该怎么办?
比如
[code=XAML]
<v:RoundRect style="position:relative;width:120;height:50px">
    <v:shadow on="T" type="single" color="#b3b3b3" offset="5px,5px"/>
    <v:TextBox inset="5pt,5pt,5pt,5pt" style="font-size:10.2pt;">Hello world!</v:TextBox>
</v:RoundRect>
[/code]
用上面那种方法操作的 话 该怎么写?