Re: Remove namespace from XML
Quote:
Originally Posted by ujjvalpandya
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns="http://g.b.sys.com/a/RSS">
.
i got the thing.
problem is not the namespace. its the way i write namespace using XMLBeans. It i write namespace as :
<rss version="2.0" xmlns:a="http://g.b.sys.com/a/RSS">
then RSS agregator reads it as RSS.
so now i have to add ":a" or somthing after ":" then only it will work.
Re: Remove namespace from XML
Quote:
Originally Posted by ujjvalpandya
i got the thing.
problem is not the namespace. its the way i write namespace using XMLBeans. It i write namespace as :
<rss version="2.0" xmlns:a="http://g.b.sys.com/a/RSS">
then RSS agregator reads it as RSS.
so now i have to add ":a" or somthing after ":" then only it will work.
how can i add the postfix value to xmlns ?
do i have to change the XSD? coz in my XSD its like :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://g.sys.com/n/RSS"
xmlns:tns="http://g.sys.com/n/RSS"
elementFormDefault="qualified">
i think that postfix values comes after xmlns only when we are having more than one namespace. so how can i add more than one namespace in XML file usinng XmlBeans.
its urgent .please reply ASAP.thanks in advance.