XSL include HTML from a file

J

jephperro

Hi,

I'm trying to do something with multiple xml files and am wondering if
it is possible.

I have 2 XML feeds:
One is a list of locations, LOC.XML
One is a list of products,PROD.XML

I have 2 separate XSL files.
One XSL file transforms the XML into a nice looking drop down list
with all the locations, LOC.XSL
The other XSL file transforms the XML into a list of products,
PROD.XSL

I have a third XSL file which generates HTML for the header, HEAD.XSL

I want to make a 4th XSL transformation called TOGETHER.XSL, which can
combine everythng to generate a page with a header, my drop down list
of locations and a drop down list of products.

I can import the header using
<xsl:import href="HEAD.xsl" />

I want to be able to import the transformed LOC.XML and PROD.XML and
display my drop down lists. Then I when I open TOGETHER.XML in a
browser, all three modules are displayed.

Is this possible? Am I going about this in the right way? I want the
LOC and PROD to be modular so I can create new XML pages with
different headers, but the same drop down lists.

Thanks for your help,

Jeff Perreault
 

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,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top