Jump to content

XML/XPath: Difference between revisions

→‎{{header|Haskell}}: change with HXT v9.0
(→‎{{header|C++}}: this is wrong, doesnt use XPath.)
(→‎{{header|Haskell}}: change with HXT v9.0)
Line 349:
<lang haskell>{-# LANGUAGE Arrows #-}
import Text.XML.HXT.Arrow
{- For HXT version >= 9.0, use instead:
import Text.XML.HXT.Core
-}
 
deepElem name = deep (isElem >>> hasName name)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.