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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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
"Variables" in reused DITA content   Message List  
Reply | Forward Message #1713 of 16232 |
Re: "Variables" in reused DITA content

--- In dita-users@yahoogroups.com, Michael Priestley <mpriestl@c...>
wrote:
> There is a proposal for 1.1 that may address some of the conditional
> selection concerns. It will allow the map, rather than the build
process,
> to be used for selecting or redirecting resources.

That would solve some of our conditional-selection requirements.
Probably not all of them.

There is an issue of scoping of the keys: I might not want
"productresources" to be the same topic for an entire map. Consider
my perennial example of a book with an install-on-Unix chapter and an
install-on-Windows chapter: same topics, but conrefs point to
different places in each chapter.

I'm also not convinced of how well this meshes with the existing
ditaval architecture. Going back to my example, if I need to add a
warning paragraph only on the Unix installation version of a topic, I
have to use ditaval to filter it in/out. Now my final output depends
on both the map having @keys attributes on topicrefs, *and* on the
build process using the right ditaval file, *and* on them both saying
"Unix" or "Windows" consistently at the same time. That's not exactly
an advertisement for re-use of maps.

I'm not certain how well people will like having two completely
different mechanisms for conditional inclusion and conditional
selection, either.

Don't get me wrong - I love proposed feature #40, but I think that its
failing is that it doesn't go far enough. I'd like to see it subsume
everything that ditaval can do, and more. ditaval files are IMHO
nowhere near as elegant as the rest of the DITA architecture, and
wouldn't hurt from undergoing a complete rethink.






Wed Feb 1, 2006 6:37 am

deborah_arie...
Offline Offline
Send Email Send Email

Forward
Message #1713 of 16232 |
Expand Messages Author Sort by Date

As a longtime FrameMaker user, one of the features I've missed most in my DITA/XML/XSL authoring environment is the ability to insert a "variable" in reusable...
Tom Weimer
weimerwriter
Offline Send Email
Jan 20, 2006
3:53 pm

Hi, Tom: You might handle this requirement by setting up a common topic that lists all of the reused text units with embedded conditions for the variants: <p> ...
Erik Hennum
ehennum5
Offline Send Email
Jan 20, 2006
5:11 pm

For what it's worth, I tend to prefer the separate files - eg one per product - and then just use different build profiles to pull in the correct content. Your...
Michael Priestley
mfcpriestley
Offline Send Email
Jan 20, 2006
5:32 pm

... Yep. I started with the phrase+ditaval technique that Erik mentioned in his follow-up but rapidly came up against some limitations with it. (For the...
Deborah Pickett
deborah_arie...
Offline Send Email
Jan 22, 2006
11:59 pm

... There is a proposal for 1.1 that may address some of the conditional selection concerns. It will allow the map, rather than the build process, to be used...
Michael Priestley
mfcpriestley
Offline Send Email
Jan 24, 2006
11:03 pm

... process, ... That would solve some of our conditional-selection requirements. Probably not all of them. There is an issue of scoping of the keys: I might...
Deborah Pickett
deborah_arie...
Offline Send Email
Feb 1, 2006
6:37 am

This proposal would solve my current problems. For the record, my company's product can achieve similar functionality with products from several vendors....
Joaquim Manuel Baptista
Joaquim.Baptista@...
Send Email
Jan 25, 2006
2:03 pm
Advanced

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