OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [cgmo-webcgm] ACI XML encoding


Don,

The dashLength element should be within the lineEdgeTypeDef

<webcgmConfig 
    <lineEdgeTypeDef lineIndex="1" repeatLength="100" 
        <dashLength>"10 2 5 2"</dashLength>
    </lineEdgeTypeDef> 
</webcgmConfig>

The same applies to the directionVectors and gapWidth Elements assocaited
with the hatchStyleDef.

Regards,
Forrest

-----Original Message-----
From: Don [mailto:dlarson@cgmlarson.com] 
Sent: Saturday, January 24, 2009 6:01 PM
To: Dave Cruikshank
Cc: CGM Open WebCGM TC
Subject: [cgmo-webcgm] ACI XML encoding

Dave or any XML expert

I'm directing this question to you since you created the ACI DTD
and perhaps could shed some light on this and at the same time
confirm my XML coding.

dashLength is defined as an Element rather than as an Attribute of 
lineEdgeTypeDef, thus an example the the XML encoding I believe
would be-

<webcgmConfig 
    <lineEdgeTypeDef lineIndex="1" repeatLength="100" 
    </lineEdgeTypeDef> 
    <dashLength>"10 2 5 2"</dashLength>
</webcgmConfig>


However it seems more natural for dashLength to be an Attribute and 
coded like this:

<webcgmConfig 
    <lineEdgeTypeDef lineIndex="1" repeatLength="100" 
     dashLength="10 2 5 2"
    </lineEdgeTypeDef> 
</webcgmConfig>

This also applies to the directionVectors and gapWidth Elements
assocaited with the hatchStyleDef.



Regards,
Don
Larson Software Technology
Tel: (713)977.4177 ext. 102
www.cgmlarson.com

---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]