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

elem.firstChild.setAttribute is not a function #38

Open
anandguna opened this issue Oct 12, 2017 · 0 comments
Open

elem.firstChild.setAttribute is not a function #38

anandguna opened this issue Oct 12, 2017 · 0 comments

Comments

@anandguna
Copy link

Hi,

As per our requirement we need to send PDF file as stream. Is it possible use ws.js.

when i am using the below line of code i am getting an error "elem.firstChild.setAttribute is not a function"
I am passing file relative path in tempPath.
ws.addAttachment(ctx, "request", "//*[local-name(.)='Envelope']", tempPath, "application/pdf")

Regards,
Anand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant