i have a xml file like this : https://gist.github.com/1966260。
I want to dump the schema elements(xs:element).
I try :
doc.xpath("//xs:element")
doc.xpath("//element")
doc.xpath("element")
dont work….
any advice ?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This works:
I’m not sure yet if this is a bug with nokogiri or the intended behavior, but it’d be worth discussing on the mailing list or creating an issue for.