cannot upload edited style

I edited the vancouver style very slightly to get rid of et al in the bibliography. I changed the name and id in the code, but when I try to upload it through settings in zotero, it asks if I want to import the style, I click OK, and nothing happens. What am I doing wrong?
  • Once you click OK the style should be installed - there is nothing visible that "happens" upon installation. Are you sure it's not installed?

    If so, make sure the style validates and post a copy of it to gist.github.com or pastebin.com and provide the link here.
  • I'm pretty sure it's not installed. It doesn't appear in the menu. When I tried to validate, I got this:

    stdin:1:0: error: element ^style not allowed
    required:
    element http://purl.org/net/xbiblio/csl^style
    element http://purl.org/net/xbiblio/csl^locale
    error: invalid input

    Here is the link: https://gist.github.com/5c5791ff6700eb05cba6
  • edited May 22, 2012
    try adding
    xmlns="http://purl.org/net/xbiblio/csl"
    to the first line:
    <style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="minimal">
  • You are brilliant. Thank you!!

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.