salesforce apex dom   Leave a comment

examples:

<name />                                                                                                  doc.createRootElement(‘name’, null, null);
<ns0:name xmlns:ns0=”http://www.xpl.com.au&#8221; />           doc.createRootElement(‘name’, ‘http://www.xpl.com.au&#8217;, null);   (the 0 of ns0 is zero)
<test:name xmlns:test=”http://www.xpl.com.au&#8221; />           doc.createRootElement(‘name’, ‘http://www.xpl.com.au&#8217;, ‘test’);
<name xmlns=”http://www.xpl.com.au&#8221; />                              doc.createRootElement(‘name’, ‘http://www.xpl.com.au&#8217;, ”);

Posted 2012年02月29日 by gw8310 in salesforce

Tagged with , ,

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: