Yeah, I think that might be a better solution. get_custom_dir() returns:
C:\Program Files (x86)\PTC\Arbortext Editor\custom\
The other did the trick: (java)
Acl.eval("doc_type_dir()") + "\..\..\stylesheets\renderlogic13.xsl"
Thanks!
On Wed, Feb 29, 2012 at 2:16 PM, Brandon Ibach <
brandon.ibach@single-sourcing.com> wrote:
> Bear in mind that it is possible to have multiple custom directories
> set at once. I've used this to maintain a separate custom directory
> for code specific to a particular version of Arbortext (I have 5.3,
> 5.4 and 6.0 all installed side-by-side, for various projects) in one
> custom directory and version-independent code in another, or for
> project-specific code in one directory and project-independent code in
> another.
>
> Given this, perhaps your best bet is to locate the stylesheet
> directory relative to the location of the document type for the
> current document (e.g., doc_type_dir() . '..\..\stylesheets').
>
> -Brandon

>
>
> On Wed, Feb 29, 2012 at 1:58 PM, Clay Helberg <chelberg@terraxml.com>
> wrote:
> > Hi Keith--
> >
> >
> >
> > I think get_custom_dir() is the function you want.
> >
> >
> >
> > --Clay
> >
> >
> >
> >
> >
> > Clay Helberg
> >
> > Senior Consultant
> >
> > TerraXML
> >
> >
> >
> > From: Keith Berard [
> >
> >
> >
> > Does anyone know offhand if there's a variable to find the path of the
> > current custom dir? I'm hoping to have it point to:
> >
> >
> >
> >
> C:\Users\[USERNAME]\AppData\Local\PTC\Arbortext\Editor\.aptcache\zc\1\custom\stylesheets
> > or equivalent, so I'm thinking something like $CUSTOM_PA...