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]

Different views of the same XML file



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@path.berkeley.edu
http://robotics.eecs.berkeley.edu/~zennaro
******************************************************


 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]