[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Dumb XSLT question

  • From: Evan Lenz <elenz@x...>
  • To: Jeff Rosler <jeff.rosler@f...>, xml-dev@l...
  • Date: Fri, 24 Aug 2001 13:15:37 -0700

flatirons solutions
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.