Click here to Skip to main content
14,635,609 members
Home » Discussions » XML / XSL


QuestionXQuery Pin
Jacek Gajek9-Jan-10 23:40
MemberJacek Gajek9-Jan-10 23:40 
AnswerRe: XQuery Pin
Stuart Dootson12-Jan-10 3:07
professionalStuart Dootson12-Jan-10 3:07 
GeneralRe: XQuery Pin
Jacek Gajek12-Jan-10 4:02
MemberJacek Gajek12-Jan-10 4:02 
AnswerRe: XQuery Pin
Jacek Gajek12-Jan-10 4:01
MemberJacek Gajek12-Jan-10 4:01 
QuestionXML opening with IE Pin
Aljaz1117-Jan-10 4:07
MemberAljaz1117-Jan-10 4:07 
AnswerRe: XML opening with IE Pin
vivasaayi7-Jan-10 18:20
Membervivasaayi7-Jan-10 18:20 
QuestionXML With C# Pin
jojoba20105-Jan-10 22:23
Memberjojoba20105-Jan-10 22:23 
AnswerRe: XML With C# Pin
vivasaayi7-Jan-10 18:45
Membervivasaayi7-Jan-10 18:45 
class Program
        class Sample
            public Sample()
                string xmlString = "<xml><item>a<!--Item A--></item><item>b<!--Item B--></item><item>b<!--Item C--></item></xml>";

                XmlDocument document = new XmlDocument();

                //Navigate throgh all the nodes and check if a node is a comment
                Console.WriteLine("Method 1");

                XmlNodeList nodes = document.SelectNodes("xml/item");

                foreach (XmlNode childnode in nodes)
                    if (childnode.LastChild.NodeType == XmlNodeType.Comment)

                //Using Exact XQuery
                Console.WriteLine("\n\nMethod 2");
                nodes = document.SelectNodes("xml/item/comment()");

                foreach (XmlNode childnode in nodes)

        static void Main(string[] args)
            Sample sample = new Sample();

Hope it helps!
QuestionHow can I generate multiple classes from xsd’s with common includes? Pin
sri_00994-Jan-10 2:46
Membersri_00994-Jan-10 2:46 
QuestionGenerate Dynamic controls using XSLT Pin
getaccessyr3-Jan-10 22:33
Membergetaccessyr3-Jan-10 22:33 
AnswerRe: Generate Dynamic controls using XSLT Pin
Not Active4-Jan-10 1:19
mentorNot Active4-Jan-10 1:19 
QuestionGetting zero elements with xmldocument.selectnodes Pin
Haim Nachum2-Jan-10 10:55
MemberHaim Nachum2-Jan-10 10:55 
AnswerRe: Getting zero elements with xmldocument.selectnodes Pin
Dexter Legaspi20-Jan-10 16:13
MemberDexter Legaspi20-Jan-10 16:13 
QuestionHelp with xml within dll file Pin
LeeWhit28-Dec-09 19:36
MemberLeeWhit28-Dec-09 19:36 
Question2 xml used from the same hmtl page Pin
Russell'20-Dec-09 1:04
MemberRussell'20-Dec-09 1:04 
QuestionXSL +query string value Pin
sangeethanarayan18-Dec-09 2:26
Membersangeethanarayan18-Dec-09 2:26 
AnswerRe: XSL +query string value Pin
Brij21-Dec-09 7:38
mentorBrij21-Dec-09 7:38 
QuestionXPATH problem Pin
Rohit16db15-Dec-09 3:23
MemberRohit16db15-Dec-09 3:23 
AnswerRe: XPATH problem Pin
Stuart Dootson15-Dec-09 11:31
professionalStuart Dootson15-Dec-09 11:31 
QuestionMissunderstanding schema namespaces Pin
FJJCENTU6-Dec-09 2:00
MemberFJJCENTU6-Dec-09 2:00 
AnswerRe: Missunderstanding schema namespaces Pin
Dimitri Witkowski27-Dec-09 0:08
MemberDimitri Witkowski27-Dec-09 0:08 
QuestionXML ASP to with url parameters [modified] Pin
smichael4-Dec-09 15:59
Membersmichael4-Dec-09 15:59 
QuestionCreate HTML with XML including Images and XSL Pin
FJJCENTU4-Dec-09 6:58
MemberFJJCENTU4-Dec-09 6:58 
AnswerRe: Create HTML with XML including Images and XSL Pin
Brij14-Dec-09 7:51
mentorBrij14-Dec-09 7:51 
QuestionA XMLHttpRequest Request: It looked simple enough, now I just want it to work. Pin
Greth30-Nov-09 3:45
MemberGreth30-Nov-09 3:45 

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.