Unfortunately I can't use those tools at my current location. <cfset results = XmlSearch(metabaseXMLObject,"//configuration")>
Also returns no results. There is a namespace reference in the configuration node <configuration xmlns="urn:microsoft-catalog:XML_Metabase_V54_0"> And removing the xmlns attribute appears to provide me the results that I was expecting... How is this typically handled? - Calvin On 6/8/05 8:17 AM, "Massimo Foti" <[EMAIL PROTECTED]> wrote: >> <cfset results = XmlSearch(metabaseXMLObject,"/configuration")> >> >> Gets me nothing (note: there is also a simple parse, file read, and dump >> surrounding this code). >> >> Dumping metabaseXMLObject gives me the full XML object. I'm able to loop >> through elements such as IIsWebServer as an array as expected. > > I am not familiar with IIS 6 Metabase format, but I guess it could use > namespaces and this could make your XPath fails. > > I would suggest to check your XPath experission first, using a dedicated > tool like: > http://www.purpletech.com/xpe/index.jsp > http://www.topxml.com/xpathvisualizer/ > > > ---------------------------- > Massimo Foti > Tools for ColdFusion and Dreamweaver developers: > http://www.massimocorner.com > ---------------------------- > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208937 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54