Page 1 of 1

XPointer "data lineage"

Posted: Fri Jul 12, 2013 6:27 pm
by gdalencon
Hello,

I don't know which name to put on my problem but I will try to be as clear as possible :)

I'm using oXygen 14.2 and I would like to have an XPointer data lineage (I don't know if it's called this way): I would like to know in which file(s) my XPointers are used, where is their source and what is their target.

I know I can use the "Find/Replace in Files..." to find the xml:id and the linkend but I would like to use a more user-friendly wat to do this.

Thanks,
Guillaume

Re: XPointer "data lineage"

Posted: Mon Jul 15, 2013 1:01 pm
by adrian
Hello,

Currently (v15.0) there is no better way to locate IDs and their references. Only the Find/Replace and Find/Replace in Files can do this via XPath.
However, we are planning to explicitly support searching references and declarations for ID/IDREFs in v15.x (v15.1 or v15.2). I've added your comments to our issue tracking tool and you will be notified when this gets implemented.

So, currently, with the Find/Replace tools you can search for a specific id with:
Text to find: myid
Enable 'Regular expression'
XPath: //@xml:id|//@linkend
or more precise:
Text to find: .*
Enable 'Regular expression'
XPath: //@xml:id['myid']|//@linkend['myid']

Regards,
Adrian

Re: XPointer "data lineage"

Posted: Mon Jul 15, 2013 5:12 pm
by gdalencon
Hello Adrian,

Thanks for your answer!

Regards,
Guillaume