I am building a category/Keyword hierarchy xml file on publishing a page. And I don't want to loop through the categories and keywords to avoid performance issue.
So, I am using
Repository.GetTaxonomiesOwl() in TOM.NET for a repository to get the Taxonomies data in OWL format. and applying xslt on this to get the xml.
Repository.GetTaxonomiesOwl() returns all the taxonomies (Local + Shared) for that Repository and doesn't have any info about taxonomy owning repository.
The returned element for a keyword looks like below: Level1 - Test Keyword1 Level1 - Test Keyword1 false true
My requirement is to get only local taxonomies for the repository.
My questions are, is there any way to :
- Filter the taxonomy results, which are local to the repository(Publication)?
- Include owning repository attribute in the results? so that I can filter the results based on that attribute.