Hello All: I am having problems figuring out how to parse an XML Document in VB.Net. The problem comes from the fact I have a NamespaceURI. My XML File looks like this:
<?xml version="1.0" encoding="UCS-2"?> <?pf_command version='1.0'?> <pfjob:job_command xmlns:pfjob="http://www.domain.com" name="SubmitJob"> <pfjob:job_variables> <pfjob:var name="AllowAllVariableOverrides">TRUE</pfjob:var> </pfjob:job_variables> <pfjob:doc_variables> <pfjob:var name="email"/> <pfjob:var name="teltype1"/> <pfjob:var name="title1">Multimedia Specialist</pfjob:var> </pfjob:doc_variables> </pfjob:job_command> Can anyone help point me in the direction I need to go? I can parse a normal XML file, but this is the first time I saw this type of file. This is as far as I got, but it isn't working: Dim oXML As New XmlDocument() Dim eXML As XmlElement Dim nlXML As XmlNodeList oXML.LoadXml(XMLDocument) eXML = oXML.DocumentElement nlXML = eXML.GetElementsByTagName("pfjob:var", "job_variables") Thanks for any help Andy ------------------------ Yahoo! Groups Sponsor --------------------~--> $9.95 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
