cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Resolved Document for Styling

GarethOakes
16-Pearl

Resolved Document for Styling

Here's a quick quiz to check everyone's knowledge 🙂

What's the simplest way to get a copy of the Resolved Document for Styling for a given DITA map? XSLT via an identity template? Sneaky tricks with .aptcache?

[cid:image001.jpg@01CD6377.8CD575B0]

Gareth Oakes
+44-7557-300-608

3 REPLIES 3

I'd say it's probably simplest to just do "Resolved Document" -> "For
Styling" from the Edit menu. The process to build it uses the composition
pipeline with a fair number of steps along the way, so I don't think
there'd be much bang for the buck in trying to recreate the function
outside of Editor. You might be able to find a copy in .aptcache, but that
would only be as up-to-date as the last publishing operation.

I've noticed on at least one project, where I was using this function
fairly often, that Editor (6.0, anyway) seems to leave a copy of the
generated RDS on disk next to the DITA map, gradually accumulating quite a
collection of sequentially-numbered versions.

-Brandon 🙂


Does anybody know, is there a means of testing if a COM handle is still valid using ACL? That is, using a COM handle (integer value) that was originally returned from a call to com_attach can we evaluate if the resource is available based on that handle?

Agreed.



If you need to do it from ACL, there are functions in
$ARBORTEXT/packages/tools/comp_createprds.acl that can help with that.
They are undocumented, so use at your own risk (they may change in
future releases), but they can make life easier if you need to build a
resolved document for styling as part of some ACL code.



If you don't mind the resolved document popping up in a new editor
Window when you generate it, you can just use the "EditDitaRDS" alias,
which is the command linked to the File->Edit Resolved Document->For
Styling.



--Clay





Clay Helberg

Senior Consultant

TerraXML


Top Tags