Skip to content

Commit

Permalink
Update patching of xsl stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Fauser committed May 13, 2007
1 parent f386131 commit bb35a82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# * Tweak modification to xsl stylesheets
# * Add an example for get_search_results with pagination
# * Release 0.10.0
# * Update the documentation for better navigation. Provide links to official documentation. Don't use method_missing anymore
Expand Down
3 changes: 2 additions & 1 deletion lib/ebay/schema/mapper/templates/xsl_file.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ end
private
def unpack_stylesheet(base64string)
stylesheet = base64string.unpack('m').first
stylesheet.gsub!(/urn:schemas-microsoft-com:xslt/, 'http://exslt.org/common')
stylesheet.sub!(/urn:schemas-microsoft-com:xslt/, 'http://exslt.org/common')
stylesheet.sub!(/exclude-result-prefixes="x"/, 'exclude-result-prefixes="x xal"')
end

0 comments on commit bb35a82

Please sign in to comment.