Next in thread →
Next in month →
RE: [dita] Question on conditional processing and keyref resolution
Title: Re: [dita] Question on conditional processing and keyref resolution Hi Eliot, You answered my question clearly, thanks. We thought that in this example, the <image> might need to be resolved using the PR3604 graphic becuase the "product" attribute on the <image> matches the "product" attribute on the second <keydef>. I have a couple more questions which I'll send along separately in order to keep the threads readable. Thanks again for the quick response. Cheers, Su-Laine From: Eliot Kimber [mailto:] Sent: Tue 2/8/2011 11:14 AM To: Su-Laine Yeo; dita Subject: Re: [dita] Question on conditional processing and keyref resolution Not sure I understand your question. If there is no filtering applied then it must be as though all elements are unconditional and therefore the first potentially-applicable binding must be the effective binding irrespective of any applicability attributes they specify. You say "because its conditions match". Match what? Matching is only meaningful in the context of applying filtering for the purposes of key space construction and key reference resolution (flagging is not relevant). So if no filtering is applied there's nothing to match. Cheers, E. On 2/8/11 12:52 PM, "Su-Laine Yeo" <> wrote: > Hi everyone, > > Here's another question on keyref resolution: If the user has not chosen to > apply any filtering, should key resolution still take conditions into account? > For example, say you are processing the following information set with no > filtering: > > <map> > ... > <keydef keys = "illustration-toner-cartridge-access-panel" > href="graphics/PR2015-toner-cartridge-access-panel.svg" product = "PR2015"/> > <keydef keys = "illustration-toner-cartridge-access-panel" > href="graphics/PR3604-toner-cartridge-access-panel.svg" product = "PR3604"/> > ... > </map> > > <topic> > ... > <image keyref = "illustration-toner-cartridge-access-panel" product = > "PR3604"/> > ... > </topic> > > Should the <image> be resolved using the PR2015 graphic (because it comes > first) or the PR3604 graphic (because its conditions match)? > > Best regards, > > Su-Laine > > Su-Laine Yeo > Solutions Consultant > > JustSystems Canada, Inc. > Office: 1 (778) 327-6356 > <mailto:> > -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 512.554.9368 www.reallysi.com www.rsuitecms.com
Next in thread →
Next in month →