1
Fetch element using getElementsByTagName excluding the namespace
I have an XML code which fetches a node from one xml and creates a new xml out of it. the code is as follows, parser = new DOMParser(); parser.parse(new StringReader(xml)); xmlSrcDoc = parser.getDocument(); xmldoc.setXmlVersion(“1.0″); // new xml doc xmldoc.setEncoding(“UTF-8″); Element e1 = xmldoc.createElement(“config”); e1.setAttribute(“productVersion”, “x.x”); e1.setAttribute(“xmlns:abc”, “http://xmlns.efg.com/xyz”); NodeList nl = xmlSrcDoc.getElementsByTagName(“tag”); Node e = [...]
Answer Question
| April 23, 2010 9:30 AM
Fetch, nodes, XML
I have an XML code which fetches a node from one xml and creates a new xml out of it. the code is as follows, parser = new DOMParser(); parser.parse(new StringReader(xml)); xmlSrcDoc = parser.getDocument(); xmldoc.setXmlVersion(“1.0″); // new xml doc xmldoc.setEncoding(“UTF-8″); Element e1 = xmldoc.createElement(“config”); e1.setAttribute(“productVersion”, “x.x”); e1.setAttribute(“xmlns:abc”, “http://xmlns.efg.com/xyz”); NodeList nl = xmlSrcDoc.getElementsByTagName(“tag”); Node e = [...]
SQL Fetch
I an joing tow files with inner join. I want all the fields from the first file and only two fields from the other file. I defined an external DS for the first file then included that DS in another DS with the two fields from the other file but program will no compile. Will [...]
Answer Question
| April 28, 2010 8:30 PM
Fetch, Join logical files, SQL
I an joing tow files with inner join. I want all the fields from the first file and only two fields from the other file. I defined an external DS for the first file then included that DS in another DS with the two fields from the other file but program will no compile. Will [...]
1





