Dear All, I am trying to use XSLT to render some models (HL7 MIF) into an SVG diagram.
Model elements (an act/entity/relationships are shown on the diagram as nice straightforward coloured squares or large arrows (i.e. a coloured rectangle where one end is pointy/a triangle). I can draw these shapes happily etc but then obviously each model contains textual information which is shown in the shape. What I am wondering is anyone knows of any XSLT/Method etc for making sure the shape is big enough etc to fit the text. i.e. imagine I have a square/rectangle. Now i add x text elements of varying length. How do I make sure the width is sufficient to cope with the longest piece of text & the height is sufficient to cope with the number of text elements I have added one below the other e.g. draw a square to fit something like: Some Text Some More Text Some really really long piece of text Some text some text etc. TIA Adam ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

