On 06/26/12 05:15, Ivan Perez wrote:
> Hi,
>  You code fails because a link is not a node of kind Text, I think.
> What you want is to get the text from a child node of an anchor node.
> I think the following should work:

Yes, thank you. That makes sense now.


> process_link :: (ArrowXml a) => a XmlTree XmlTree
> process_link = getChildren >>> getText >>> mkText
> 

This works!


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to