Skip to content

Update document-api to register our namespaces with ElementTree #162

@hkthom

Description

@hkthom

After creating a new Tableau workbook using "Workbook.save_as" of Document API without any changes (Just changing file name ), the content (structure ) of newly generated workbook is different from the original one. There is a difference between the XMLs likely caused by ElementTree modifying the XML namespace keys automatically in the new version of the workbook. This is causing Document API's save_as function to change filter state from "Use all" to "select from list"

This ought to be fixed by modifying the library on github, which is a oneliner

“ET.register_namespace(‘user’, ‘http://tableau.com/user’)

or whatever the url is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy