This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Microsoft XML > April 2007 > Calling SQLXML In XSLT
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Calling SQLXML In XSLT
|
|
|
|
| Joe Fawcett 2007-04-21, 6:15 am |
| As you state you don't seem to have much control over the creation of the
XslTransform used by SQLXML.
Perhaps you could replace mother.xslt by a dynamic page, asmx or aspx, that
actually constructs what you need and embeds
'http://mydomain.com/someother.xml'?
--
Joe Fawcett (MVP - XML)
http://joe.fawcett.name
"BradR" <bdrhoa@XXXXXXXXXX> wrote in message
news:1177088558.548875.142950@b58g2000hsg.googlegroups.com...
> There there anyway to get this to work:
>
> http://mydomain.com/some.xml&xsl=mother.xslt
>
> where some.xml is
>
> <root xmlns:sql='urn:schemas-microsoft-com:xml-sql'>
> <sql:header sql:nullvalue="IsNULL">
> </sql:header>
> <sql:query >
> SELECT * FROM sometable
> FOR XML path('somenode'), root('nodes')
> </sql:query>
> </root>
>
>
> and mother.xslt has
>
> <xsl:variable name="employees" select="document('http://mydomain.com/
> someother.xml')"/>
>
> Note that we use windows authentication.
>
> Based on these, it appears not to be possible:
> http://msdn2.microsoft.com/en-us/library/ms763800.aspx
> http://msdn2.microsoft.com/en-us/library/ms256465.aspx
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|