Thank Frank for clarifying "element ref" mapping. I'm working on
ChangeSummary StAX writer,
there're many places Properties/elements need to be outputed as XML,
such as ChangeSummary.Setting.

Supposing we have such Properties definition:
   <element xmlns:global="" ref="global:element1"/>
   <element name="element1" ...
I plan to output XML like these *respectively*
   <global:element1 xmlns:global="" ...
   <element1 ...

First, am I planning right please?

Second if I plan right, given a Property "element1", how can I distinguish
local element (<element name="element1") from global element without
NameSpace (<element xmlns:global="" ref="global:element1"/>) please?


Thanks.

--

Yang ZHONG

Reply via email to