[Haskell-cafe] xml conduit
Mateusz Kowalczyk
fuuzetsu at fuuzetsu.co.uk
Sat Feb 9 07:10:27 CET 2013
I don't know about xml-conduit but I know that such thing is possible in
HXT. See the `Modifying a Node' section at [1] for a trivial example.
You probably will have to read the whole page to somewhat understand
what's going on though.
[1] - http://adit.io/posts/2012-04-14-working_with_HTML_in_haskell.html
On 08/02/13 23:31, grant wrote:
> Hi,
>
> Is there a nice way to update xml. I want to be able to use xml-conduit
> to find a location in the xml and then add/update that node.
>
> eg xpath from //d/e/f and then change the content at 'f' or add a new node
>
> <a>
> ...
> <d>
> <e>
> <f>some data to change
> </f>
> </e>
> </d>
> ...
> </a>
>
>
> Thanks for any help,
> Grant
>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
More information about the Haskell-Cafe
mailing list