[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

RE: edd xml question



Wim,

You can add the tgroupstyle attribute to the <TGroup> element in the
EDD, then add a sub rule to the rules file that looks something like
this:
  attribute "tgroupstyle"
	{
	 is fm property table format;
	 is fm attribute "tgroupstyle";
	}

You could even make the attribute hidden from the user by adding a
<SpecialAttributeControls> element to the tgroupstyle attribute in the
EDD.  There you can make the attribute Hidden or ReadOnly or both.  Then
you could set entry styles according to the EDD context rule you
mentioned.

Hope this helps,

Steve


==========================================================.
	Stephen L. Schwedland	steve@xxxxxxxxxxxxxx
	7951 Depew Street		phone: 303-412-5424
	Arvada, CO 80003		mobile: 303-921-5022
	USA				http://www.schwedland.com
==========================================================. 
 

-----Original Message-----
From: owner-framers@xxxxxxxxx [mailto:owner-framers@xxxxxxxxx] On Behalf
Of Wim Hooghwinkel
Sent: Sunday, February 15, 2004 4:53 PM
To: Framers List
Cc: framers@xxxxxxxxx; Lynne A. Price
Subject: edd xml question


Hi,

I want to set up in my EDD formatting rules for table cells. The Entry
element (from docbookx) is the basic table cell element and can contain
text. The tgroupstyle attribute (in tgroup element) is used for setting
the table format. This is defined in the r/w rules file, hence the
tgroupstyle attribute is no longer visible nor available in the
document. Could I still use the tgroupstyle value to set a formatting
rule for the Entry element? Or is there another way to use the table
format as base for formatting? 
The syntax 'If context is TGroup[tgroupstyle="Safetytable"]' does not
seem to have any effect.

In another project, where table format was defined in the EDD using an
attribute value, it worked fine this way - but then the attribute was
visible in the attribute list.

Met vriendelijke groet / kind regards,
Wim Hooghwinkel <mailto:wimh@xxxxxxxxxxxxx>
DTP and Project Management

Scriptware bv <http://www.scriptware.nl/>
tel : +31 (0)23 548 48 84
fax : +31 (0)23 548 48 85
http://www.scriptware.nl
info@xxxxxxxxxxxxx <mailto:info@xxxxxxxxxxxxx>



** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **

** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **