This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Different views of the same XML file
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: [xsl] Different views of the same XML file
- From: "Marco Zennaro \(PATH\)" <zennaro at PATH dot Berkeley dot EDU>
- Date: Fri, 9 Feb 2001 21:51:11 -0800
- Reply-To: xsl-list at lists dot mulberrytech dot com
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