XSLT:copy-of
-
Hi there, i have a application which use xslt to read the data from the particular tag for example i have a xml file like below: xxiii, 2-297 p. 21 cm. monthly and i read data using xslt for ex: i use c# to load the data into database for ex: objTempNodes = objXml.SelectNodes("//dc:test", objNameSpaceMgr); sData[21] = ""; foreach (XmlNode objNode in objTempNodes) { sData[21] += objNode.InnerText.Trim(); sData[21] += (objNode.InnerText.Trim().Length > 0 ? sDelimiter : ""); sData[21] = sData[21].Substring(0, (sData[21].Length == 0 ? 0 : sData[21].Length - 1)); sData[21] = objNode.InnerText; if (sData[21].Trim() != "") sData[21] = RemoveDups(sData[21]); objNode.InnerText = sData[21]; } but the problem is i have value in tag '310' but it show me blank, i can see the other tag value. any suggestion on this issue? pls do the needful it urgent.
-
Hi there, i have a application which use xslt to read the data from the particular tag for example i have a xml file like below: xxiii, 2-297 p. 21 cm. monthly and i read data using xslt for ex: i use c# to load the data into database for ex: objTempNodes = objXml.SelectNodes("//dc:test", objNameSpaceMgr); sData[21] = ""; foreach (XmlNode objNode in objTempNodes) { sData[21] += objNode.InnerText.Trim(); sData[21] += (objNode.InnerText.Trim().Length > 0 ? sDelimiter : ""); sData[21] = sData[21].Substring(0, (sData[21].Length == 0 ? 0 : sData[21].Length - 1)); sData[21] = objNode.InnerText; if (sData[21].Trim() != "") sData[21] = RemoveDups(sData[21]); objNode.InnerText = sData[21]; } but the problem is i have value in tag '310' but it show me blank, i can see the other tag value. any suggestion on this issue? pls do the needful it urgent.
Could you please edit your post and have it ignore the HTML tags? Or convert all the <'s to <'s and >'s to >'s.
Logifusion[^]
"This isn't a business. I've always thought of it as a source of cheap labor. Like a family." -
Could you please edit your post and have it ignore the HTML tags? Or convert all the <'s to <'s and >'s to >'s.
Logifusion[^]
"This isn't a business. I've always thought of it as a source of cheap labor. Like a family."