Sophie

Sophie

distrib > * > 2009.0 > i586 > by-pkgid > de6775e528a2ff5ec193c6359891220e > files > 89

haskell-HaXml-1.13.2-1mdv2007.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--Rendered using the Haskell Html Library v0.2-->
<HTML
><HEAD
><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"
><TITLE
>Text.XML.HaXml.Wrappers</TITLE
><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css"
><SCRIPT SRC="haddock.js" TYPE="text/javascript"
></SCRIPT
></HEAD
><BODY
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="topbar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><IMG SRC="haskell_icon.gif" WIDTH="16" HEIGHT="16" ALT=" "
></TD
><TD CLASS="title"
>HaXml-1.13.2: Utilities for manipulating XML documents</TD
><TD CLASS="topbut"
><A HREF="index.html"
>Contents</A
></TD
><TD CLASS="topbut"
><A HREF="doc-index.html"
>Index</A
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="modulebar"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD
><FONT SIZE="6"
>Text.XML.HaXml.Wrappers</FONT
></TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Synopsis</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="body"
><TABLE CLASS="vanilla" CELLSPACING="0" CELLPADDING="0"
><TR
><TD CLASS="decl"
><A HREF="#v%3Afix2Args"
>fix2Args</A
> :: IO (String, String)</TD
></TR
><TR
><TD CLASS="s8"
></TD
></TR
><TR
><TD CLASS="decl"
><A HREF="#v%3AprocessXmlWith"
>processXmlWith</A
> :: <A HREF="Text-XML-HaXml-Combinators.html#t%3ACFilter"
>CFilter</A
> -&gt; IO ()</TD
></TR
></TABLE
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="section1"
>Documentation</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v%3Afix2Args"
></A
><B
>fix2Args</B
> :: IO (String, String)</TD
></TR
><TR
><TD CLASS="doc"
>This useful auxiliary checks the commandline arguments for two
   filenames, the input and output file respectively.  If either
   is missing, it is replaced by '-', which can be interpreted by the
   caller as stdin and/or stdout.
</TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="decl"
><A NAME="v%3AprocessXmlWith"
></A
><B
>processXmlWith</B
> :: <A HREF="Text-XML-HaXml-Combinators.html#t%3ACFilter"
>CFilter</A
> -&gt; IO ()</TD
></TR
><TR
><TD CLASS="doc"
><P
>The wrapper <TT
>processXmlWith</TT
> returns an IO () computation
   that collects the filenames (or stdin/stdout) to use when
   reading/writing XML documents.  Its CFilter argument
   is applied to transform the XML document from the input and
   write it to the output.  No DTD is attached to the output.
</P
><P
>If the input filename ends with .html or .htm, it is parsed using
   the error-correcting HTML parser rather than the strict XML parser.
</P
></TD
></TR
><TR
><TD CLASS="s15"
></TD
></TR
><TR
><TD CLASS="botbar"
>Produced by <A HREF="http://www.haskell.org/haddock/"
>Haddock</A
> version 0.8</TD
></TR
></TABLE
></BODY
></HTML
>