namespaces - get attribute from xml file -


मेरी XML फ़ाइल प्रविष्टि:

  & lt; ग्लोबलव्यू xmlns = "http: // स्कीमा .openxmlformats.org / पैकेज / 2006 / रिश्तों "& gt; & LT; rels & gt; & Lt; रिलेशनशिप आईडी = "आरआईडी 3" प्रकार = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" लक्ष्य = "docProps / app.xml" / & gt; & Lt; / rels & gt;  

संबंध तत्व के भीतर प्रश्न पूछना चाहते हैं .... मैं नीचे दी गई क्वेरी का उपयोग कर रहा हूं और यह तत्व के संबंध में काम करता है और मुझे आईडी विशेषता का महत्व नहीं देता है।

  रिटर्न $ file / GlobalView / child :: rels / child :: रिलेशनशिप   

प्रयास करें

  GlobalView / बच्चा :: rels / child :: रिश्ते / @ आईडी   

या संक्षिप्त रूप में

  ग्लोबलव्यू / रिले / रिलेशनशिप / @ आईडी  < / प्री> 

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -