Click here to Skip to main content
15,905,325 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Read xml file into HTML table Pin
thedom21-Mar-07 15:33
thedom21-Mar-07 15:33 
Questionhelping converting doc,txt,rtf to xml Pin
yacastr28-Feb-07 5:36
yacastr28-Feb-07 5:36 
AnswerRe: helping converting doc,txt,rtf to xml Pin
led mike28-Feb-07 5:48
led mike28-Feb-07 5:48 
AnswerRe: helping converting doc,txt,rtf to xml Pin
yacastr28-Feb-07 6:03
yacastr28-Feb-07 6:03 
GeneralRe: helping converting doc,txt,rtf to xml Pin
led mike28-Feb-07 6:42
led mike28-Feb-07 6:42 
QuestionOnly Selected portion of XML to Ecel Pin
w13RTH70Lo27-Feb-07 20:55
w13RTH70Lo27-Feb-07 20:55 
AnswerRe: Only Selected portion of XML to Ecel Pin
nirmalamari7-Mar-07 14:56
nirmalamari7-Mar-07 14:56 
QuestionXPATH query to get the child elemets of a node Pin
madhusri27-Feb-07 17:24
madhusri27-Feb-07 17:24 
Hi,

Heres a sample XML document:

<?xml version="1.0" encoding="utf-8"?>
<Sample>
<Name>
<!--Indicates the first name-->
<FName>A</FName>
<!--Indicates the Middle name-->
<MName>M</MName>
<!--Indicates the last name-->
<LName>B</LName>
</Name>
<ID>1</ID>
</Sample>

If i get the count of childnodes of the node <name>, using the following statement: xmlNamenode.Childnodes.count, it returns 6 (i.e) it also includes the comments as a child node. Is there any way to directly get the count of number of elemets (excluding comment nodes) instead of alll the childnodes?





Thanks and Regards
Madhu
AnswerRe: XPATH query to get the child elemets of a node Pin
Stefan Troschuetz27-Feb-07 22:18
Stefan Troschuetz27-Feb-07 22:18 
GeneralRe: XPATH query to get the child elemets of a node Pin
madhusri28-Feb-07 2:20
madhusri28-Feb-07 2:20 
GeneralNesting XmlTextWriter Pin
Brady Kelly27-Feb-07 9:03
Brady Kelly27-Feb-07 9:03 
GeneralRe: Nesting XmlTextWriter Pin
Stefan Troschuetz27-Feb-07 22:32
Stefan Troschuetz27-Feb-07 22:32 
QuestionImplementing XSLT constraint Pin
rana7427-Feb-07 0:49
rana7427-Feb-07 0:49 
Questionelement or attribute Pin
spin vector26-Feb-07 2:46
spin vector26-Feb-07 2:46 
AnswerRe: element or attribute Pin
Stefan Troschuetz26-Feb-07 3:52
Stefan Troschuetz26-Feb-07 3:52 
GeneralRe: element or attribute Pin
spin vector26-Feb-07 5:59
spin vector26-Feb-07 5:59 
GeneralRe: element or attribute Pin
DavidNohejl26-Feb-07 11:05
DavidNohejl26-Feb-07 11:05 
Question[ANN] VTD-XML 2.0 Pin
Jimmy Zhang25-Feb-07 21:39
Jimmy Zhang25-Feb-07 21:39 
Questionhow to excute 2 SQLXML statements Pin
w13RTH70Lo24-Feb-07 21:01
w13RTH70Lo24-Feb-07 21:01 
AnswerRe: how to excute 2 SQLXML statements Pin
Stefan Troschuetz24-Feb-07 22:08
Stefan Troschuetz24-Feb-07 22:08 
QuestionXML to Excel Pin
w13RTH70Lo24-Feb-07 1:01
w13RTH70Lo24-Feb-07 1:01 
AnswerRe: XML to Excel Pin
Stefan Troschuetz24-Feb-07 1:15
Stefan Troschuetz24-Feb-07 1:15 
QuestionNo XML Header? Pin
Dominik Reichl23-Feb-07 5:42
Dominik Reichl23-Feb-07 5:42 
AnswerRe: No XML Header? Pin
Stefan Troschuetz23-Feb-07 5:56
Stefan Troschuetz23-Feb-07 5:56 
GeneralRe: No XML Header? Pin
Dominik Reichl23-Feb-07 6:10
Dominik Reichl23-Feb-07 6:10 

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.