Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5278 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

  

  

 

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

  

 

 

 

  

  

 

 

 

  

  

  

 

 

  

  

  

 

 

  

  

  

   

 

  

  

  

 

  	

  		

  	

 

  

  	

  		

  	

 

   

  	

  		

  	

 

    

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

 

  	

  		

  	

 

  

  

  

  

  

  



Posted (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 by Guest
Posted

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:

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.