Hello,

I'm new to the Apache XMLBeans and have a question about references in an XML files. Does XMLBeans 2.4 allow handling hrefs and xmi:idref in XML files based on a previously compiled schema? I cannot find any information about that.

I have problem with the following example:
_________________________________
...

<Node xmi:id="n1">
  <name>node 1</name>
  ...
</Node>
...

<Group>
  <Node xmi:idref="n1" />
  <Node href="n2.xml" />
</Group>
...
_________________________________

Whenever I go through nodes using Group.getElementArray(), I get null names. What is the simplest method to access n1 and n2 in this case?

Any hints appreciated,
Jacek

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to