@@ -6,17 +6,16 @@ category: examples
6
6
excerpt : An example of interoperating with Erlang's built-in `xmerl` library to parse XML.
7
7
---
8
8
9
- In the latest free video, [ ElixirSips] ( http://www.elixirsips.com ) [ Episode
10
- 028] ( http://elixirsips.com/episodes/028_parsing_xml.html ) provides an example of
11
- parsing XML via the built in ` xmerl ` library in Erlang.
9
+ One of the latest episodes of [ ElixirSips] ( http://elixirsips.com/episodes/028_parsing_xml.html )
10
+ provided an example of parsing XML via the built in ` xmerl ` library in Erlang:
12
11
13
12
<iframe src =" //fast.wistia.net/embed/iframe/pi407o195d " allowtransparency =" true " frameborder =" 0 " scrolling =" no " class =" wistia_embed " name =" wistia_embed " allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width =" 640 " height =" 360 " ></iframe >
14
13
15
- [ Here is the project built in this episode, for you to download. ] ( http://elixirsips.com/downloads/028_parsing_xml.tar.gz )
16
-
17
- You can watch the video for a complete rundown where we use tests to explore the
18
- ` xmerl ` library and how we can use it from Elixir. If you just want to see the
19
- results, here's the test file we ended up with, commented for clarity:
14
+ Parsing XML is a common need to different applications. The example also show cases
15
+ how to integrate with existing Erlang libraries. You can watch the video for a complete
16
+ rundown where we use tests to explore the ` xmerl ` library and how we can use it from
17
+ Elixir. If you just want to see the results, here's the test file we ended up with,
18
+ commented for clarity:
20
19
21
20
``` elixir
22
21
# If you want to pattern-match on a record defined in an erlang library, you
@@ -72,7 +71,11 @@ defmodule XmlParsingTest do
72
71
end
73
72
```
74
73
74
+ The project built in the episode is also
75
+ [ available for download] ( http://elixirsips.com/downloads/028_parsing_xml.tar.gz ) .
76
+
75
77
## Resources
78
+
76
79
- [ xmerl user guide] ( http://www.erlang.org/doc/apps/xmerl/xmerl_ug.html )
77
80
- [ xmerl manual] ( http://www.erlang.org/doc/man/xmerl_scan.html )
78
81
- [ erlsom] ( https://github.com/willemdj/erlsom )
0 commit comments