Different way to using idref with more than one XML file ??

J

jacquesh

HI all

I'm looking for different ways to using idref with more than one XML
file ??

My case ::

2 xml files {labo.xml, contact.xml}

I found a method which use an include via '<!ENTITY...' like

-------
<!DOCTYPE contact_labos SYSTEM "./contact.dtd" [
<!ENTITY LAB SYSTEM "labo.xml">
]>
&LAB;
....
-------

and now I can use idref in contact.xml with value writed in labo.xml
(IF LABO.XML DO NO CONTAIN DOCTYPE STATEMENT).

do you know another method to use IDREF with multiple xml file ?

thanks for your help.

Jacques H.
 
J

Joseph Kesselman

jacquesh said:
do you know another method to use IDREF with multiple xml file ?

XML IDs and IDREFs are only defined within a single document. You may be
looking for the XLink and/or XPointer conventions...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,835
Latest member
lila30

Latest Threads

Top