Search the web
Sign In
New User? Sign Up
dita-users · DITA users group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
locktitle is ignored?   Message List  
Reply | Forward Message #2333 of 16643 |
There's an earlier thread that touched on this, but I couldn't
figure out if this question was fully answered.

Using locktitle='yes' in map elements doesn't seem to affect whether
topicref @navtitle values override the actual topic titles. Is this
a bug? Or by design?

There's a lot of code in mappull.xsl that determines what value to
store in @navtitle. That code doesn't run if locktitle='yes', which
seems wrong. Furthermore, in topicmerge.xsl, the @navtitle attribute
is completely ignored anyway--and the topic title or navtitle is
always used as the title.

Looking at mappull.xsl, it seems that the intention was to update
each map @navtitle with its proper value (whether that be the actual
topic title, topic navtitle, or the @navtitle itself) based on
@locktitle, context, and other factors, and then to use the
@navtitles instead of actual topic titles/navtitles during
topicmerge. But again, topicmerge.xsl completely ignores map
@navtitles, wasting all the work that gets done in mappull.xsl.

What's up?







Thu Apr 20, 2006 9:13 am

dafletcha
Offline Offline
Send Email Send Email

Forward
Message #2333 of 16643 |
Expand Messages Author Sort by Date

There's an earlier thread that touched on this, but I couldn't figure out if this question was fully answered. Using locktitle='yes' in map elements doesn't...
dafletcha
Offline Send Email
Apr 20, 2006
9:13 am

The navtitle attribute reflects what is used in the navigation for your output. So, if you format to something with its own navigation (like Eclipse or HTML...
Robert D Anderson
anderson_rob...
Offline Send Email
Apr 20, 2006
1:24 pm

Thanks, Robert. OK, so if I'm understanding this: @locktitle defines whether the topicref @navtitle overrides topic/navtitle (in any place where topic/navtitle...
dafletcha
Offline Send Email
Apr 20, 2006
4:38 pm

Hi Mark, I don't recommend using a combination of navtitle and locktitle - these both already have a defined usage, so changing the behavior at this point ...
Robert D Anderson
anderson_rob...
Offline Send Email
Apr 20, 2006
8:24 pm

Hi Robert, That's encouraging. (Wondering why you specialized linktext and not searchtitle, though.) However, my main concern is making the maps easy to...
dafletcha
Offline Send Email
Apr 21, 2006
12:15 am

... That's what authoring tools are for. If you are using a pretty GUI editor that is ditamap-aware, you probably won't care if navtitle is an attribute or a...
Deborah Pickett
deborah_arie...
Offline Send Email
Apr 21, 2006
1:25 am

... (Bad form responding to one's own posts and all, but I want to keep messages short while there's a risk of power outage.) This got me thinking some more. ...
Deborah Pickett
deborah_arie...
Offline Send Email
Apr 21, 2006
1:47 am

I just want to echo much of what Deborah said, with a couple of specifics: The DITA TC already plans a navtitle element to replace @navtitle, and a title...
Robert D Anderson
anderson_rob...
Offline Send Email
Apr 21, 2006
6:44 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help