XPointer "data lineage"

gdalencon
Posts: 2

XPointer "data lineage"

Fri Jul 12, 2013 6:27 pm

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
adrian
Posts: 2442

Re: XPointer "data lineage"

Mon Jul 15, 2013 1:01 pm

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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
gdalencon
Posts: 2

Re: XPointer "data lineage"

Mon Jul 15, 2013 5:12 pm

Hello Adrian,

Thanks for your answer!

Regards,
Guillaume

Return to “DocBook”

Who is online

Users browsing this forum: No registered users and 2 guests