Hi Dave

Sorry for just getting back to you I've been taking time off in the
holiday period.

We have two choices, to keep to PGML standard or not

We could abandon strict adherence to PGML and just add whatever tags
and attributes we wish. That would certainly make our job easier.

> 1) The PGML.tee file in argouml contains a number of <private> tags.

See section C.5 in http://www.w3.org/TR/1998/NOTE-PGML-19980410
Private tags are the extension point of PGML if there is no tag or
attribute available in the PGML spec for what you require then in
theory it should be specified as
    <private>
        <argouml:percent></argouml:percent>
        <argouml:angle></argouml:angle>
        <argouml:offset></argouml:offset>
    </private>

> 2) Is there any particular naming convention I should be using, or should I
> just create new tags/attributes as I see fit?

Depends if we keep PGML standard. PGML tags only and whatever you like
in private if we do.

> 3) PGML.tee seems to be formatted with double line spacing.  Is there a
> reason for this?

No, tidy up if you wish

> 4) Are are there any other useful references for PGML other than the
> following?  If so, please let me know!

Not that I'm aware of.

> At the moment, I've got a new template which looks like this (the following
> is an extract from my PGML.tee file):

You could keep to PGML with something like this

<template class="org.argouml.uml.diagram.ui.PathItemPlacement">

<![CDATA[

<group
name="<ocl>org.argouml.persistence.PgmlUtility.getId(self.itemFig)</ocl>"
          description="<ocl>self.class.name</ocl>"
          href="<ocl
ignoreNull>org.argouml.uml.UUIDHelper.getUUID(self.itemFig)</ocl>"
          percent="TBD...1"
          angle="TBD...2"
          offset="TBD...3" />
    <private>
        <argouml:percent>TBD...1</argouml:percent>
        <argouml:angle>TBD...2</argouml:angle>
        <argouml:offset>TBD...3</argouml:offset>
    </private>
</group>

]]>

</template>


Regards

Bob.

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=997029

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to