[xsl] Combining XML with XLink to produce HTML

Subject: [xsl] Combining XML with XLink to produce HTML
From: Christos Tsoukalas <ctsoukalas@xxxxxxxxxx>
Date: Tue, 15 Jul 2003 10:21:06 -0400
Hi,

I currently try to develop XSLT to combine a regular XML document
("document1.xml") with an XLink document ("document2.xml") containing
external links to the first document. Eventually the combined document 
needs to be transform to HTML

The "document1.xml" file looks like:

---------------------------------------
<ref id="ct1-1">
...
</ref>
---------------------------------------

while the "document2.xml" file looks like:

---------------------------------------
<links>
 <plink xlink:title="Citation Link">
  <anchor
xlink:href="document1.xml#xpointer(/descendant::ref[@ID=&apos;ct1-1&apos;])"
xlink:label="ct1-1"/>
  <resource type="vendor1" ID="vendor1_anchor1" xlink:label="ct1-1R"/>
  <connect xlink:from="ct1-1" xlink:to="ct1-1R"/>
 </plink>
<links>
---------------------------------------

Notice that the two documents are not necessarily saved in the same
directory.
I need to develop XSLT that will combine these two documents and
transform the combined result into HTML (the actual formatting of the HTML
is not 
important at this point) so that the links are resolved. 

I would appreciate all help/ideas on how to combine these two documents.

Thanks,

Christos

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread