Subject: Re: [xsl] How to get and display part of XML document in IE5/6? From: "Qinghui Zeng" <zengqh@xxxxxxx> Date: Tue, 18 Jun 2002 17:07:18 +0200 |
> > " english.xml#xpointer(/document/language/page(id=1)) " > > To make it short: > > <xsl:value-of > select="document('english.xml')/document/language/page[@ID=1]"/> > That's fine to fetch the part content with this method, but still a problem is how to pass the parameter(e.g. ID=1) to stylesheet. In detail, I have five xml files, each for one language(English, German,...), and each includes some pages. --------------------------------- <Doc lang=EN> <Pages> <Page ID=1>.....</Page> ...... <Page ID=1>.....</Page> </Pages> </Doc> --------------------------------- Assume, Page 1 is displayed in IE, now I want to display Page 5 by a link, Considering compatibility with future fully xml-supported explorer, (right?) In page 1(source), I use such a link : " english.xml#xpointer(/Doc/Pages/Page(ID=5)) " but I don't know how I can pass "ID=5" to the template in XSL? Or I need use other link method ? Thanks. Qinghui XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to get and display pa, Joerg . Heinicke | Thread | [xsl] count(ancestor::section) + 1, Gustaf Liljegren |
Re: [xsl] RE: how I can select the , Vasu Chakkera | Date | RE: [xsl] xsl:function, Dominic Blythe |
Month |