Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. XML / XSL
  4. XSLT:copy-of element

XSLT:copy-of element

Scheduled Pinned Locked Moved XML / XSL
xmlhelpcsharpdatabasetutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    ybasha
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups