This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Frames


On Mon, Oct 08, 2001 at 06:18:24PM -0700, Lakshmi Anantharaman wrote:
> How to use get xml that shall display a frame containing two other xmls 

You'll need to use some non-standard extensions to do this.  If I
understand correctly, what you want to do is with two XML source
files come up with an HTML frameset that contains the same information
in the XML sources.  This means you have to get data from your two XML
source files and generate three output HTML files, one the framing file,
the other two, your formatted HTML that should appear in the frames.

To do the first part, you need to use the document() function, see
Section 12.1 of the XSLT Recommendation.  To do the second part, you
need to use either the non-standard extensions in your XSLT processor
(e.g. Xalandirect), or the <xsl:document/> construction in the XSLT 1.1
Working Draft if your XSLT processor supports it (Saxon does, I
believe, anyone have any info on the status of this feature in other
XSLT engines?).  See Section 16.5 of the XSLT 1.1 Working Draft for more
information on how that works.  The example given in that section of how
to use <xsl:document/> is also very similar to what your problem looks
like.

-- 
Rafael R. Sevilla <sevillar@team.ph.inter.net>   +63(2)   8177746 ext. 8311
Programmer, Inter.Net Philippines                +63(917) 4458925
http://dido.engr.internet.org.ph/                OpenPGP Key ID: 0x5CDA17D8

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]