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

Context labels in XML?



Is there a way to output context labels to XML?  I'm drawing up an EDD 
(Frame 7 for Mac going to XML) that uses the usual Section tag, which 
contains a Head tag with the header, and then other information, which 
may include more nested Sections.  Sections occasionally next five 
deep.  I can change the way Frame displays the headers using the "Count 
ancestors named" rule in the EDD, and I've implemented Context labels 
which distinguish the various levels of heads internally in Frame (the 
cross reference dialogue box, for example, lists "Head(Level1)," 
"Head(Level2)," "Head(Level3)" among the types of elements).

Problem:  Is there any way to refer to Context labels in read/write 
rules for XML?  Something like this:

element "head1" {
	is fm element "Head(Level1)";
}

doesn't give any errors, but doesn't get used (the XML outputs tags 
named Head, the name of the FM element, suggesting no rule was used).  
Same thing happens when brackets or braces are used instead of 
parentheses.  Something that output the head level as an attribute would 
be fine too, though I can't find a way to refer to a context label as an 
fm property.

The Structure Application Development Guide, as far as I can tell, has 
little to say about this.  Does anyone know a way around this?

thanks much,
Dan Visel

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