| Author |
use same xml file with different xsl-stylesheets
|
Tom Brown
Greenhorn
Joined: Sep 25, 2003
Posts: 22
|
|
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
Joined: Jan 23, 2002
Posts: 11962
|
|
|
What kind of server-side technology are you using?
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
 |
|
|
subject: use same xml file with different xsl-stylesheets
|
|
|