jjfcpa Posted August 19, 2010 Posted August 19, 2010 I am trying to import some stock quotes from a webservice and getting an error that my XML document is not correct. Can someone look at this XSL stylesheet and tell if there is something wrong with it. I sort of put it together based on another one that worked. I am attempting to import XML data into a table and specifying the name of the webservice in the HTTP request of the Import records and selecting this SXL stylesheet to format it. <?xml version="1.0" encoding="utf-8" ?> 0
comment Posted August 19, 2010 Posted August 19, 2010 Can someone look at this XSL stylesheet and tell if there is something wrong with it. We'd need to see the source XML for this.
jjfcpa Posted August 19, 2010 Author Posted August 19, 2010 (edited) Will this suffice? When I enter the URL in my browser's address bar, this is what is returned to the screen. I'm assuming this is an xml data file (dump)? MSFT24.448/19/20104:00pm-0.3824.5824.7424.2154022696211.5B24.82-1.53%22.73 - 31.582.10111.81Microsoft Corpora Edited August 19, 2010 by Guest
comment Posted August 19, 2010 Posted August 19, 2010 To begin with, your template says: match="/*/*/QuoteData" but there is no element named QuoteData anywhere in the XML. Next, you try to create a record for-each select="Quotes" - and again, there is no Quotes element. Same goes for: which should be: and: which should be: and: which must be:
jjfcpa Posted August 19, 2010 Author Posted August 19, 2010 Well that's progress. As I stated, I copied this from another working stylesheet; however, I don't want to pretend to understand all the technical aspects of a stylesheet. I don't. I do appreciate your pointing out my problems, I will make the changes and see how it goes. Thank you for your assistance.
comment Posted August 19, 2010 Posted August 19, 2010 At the very least, you should read this introduction: http://my.advisor.com/doc/12009
jjfcpa Posted August 19, 2010 Author Posted August 19, 2010 Thank you. I'm on it. Just what I was looking for.
Recommended Posts
This topic is 5278 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now