Click here to Skip to main content
15,899,313 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionXSD output (Enforcing XML Closing Tags) Pin
tranzformerz13-Aug-08 12:51
tranzformerz13-Aug-08 12:51 
AnswerRe: XSD output (Enforcing XML Closing Tags) Pin
tranzformerz13-Aug-08 13:44
tranzformerz13-Aug-08 13:44 
QuestionTransform to convert True to true? Pin
Ed K13-Aug-08 8:04
Ed K13-Aug-08 8:04 
QuestionHow to Add new Xml Node Pin
salmonraju13-Aug-08 2:57
salmonraju13-Aug-08 2:57 
AnswerRe: How to Add new Xml Node Pin
PIEBALDconsult13-Aug-08 18:13
mvePIEBALDconsult13-Aug-08 18:13 
QuestionHow to write a XSD for the xml have the node name have Full colon Pin
vicky0000013-Aug-08 1:04
vicky0000013-Aug-08 1:04 
QuestionXSLT stylesheets and Reporting Services Pin
Tracy N12-Aug-08 19:03
Tracy N12-Aug-08 19:03 
QuestionSome elements not showing any values [modified] Pin
Ekjon11-Aug-08 9:34
Ekjon11-Aug-08 9:34 
Hello,

I was trying to load data from xml files to SQL Server tables.
I am using XMLTextReader to read from the files. my code's working and loading information to two tables. Except, few fields.
They show no values when read - even though the file contains values for them.
I notice all of them are either unsignedByte or unsignedInt type in the xml schema.
I changed them to strings just to test, but it's doing the same.
I think the datatype is not making any difference, but these elements don't have any attributes and the values are directly in the tags.
So, could be I'm missing something. Here's part of my code:
while (reader.Read())
{
  switch (reader.NodeType)
  {
     case XmlNodeType.Element: 
       if (reader.Name.ToLower().Equals("decimals"))
       {
          dec = reader.Value;
       }
       .....
       break;
     case XmlNodeType.Text:
         ...nothing
       break;
     case XmlNodeType.EndElement:
      break;
   }
}

Any idea, what's wrong?
Thanks.

modified on Monday, August 11, 2008 4:42 PM

QuestionHelp Required Pin
kash_jack11-Aug-08 2:10
kash_jack11-Aug-08 2:10 
GeneralLoading various objects simultaneously Pin
AmitDey6-Aug-08 19:59
AmitDey6-Aug-08 19:59 
GeneralRe: Loading various objects simultaneously Pin
AmitDey6-Aug-08 21:38
AmitDey6-Aug-08 21:38 
QuestionLoop through XML Elements Pin
Illegal Operation6-Aug-08 16:38
Illegal Operation6-Aug-08 16:38 
AnswerRe: Loop through XML Elements Pin
Illegal Operation6-Aug-08 16:40
Illegal Operation6-Aug-08 16:40 
GeneralRe: Loop through XML Elements Pin
George L. Jackson7-Aug-08 9:06
George L. Jackson7-Aug-08 9:06 
QuestionOdd Occurrence Happening... Pin
myNameIsRon5-Aug-08 10:36
myNameIsRon5-Aug-08 10:36 
AnswerRe: Odd Occurrence Happening... Pin
led mike5-Aug-08 10:54
led mike5-Aug-08 10:54 
QuestionHow to combine two different xml schemas using ado.net Pin
abja3-Aug-08 23:03
abja3-Aug-08 23:03 
QuestionXSL and Params with Sort-By [modified] Pin
Lea Hayes3-Aug-08 14:42
Lea Hayes3-Aug-08 14:42 
AnswerRe: XSL and Params with Sort-By Pin
Lea Hayes4-Aug-08 6:38
Lea Hayes4-Aug-08 6:38 
Questionoutput space in html from xml and xsl Pin
Shiby1-Aug-08 8:47
Shiby1-Aug-08 8:47 
AnswerRe: output space in html from xml and xsl Pin
Perspx2-Aug-08 9:36
Perspx2-Aug-08 9:36 
AnswerRe: output space in html from xml and xsl Pin
Shiby5-Aug-08 9:54
Shiby5-Aug-08 9:54 
AnswerRe: output space in html from xml and xsl Pin
PIEBALDconsult13-Aug-08 18:26
mvePIEBALDconsult13-Aug-08 18:26 
QuestionXSL to select and sort problem Pin
Lea Hayes1-Aug-08 2:41
Lea Hayes1-Aug-08 2:41 
AnswerRe: XSL to select and sort problem Pin
Lea Hayes1-Aug-08 5:31
Lea Hayes1-Aug-08 5:31 

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.