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

RE: SQL SELECT statement in XSLT!!!!!!!!!!!!

Subject: RE: SQL SELECT statement in XSLT!!!!!!!!!!!!
From: "Greg Johnson" <gjohnson@xxxxxxxxxxxx>
Date: Fri, 8 Aug 2003 16:58:23 -0400
greg johnson
yes, that's a good workaround.
Thanks for the tip.

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Américo
Albuquerque
Sent: Wednesday, August 06, 2003 7:49 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  SQL SELECT statement in XSLT!!!!!!!!!!!!


Hi.

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
> Greg Johnson
> Sent: Wednesday, August 06, 2003 3:42 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  SQL SELECT statement in XSLT!!!!!!!!!!!!
>
>
> I've been working with MS SQL Server, and have been doing
> joins in my SQL queries, and have been stuck with some
> unintuitive element nesting, from MS's "For XML Auto,
> Elements" switch.
>

You can use MSSQL to remove the nesting.
To do that you need to craete a view with you SQL with the inner joins
Then in you SQL with the "For XML Auto" you select from your view
This way your xml will not be nested but with a single element under the
root element

Hope this helps you
Regards,
Americo Albuquerque

(...)


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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
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.