From e7c9e9532c73f0230afec0e833faf597ab0dceaa Mon Sep 17 00:00:00 2001 From: John Millikin Date: Thu, 17 Feb 2011 18:37:57 -0800 Subject: [PATCH] Export ``elementContent`` (herp derp) --- Data/XML/Types.hs | 3 ++- xml-types.cabal | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Data/XML/Types.hs b/Data/XML/Types.hs index fc6d520..6aaaaad 100644 --- a/Data/XML/Types.hs +++ b/Data/XML/Types.hs @@ -55,6 +55,7 @@ module Data.XML.Types -- * Filters , nodeChildren , elementChildren + , elementContent , hasAttribute , position ) where @@ -209,7 +210,7 @@ isNamed n x = [x | getName x == n] elementChildren :: Element -> [Element] elementChildren = elementNodes >=> isElement --- | Since 0.1.3 +-- | Since 0.1.4 elementContent :: Element -> [Content] elementContent = elementNodes >=> isContent diff --git a/xml-types.cabal b/xml-types.cabal index 4feede0..b0015ca 100644 --- a/xml-types.cabal +++ b/xml-types.cabal @@ -1,5 +1,5 @@ name: xml-types -version: 0.1.3 +version: 0.1.4 synopsis: Basic types for representing XML license: MIT license-file: license.txt -- 2.45.2