Namespaces don't appear to be supported in the XML asserts. This is one area that we are planning to revisit in MbUnit v3.
However for now you can write XPath expressions like this: /.[name()='RootElement']/.[name()='Child'] Jeff. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of SlideGuitar Sent: Wednesday, October 24, 2007 9:01 AM To: MbUnit.User Subject: MbUnit Re: XPathExists and namespaces Alternately, how would you advise me to go about doing this myself? I can imagine that I'd want to create an XPathEvaluationContextAttribute, and subclass XPath somehow. I've *just* started using MbUnit; I'm not sure how to fit all this into the architecture (i.e., I don't yet grasp the latter sufficiently). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MbUnit.User" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/MbUnitUser?hl=en -~----------~----~----~----~------~----~------~--~---
