[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
select="document(concat('http://abc.com/returnxmldoc.asp?id=', section/@id))/info"
You may have to modify the xpath pointing to section/@id.
--
Joe
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] constructing URI for document() function
Subject: Re: [xsl] constructing URI for document() function From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx> Date: Thu, 14 Aug 2003 09:33:17 +0100 |
I'd probably use concat function:From: "Jon Myers" <jon_b_myers2@xxxxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] constructing URI for document() function Date: Thu, 14 Aug 2003 07:47:36 +0000
Hi,
trying to work out how to 'construct' a URI for use in a document() call.
given an xml doc including something like.. <section id="5"?>
I want to, at an apprriate point in a stylesheet, say
<xsl:apply-templates select="document('http://abc.com/returnxmldoc.asp?id=' + @id)/info" />
select="document(concat('http://abc.com/returnxmldoc.asp?id=', section/@id))/info"
You may have to modify the xpath pointing to section/@id.
--
Joe
_________________________________________________________________
Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] constructing URI for docu, David Carlisle | Thread | [xsl] Splitting on more than one le, Elizabeth Barham |
Re: [xsl] Using document() and XPat, Oleg Tkachenko | Date | RE: [xsl] Number of scans required , Michael Kay |
Month |