Sign In/My Account | View Cart  
advertisement

Article:
 Reading Multiple Input Documents
Subject: Multiple Input documents
Date: 2003-04-15 16:35:39
From: Richard Powell

I built upon the functionality of your article 'separating style and content' and have made quite a lot of progress.


One of the tasks I have got stuck on is that I want to use a generic <link> tag in my layout document, and replace it with the chunk of content, eg a header or a footer (you example used insert-header, insert-footer etc. I use an attribute in the <link> tag to specify the type of link eg header).


The problem is that when I use a combination of a variable referencing the document, and looking up the type attribute of the link element I just cannot get any data back. After pouring 7 hours effort into debugging and alternative syntax, I e-mail a couple of experts in XSLT who both informed me that this is a shortcoming in the XPath language.


Can you please advise me of any workarounds.
If there aren't any then we have a big flaw in the concept of using document() to include content.
Thanks.


Previous Message Previous Message   Next Message Next Message


Sponsored By: