[xsl] Different views of the same XML file

Subject: [xsl] Different views of the same XML file
From: "Marco Zennaro \(PATH\)" <zennaro@xxxxxxxxxxxxxxxxx>
Date: Fri, 9 Feb 2001 21:51:11 -0800
Good morning,
	I want different views of the same XML
file. I.e. I want to apply different XSL on the same
XML file. How can I do it? I know how to apply
the XSL to the XML adding the line:

<?xml-stylesheet type="text/xsl" href="firstview.xsl"?>

to the XML file. If I do this, I have to copy the
XML file twice and replace that line with another one
like:

<?xml-stylesheet type="text/xsl" href="secondview.xsl"?>

This does not make sense at all. there should be a simpler
and elegant way to do it.

Please let me know,
	best regards,
		Marco Zennaro

******************************************************
Marco Zennaro
PATH UCBerkeley Engineer Specialist
Ca' Foscari Computer Science master student
******************************************************
California PATH, Headquarters
University of California, Berkeley
Institute of Transportation Studies
Richmond Field Station, Bldg. 452
1357 S. 46th Street
Richmond, CA 94804-4698
******************************************************
zennaro@xxxxxxxxxxxxxxxxx
http://robotics.eecs.berkeley.edu/~zennaro
******************************************************


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


Current Thread