[Haskell-cafe] 2 HaXml questions

Marc Weber marco-oweber at gmx.de
Thu Apr 19 13:56:08 EDT 2007


a)
  After filtering the content I want to use how do I extract the text?
  eg
  a = xtract "html/body/h2/-"
  which should return the text contained in the h2 tag.

  There is a parser called text which returns the text but I don't know
  how to use it ? Is there a much simpler way I have missed?

b)
  What is a CRef? When are they used?

Marc


More information about the Haskell-Cafe mailing list