Comments (2)
You can pass an option to erlsom:write that tells it to return "chardata". This is a nested list of string and binary fragments. Depending on what you want to do with the result that can be quite a good solution, and it should be much more efficient.
{ok, XmlResult} = erlsom:write(Response, ModelOut, [{output, chardata}]),
from erlsom.
Thank you for the quick reply, you nailed it, that solved the issue for us! Thank you again :)
from erlsom.
Related Issues (20)
- handling of attributegroup and extensions HOT 3
- Ambiguous documentation about CState and State in CFunction HOT 1
- Build multi xsd file with perfix HOT 6
- XML signature HOT 4
- Data binding: case insensitive parsing HOT 5
- XML parsing fails for ihsmarkit blog rss feed HOT 1
- Restrictions in model when using compile_xsd_file HOT 3
- erlsom_write cannot create XML document HOT 3
- strange use of http_uri:parse/1 in erlsom_lib:get_url/1 HOT 1
- Undefined function erlsom HOT 1
- erlsom:scan doesn't properly handle subtypes when the element in question is within a choice with elements of the same basic type
- scan incorrectly fails with error "Unexpected attribute: length" HOT 3
- Version fix for tag 1.5.0 HOT 1
- 'Type not found in hierarchy' when no type is defined and XSI type is given HOT 5
- Hex docs are broken (not setup?) HOT 6
- simple_form/2 don't keep attributes order according to the document's
- 1.5.1 to hex.pm HOT 1
- Build is broken on macOS: escript: exception error: undefined function rebar:main/1 HOT 2
- Breaking change in erlsom.simple_form/1 between 1.5.0 and 1.5.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from erlsom.