Just write:
<rss xmlns:tv="http://www.rss-tv.org/rss/tv1.0" version="2.0"><channel/></rss>
xmlns:tv="http://www.rss-tv.org/rss/tv1.0"
isn't an attribute -- it is a namespace definition and defines a namespace node belonging to the rss
element.
Just write:
<rss xmlns:tv="http://www.rss-tv.org/rss/tv1.0" version="2.0"><channel/></rss>
xmlns:tv="http://www.rss-tv.org/rss/tv1.0"
isn't an attribute -- it is a namespace definition and defines a namespace node belonging to the rss
element.