|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Dumb XSLT question
Use XSLT's document() function[1]: <xsl:apply-templates
select="document('whatever')" />
For future reference, please send XSLT-related questions to the XSL-List[2].
Evan Lenz
XYZFind Corp.
[1] http://www.w3.org/TR/xslt#document
[2] http://www.mulberrytech.com/xsl/xsl-list/index.html
-----Original Message-----
From: Jeff Rosler [mailto:jeff.rosler@f...]
Sent: Friday, August 24, 2001 12:28 PM
To: xml-dev@l...
Subject: Dumb XSLT question
Hi All,
I'm trying to figure out how I can read an additional XML file from an XSLT
transform. Basically, I am converting from one XML doc to HTML in my
transform, but I have some global values in another XML document that I
would like to include in the HTML output. >From within my transform, can I
specify a separate XML document to parse? Maybe do an <xsl:apply-templates
select="other doc:whatever" /> ? My understanding is that XPointer allows
this, but my XSLT engine does not support that. Any other suggestions? Am I
missing something simple?
I realize that I can write an app to do this, but I'm trying to do it in a
single XSLT.
Thanks,
Jeff Rosler
Consultant
Flatirons Solutions Corp
1898 South Flatirons Court
Suite 200
Boulder, CO 80301
303-544-0514 x11
jeff.rosler@f...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








