Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am working with a Yahoo store owner trying to submit inventory as a data feed; I can grab the data from the website in the form of an XML file by using a Yahoo store convention of: http://site.com/objinfo.xml, but that has too much information that I don't need in the product feed. I am trying to turn this XML file into a RSS 2.0 format with only specific fields from the XML file.

Would it be better to use a script to populate the file or a specific program?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I'd write an XSLT stylesheet to convert it, then use either an XSLT library for a programming language or a tool such as xsltproc to process it.

share|improve this answer
    
cool, so the XSLT stylesheet is like the template for the product file, in this case RSS? and i will process the xml file with the XSLT template through a language with appropriate library or use a tool? –  fightermagethief Feb 8 '11 at 2:09
    
That is the essentials of it, yes. –  Ignacio Vazquez-Abrams Feb 8 '11 at 2:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.