Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use same xml file with different xsl-stylesheets

 
Tom Brown
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey there
i'm trying to make a whole website with xml and xsl without any frames.
is it possible to get one xml file in the browers, that in the first part shows the navigation and when you click an item it shows the same xml-file with an other stylesheet and other information, and also the navigation ofcourse.
the first time i want to show the HTYPE and SUBTYPE in the left table.
when i click the href on the subtype i want to show the product in an other table, so i have to reuse the xml-file with an other reference to an xsl-file...
how can ik do this?
thanks a lot
example:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="newtest.xsl"?>
<TOC lang="NL">
<HTYPE TYPE="001" NAME="product">
<SUBTYPE NAME="product1">
<TECHCARD ID="00001" NAME="pr1" />
<TECHCARD ID="TNT0073" NAME="STELPRIM" />
</SUBTYPE>
<SUBTYPE NAME="product2">
<TECHCARD ID="00002" NAME="pr1"/>
</SUBTYPE>
</HTYPE>
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of server-side technology are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic