Page 1 of 1

Finding tree of "import" files

Posted: Tue Sep 15, 2009 9:41 pm
by mlcook
I'd like to be able to find all the files either imported or included in a transformation.

That is, I like Oxygen to report (or to run some transformation) to essentially find the expanded tree of files that were imported or included via the <xsl:include href.../> or <xsl:import href.../> elements.

I'm actually trying to find all my old transformation files (and eventually schema files) that I no longer need. The set of files is large enough to make a manual search and examination very tedious.

Any suggestions?

Thanks, Mike

Re: Finding tree of "import" files

Posted: Wed Sep 16, 2009 4:29 pm
by sorin_ristache
Hello,

Just open the XSL file that contains the xsl:import and xsl:include elements in Oxygen 10.3, right click and select the action Resource Hierarchy (default shortcut F4). This action builds the tree of stylesheets that you want in the Resource Hierarchy view.


Regards,
Sorin

Re: Finding tree of "import" files

Posted: Wed Oct 28, 2009 7:07 pm
by mlcook
Sorry about the delayed reply. This information is just what I was looking for.

Is it possible to print the hierarchy or dependency list, or otherwise capture it in a file? This would help as I go through our directory structure looking for obsolete files.

Thanks again,
Mike

Re: Finding tree of "import" files

Posted: Thu Oct 29, 2009 10:18 am
by sorin_ristache
That is not possible but we will consider it as improvement for a future version of Oxygen.


Thank you for your request,
Sorin