Click here to Skip to main content
15,902,275 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Determine Ancestral Relationship in XmlNodeList [modified] Pin
George L. Jackson6-Nov-06 15:56
George L. Jackson6-Nov-06 15:56 
Questionregexp bug in icuin26.dll? Pin
orion45003-Nov-06 8:49
orion45003-Nov-06 8:49 
AnswerRe: regexp bug in icuin26.dll? [modified] Pin
George L. Jackson3-Nov-06 11:20
George L. Jackson3-Nov-06 11:20 
Questionxsd schema cascading Pin
Russell Jones2-Nov-06 23:46
Russell Jones2-Nov-06 23:46 
AnswerRe: xsd schema cascading Pin
George L. Jackson8-Nov-06 12:20
George L. Jackson8-Nov-06 12:20 
GeneralRe: xsd schema cascading Pin
Russell Jones21-Nov-06 3:43
Russell Jones21-Nov-06 3:43 
QuestionXSLT:copy-of element Pin
ybasha2-Nov-06 5:21
ybasha2-Nov-06 5:21 
QuestionXSLT:copy-of Pin
ybasha2-Nov-06 5:15
ybasha2-Nov-06 5:15 
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:

<datafield tag="300" ind1="" ind2="">
<subfield code="a">xxiii, 2-297 p.

<subfield code="c">21 cm.


<datafield tag="310" ind1="" ind2="">
<subfield code="a">monthly

and i read data using xslt for ex:
<dc:test>
<xsl:call-template name="selectFields">
<xsl:with-param name="fields">
<xsl:copy-of select="marc:datafield[@tag='310']/marc:subfield[@code='a']">


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.
AnswerRe: XSLT:copy-of Pin
Dustin Metzgar2-Nov-06 5:24
Dustin Metzgar2-Nov-06 5:24 
GeneralRe: XSLT:copy-of Pin
ybasha2-Nov-06 5:30
ybasha2-Nov-06 5:30 
QuestionCreate anchors in an XHTML document generated with XSLT Pin
ISmith30-Oct-06 7:47
ISmith30-Oct-06 7:47 
AnswerRe: Create anchors in an XHTML document generated with XSLT Pin
George L. Jackson30-Oct-06 13:53
George L. Jackson30-Oct-06 13:53 
GeneralRe: Create anchors in an XHTML document generated with XSLT Pin
ISmith31-Oct-06 6:16
ISmith31-Oct-06 6:16 
QuestionWeb Service needed for Sharepoint Pin
dgibson553130-Oct-06 3:08
dgibson553130-Oct-06 3:08 
QuestionInsert one value in XSLT file Pin
shapper27-Oct-06 9:00
shapper27-Oct-06 9:00 
AnswerRe: Insert one value in XSLT file Pin
Dustin Metzgar27-Oct-06 9:17
Dustin Metzgar27-Oct-06 9:17 
Questionxpath during xsl transfomation Pin
Savas Cilve27-Oct-06 4:24
Savas Cilve27-Oct-06 4:24 
AnswerRe: xpath during xsl transfomation Pin
led mike27-Oct-06 5:16
led mike27-Oct-06 5:16 
QuestionRe: xpath during xsl transfomation Pin
Savas Cilve27-Oct-06 5:19
Savas Cilve27-Oct-06 5:19 
AnswerRe: xpath during xsl transfomation Pin
led mike27-Oct-06 5:45
led mike27-Oct-06 5:45 
AnswerRe: xpath during xsl transfomation Pin
Dustin Metzgar27-Oct-06 8:05
Dustin Metzgar27-Oct-06 8:05 
GeneralRe: xpath during xsl transfomation Pin
Savas Cilve30-Oct-06 1:15
Savas Cilve30-Oct-06 1:15 
GeneralRe: xpath during xsl transfomation Pin
Dustin Metzgar1-Nov-06 5:16
Dustin Metzgar1-Nov-06 5:16 
GeneralRe: xpath during xsl transfomation Pin
Savas Cilve1-Nov-06 5:28
Savas Cilve1-Nov-06 5:28 
GeneralRe: xpath during xsl transfomation Pin
Dustin Metzgar1-Nov-06 10:32
Dustin Metzgar1-Nov-06 10:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.