I require extracting the page number of a particular story in IDML Document. However, I'm unable to find any way to do so.There is a page tag in spread_xxx.xml describing pages in a spread. But that has no particular mapping to a story or vice-versa.
In ExtendScript you can query parents of the placed story paragraph and one of them is the page.
I do not see an easy way to do this in IDML
There is a folder called Spreads with a separate spread for every two pages and with page being child element of the spread.You can also see text frames
Stories have their IDs like Self="u18e". You can see them in the designmap.xml as idPkg:Story.
How the paragraphs are linked to spreads I can not find.