version 1.8, 2006/12/21 08:00:13
|
version 1.9, 2007/01/05 11:18:32
|
Line 246 static void InstantiateAttribute (XTiger
|
Line 246 static void InstantiateAttribute (XTiger
|
} |
} |
// get the "name" and "default" attributes |
// get the "name" and "default" attributes |
nameType.AttrSSchema = defaultType.AttrSSchema = TtaGetSSchema (TEMPLATE_SCHEMA_NAME, doc); |
nameType.AttrSSchema = defaultType.AttrSSchema = TtaGetSSchema (TEMPLATE_SCHEMA_NAME, doc); |
nameType.AttrTypeNum = Template_ATTR_name; |
nameType.AttrTypeNum = Template_ATTR_ref_name; |
defaultType.AttrTypeNum = Template_ATTR_defaultAt; |
defaultType.AttrTypeNum = Template_ATTR_defaultAt; |
nameAttr = TtaGetAttribute (el, nameType); |
nameAttr = TtaGetAttribute (el, nameType); |
defAttr = TtaGetAttribute (el, defaultType); |
defAttr = TtaGetAttribute (el, defaultType); |
Line 290 static void InstantiateAttribute (XTiger
|
Line 290 static void InstantiateAttribute (XTiger
|
#ifdef TEMPLATES |
#ifdef TEMPLATES |
/*---------------------------------------------------------------------- |
/*---------------------------------------------------------------------- |
ProcessAttr |
ProcessAttr |
Look for all "attribute" elements in the subtree and instanciate them |
Look for all "attribute" elements in the subtree and instantiate them |
----------------------------------------------------------------------*/ |
----------------------------------------------------------------------*/ |
static void ProcessAttr (XTigerTemplate t, Element el, Document doc) |
static void ProcessAttr (XTigerTemplate t, Element el, Document doc) |
{ |
{ |