Subject: RE: Fetch xml from URL in XSL
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 22 Jul 2008 22:37:42 +0100
|
> How should I include this in XSL file?
Use it anywhere an XPath expression is allowed, for example
<xsl:apply-templates select="document('abc.xml')/outermost-element"/>
Michael Kay
http://www.saxonica.com/
> > If you want to do a simple HTTP GET, you should be able to use:
> >
> > document('http://the.site/the/page')
> >
> > Your processor can support other protocols as well.
> > Usually, you can
> > even plug your own resolvers for URIs.
> >
> > Regards,
> >
> > --drkm
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> ______________________________________________________________________
> > _______
> >
> > Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> > http://mail.yahoo.fr
|