Click here to Skip to main content
14,489,038 members
   

XML / XSL

 
GeneralHow to specify a Hex value in XML? Pin
Frank W. Wu9-Apr-12 11:47
MemberFrank W. Wu9-Apr-12 11:47 
AnswerRe: How to specify a Hex value in XML? Pin
PJ Arends9-Apr-12 16:09
professionalPJ Arends9-Apr-12 16:09 
GeneralRe: How to specify a Hex value in XML? Pin
jschell10-Apr-12 8:48
Memberjschell10-Apr-12 8:48 
QuestionWhat is it called? Pin
PJ Arends7-Apr-12 21:32
professionalPJ Arends7-Apr-12 21:32 
QuestionGetting values with template Pin
memorexr24-Mar-12 4:48
Membermemorexr24-Mar-12 4:48 
AnswerRe: Getting values with template Pin
PIEBALDconsult26-Mar-12 8:21
professionalPIEBALDconsult26-Mar-12 8:21 
QuestionXmlDocument.SelectNodes not working for namespace attributes Pin
PIEBALDconsult23-Mar-12 12:23
professionalPIEBALDconsult23-Mar-12 12:23 
AnswerRe: XmlDocument.SelectNodes not working for namespace attributes Pin
woopsydoozy26-Mar-12 11:08
Memberwoopsydoozy26-Mar-12 11:08 
Kinda sounds like you're putting the cart before the horse. You're trying to walk the document to select the namespaces, but in order to walk the tree with xpaths, you really need the namespaces first. Do you not know the structure of your XML? You're really supposed to know your namespaces first, and just use them.

You can, I think, walk the tree through the object model and pull out the namespace prefixes and URIs--using some combination of the NamespaceURI property, and the GetNamespaceOfPrefix and/or GetPrefixOfNamespace methods. There's probably a much more efficient way, though--maybe the XMLReader? Quick search .. try this:
http://www.hanselman.com/blog/GetNamespacesFromAnXMLDocumentWithXPathDocumentAndLINQToXML.aspx[^]
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
PIEBALDconsult26-Mar-12 16:52
professionalPIEBALDconsult26-Mar-12 16:52 
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
PIEBALDconsult28-Mar-12 5:26
professionalPIEBALDconsult28-Mar-12 5:26 
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
woopsydoozy28-Mar-12 5:53
Memberwoopsydoozy28-Mar-12 5:53 
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
PIEBALDconsult28-Mar-12 10:24
professionalPIEBALDconsult28-Mar-12 10:24 
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
woopsydoozy28-Mar-12 10:52
Memberwoopsydoozy28-Mar-12 10:52 
GeneralRe: XmlDocument.SelectNodes not working for namespace attributes Pin
PIEBALDconsult28-Mar-12 18:14
professionalPIEBALDconsult28-Mar-12 18:14 
QuestionXPath query to return nodes based on a range within an attribute's value. Pin
Bill.Moo13-Mar-12 6:21
MemberBill.Moo13-Mar-12 6:21 
AnswerRe: XPath query to return nodes based on a range within an attribute's value. Pin
woopsydoozy16-Mar-12 7:43
Memberwoopsydoozy16-Mar-12 7:43 
GeneralRe: XPath query to return nodes based on a range within an attribute's value. Pin
Bill.Moo19-Mar-12 6:18
MemberBill.Moo19-Mar-12 6:18 
Questionreconfirm Pin
santoshkumar11876-Mar-12 7:06
Membersantoshkumar11876-Mar-12 7:06 
AnswerRe: reconfirm Pin
Chandrasekharan P9-Apr-12 21:02
MemberChandrasekharan P9-Apr-12 21:02 
Questionxml data will not display on the screen on a php page Pin
awolarczuk1-Mar-12 0:05
Memberawolarczuk1-Mar-12 0:05 
Questiongenerating html tree from xml file using xslt. Pin
anikbutt2210-Feb-12 1:41
Memberanikbutt2210-Feb-12 1:41 
QuestionHow to open zipfile and xls Pin
Themba Zwane8-Feb-12 7:53
MemberThemba Zwane8-Feb-12 7:53 
AnswerRe: How to open zipfile and xls Pin
Richard MacCutchan8-Feb-12 21:54
mveRichard MacCutchan8-Feb-12 21:54 
AnswerRe: How to open zipfile and xls Pin
ZurdoDev19-Mar-12 9:02
mveZurdoDev19-Mar-12 9:02 
QuestionImplementing Apriori Algorithm with XQuery Pin
helloworld202018-Jan-12 1:47
Memberhelloworld202018-Jan-12 1:47 

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.