Re: Navigating relationships in OOXML docs

2015-01-11 Thread Nick Burch
On Fri, 9 Jan 2015, Chris Bamford wrote: I need to look for a relationship in the ".rels" file of the format-specific document, not the main package itself. By this I mean not in the "_rels/.rels" file in the top level but in (say) the "xl/_rels/workbook.xml.rels" file. There's already POI co

Re: Navigating relationships in OOXML docs

2015-01-11 Thread Dominik Stadler
What about the following: OPCPackage pkg = OPCPackage.open(filename); pkg.getPart(PackagingURIHelper.createPartName("/xl/_rels/workbook.xml.rels")); Dominik. On Fri, Jan 9, 2015 at 12:35 PM, Chris Bamford wrote: > > Hi there > > I need to look for a relationship in the ".rels" file of the