Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula FILTERXML could not be evaluated without an acceptance #104

Open
adjivas opened this issue Oct 10, 2020 · 0 comments
Open

Formula FILTERXML could not be evaluated without an acceptance #104

adjivas opened this issue Oct 10, 2020 · 0 comments
Labels

Comments

@adjivas
Copy link

adjivas commented Oct 10, 2020

Hello,

For a code like:

alias Elixlsx.Sheet
alias Elixlsx.Workbook

sheet1 = Sheet.with_name("First")
      |> Sheet.set_cell("A1", {:formula, "FILTERXML(A2,\"//price\")"})
      |> Sheet.set_cell("A2",
        "<?xml version=\"1.0\" encoding=\"UTF-8\"?><pricing><price>0.9</price></pricing>"
      )

%Workbook{sheets: [sheet1]}
    |> Elixlsx.write_to("example.xlsx")

The formula FILTERXML is considered as an invalid name.
1

Graphically, it's can be regulated like a valid name with a manual acceptance of the formula.
2
3

@xou xou added the bug label Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants