Using XPath, I was able to select two different dates with this code:
/xbrl/context[@id = /xbrl/pt:ShareholderFunds/@contextRef]/period/instant
The expression selects the xbrl/context
elements which have an id
attribute that correspond to the /xbrl/pt:ShareholderFunds
contextRef
attribute, and gets the period/instant
in each one. The result of the selection is a node-set containing:
2012-03-31
2013-03-31