OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   how to change the Style sheet embeded in a document.

[ Lists Home | Date Index | Thread Index ]
  • From: "Abhishek Srivastava" <abisheks@india.hp.com>
  • To: <xml-dev@xml.org>, <xalan-dev@xml.apache.org>
  • Date: Wed, 10 May 2000 02:03:51 +0530

Hi,

 I have the following xml document which uses the BookCatalogue.xsl. Is it
possible for me to make it point to a different xsl file say
(Bookcatalogue1a.xsl) when some event occurs say a "Button Click" and then
reload the page.

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href=
"file://localhost/xml-course/xsl/BookCatalogue.xsl"?>
<!DOCTYPE BookCatalogue SYSTEM
"file://localhost/xml-course/xsl/BookCatalogue.dtd">
<BookCatalogue>
        <Book>
                <Title>My Life and Times</Title>
                <Author>Paul McCartney</Author>
                <Date>July, 1998</Date>
                <ISBN>94303-12021-43892</ISBN>
                <Publisher>McMillin Publishing</Publisher>
        </Book>
        <Book>
                <Title>Illusions The Adventures of a Reluctant
Messiah</Title>
                <Author>Richard Bach</Author>
                <Date>1977</Date>
                <ISBN>0-440-34319-4</ISBN>
                <Publisher>Dell Publishing Co.</Publisher>
        </Book>
        <Book>
                <Title>The First and Last Freedom</Title>
                <Author>J. Krishnamurti</Author>
                <Date>1954</Date>
                <ISBN>0-06-064831-7</ISBN>
                <Publisher>Harper &amp; Row</Publisher>
        </Book>
</BookCatalogue>

regards,
Abhishek.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    _/               Abhishek Srivastava
   _/                Hewlett Packard ISO
  _/_/_/   _/_/_/    -------------------
 _/    /   _/   _/     (Work)   +91-80-2251554 x1190
_/  _/   _/_/_/      (Ip)     15.10.47.37
        _/           (Url)    http://sites.netscape.net/abhishes/index.html
       _/
                     Work like you don't need the money.
                     Dance like no one is watching.
                     And love like you've never been hurt.
                     --Mark Twain

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS