-Node.create = function( tag, opt_attr, opt_css ){\r
- Node._newByTag = true;\r
- return new Node( tag, opt_attr, opt_css );\r
+Node.create = function( tag, opt_attrs, opt_css ){\r
+ switch( Node._getType( tag ) ){\r
+ case Node.IS_STRING :\r
+ Node._newByTag = true;\r
+ return new Node( tag, opt_attrs, opt_css );\r
+ case Node.IS_HTML_STRING :\r
+ return X.Dom.parse( tag, true )[ 0 ];\r
+ };\r