[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Thoughts on context passing - CAM example
I'm just reviewing the CAM 0.14 spec's for next
week
in XML2003 - and so I'm passing along here an
example
of an XML rendering that CAM has evolved for
passing
context.
Attached XML sample.
A CAM template obtains these by a simple URL
reference
in the context header section, and of course the XML instance
could be stored in a registry - hence there are several places
to assign UIDs that
point to related associations to
BPSS, CPA, etc.
There's a lightweight typing mechanism that
synchronizes
with the CAM content reference system and
optionally
points to registry too. It's intend to be
parsable standalone
without a CAM processor - and only a minimal
amount
of processing code needed.
There's also support for the CCTS notion of 8 areas
of
context variables, and these are referenced via
simple
abbreviation codes (optional).
More details can be found in the CAM
specifications,
this is just intended to be a quick
illustration.
The bottom line is - need to evolve a common
approach
here between CPA, BPSS, Registry and
CAM.
Feedback / thoughts welcome!
Thanks, DW.
|
<ebContext UIDref='SDIR03400' interchangeID='123456789' BPMref='ABC123456:01' CPAref='ABC012345' xmlns:as="http://www.oasis-open.org/committees/cam"> <header> <description>An example context instance</description> <version>1.0</version> <language refcode='eng' codelist='ISO639-2' name='English'/> <usage>CAM</usage> <usage>BPM</usage> </header> <conditions> <condition name="Country" value="USA" as:member="USA,CA,MX"/> <condition name="itemType" value="nonperishable" label="Item type:" as:member="nonperishable,perishable,refridgerated,fragile,heavy"/> <condition name="partnerType" value="wholesale" label="Partner type:" as:member="wholesale,retail,distributor,oem,service"/> <condition name="Catalogue" value="A2003-Q1" as:setLength="8" as:setMask="XNNNN-QN" as:UIDreference="SGIR:030451"/> </conditions> </ebContext>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]