[daisy] variables
Robert Rich
rrich at gstisecurity.com
Fri Oct 13 13:08:32 CDT 2006
Hey Folks,
I found this thread from about a year ago. In it, Victor is soliciting feedback on the idea of, essentially, variable substitution in Daisy documents. I'm encountering a similar need and wonder if anyone has done any more with this since then.
In my case, i'm creating 'report templates', and would like to have a set of variables (e.g customer_name, customer_short_name, project_name) and have them substituted when the document is displayed, possibly only in the context of generating a report. (So, for example, the first document in the report could be a header where these values are set, and the rendering of the 'template' in that context would show the substituted value, not the variable name).
This seems like something that would be most suitable for the wiki.
Thoughts?
--
Robert Rich
Global Security Technologies, Inc.
Office: 614.890.6400 x7023
NEW Mobile: *937.243.9529*
----- Original Message -----
From: Victor Oomens
[mailto:victor at oomens-ict.nl]
To: daisy at lists.cocoondev.org
Sent: Fri, 28
Oct 2005 09:57:08 -0400
Subject: [daisy] variables
> Hi All,
>
>
>
> I would like to know if the following is possible.
>
>
>
> Within the daisy HTML editor, I have a piece of text within a paragraph,
> note, fixme, or other tag. For reusability purposes, I want to put some
> parts of the text in a 'variable' (e.g. an image part component, but then
> for plain text). Then, the variable would be included inside the text, thus
> within the current tag. This way, I could reuse this content in another
> document.
>
>
>
> The purpose for this would be meaningful. Suppose you are writing a manual
> describing software, you could put al sorts of captions (like button
> captions etc), text resources etc. in variables. When these captions,
> resources etc, change, you would only have to change the variable content
> and all subsequent documents are updated. (Just an example).
>
>
>
> Hope you can help me with this.
>
>
>
> Kind regards,
>
>
>
>
>
> Victor Oomens
>
>
>
>
>
More information about the daisy
mailing list