Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > d9c1887ff364dc87e282490223567c41 > files > 160

ocaml-pxp-1.2.1-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Pxp_dtd.dtd_notation.html">
<link rel="Up" href="Pxp_dtd.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of classes" rel=Appendix href="index_classes.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Pxp_types" rel="Chapter" href="Pxp_types.html">
<link title="Pxp_document" rel="Chapter" href="Pxp_document.html">
<link title="Pxp_dtd" rel="Chapter" href="Pxp_dtd.html">
<link title="Pxp_tree_parser" rel="Chapter" href="Pxp_tree_parser.html">
<link title="Pxp_core_types" rel="Chapter" href="Pxp_core_types.html">
<link title="Pxp_ev_parser" rel="Chapter" href="Pxp_ev_parser.html">
<link title="Pxp_event" rel="Chapter" href="Pxp_event.html">
<link title="Pxp_dtd_parser" rel="Chapter" href="Pxp_dtd_parser.html">
<link title="Pxp_codewriter" rel="Chapter" href="Pxp_codewriter.html">
<link title="Pxp_marshal" rel="Chapter" href="Pxp_marshal.html">
<link title="Pxp_yacc" rel="Chapter" href="Pxp_yacc.html">
<link title="Pxp_reader" rel="Chapter" href="Pxp_reader.html">
<link title="Intro_trees" rel="Chapter" href="Intro_trees.html">
<link title="Intro_extensions" rel="Chapter" href="Intro_extensions.html">
<link title="Intro_namespaces" rel="Chapter" href="Intro_namespaces.html">
<link title="Intro_events" rel="Chapter" href="Intro_events.html">
<link title="Intro_resolution" rel="Chapter" href="Intro_resolution.html">
<link title="Intro_getting_started" rel="Chapter" href="Intro_getting_started.html">
<link title="Intro_advanced" rel="Chapter" href="Intro_advanced.html">
<link title="Intro_preprocessor" rel="Chapter" href="Intro_preprocessor.html">
<link title="Example_readme" rel="Chapter" href="Example_readme.html"><title>PXP Reference : Pxp_dtd.proc_instruction</title>
</head>
<body>
<div class="navbar"><a href="Pxp_dtd.dtd_notation.html">Previous</a>
&nbsp;<a href="Pxp_dtd.html">Up</a>
&nbsp;</div>
<center><h1>Class <a href="type_Pxp_dtd.proc_instruction.html">Pxp_dtd.proc_instruction</a></h1></center>
<br>
<pre><span class="keyword">class</span> <a name="TYPEproc_instruction"></a>proc_instruction : <code class="type">string -> string -> Pxp_core_types.I.rep_encoding -> </code><code class="code"><span class="keyword">object</span></code> <a href="Pxp_dtd.proc_instruction.html">..</a> <code class="code"><span class="keyword">end</span></code></pre>A single processing instruction occuring in DTD scope. This instruction
 can also be added to the DTD object, Creation:
  <pre></pre><code class="code">&nbsp;<span class="keyword">new</span>&nbsp;proc_instruction&nbsp;a_target&nbsp;a_value&nbsp;</code><pre></pre>
 creates a new proc_instruction object with the given target string and
 the given value string. 
 Note: A processing instruction is written as <code class="code"> &lt;?target value<span class="keywordsign">?&gt;</span> </code>.<br>
<hr width="100%">
<pre><span class="keyword">method</span> <a name="METHODtarget"></a>target : <code class="type">string</code></pre><pre><span class="keyword">method</span> <a name="METHODvalue"></a>value : <code class="type">string</code></pre><pre><span class="keyword">method</span> <a name="METHODencoding"></a>encoding : <code class="type">Pxp_core_types.I.rep_encoding</code></pre><pre><span class="keyword">method</span> <a name="METHODparse_pxp_option"></a>parse_pxp_option : <code class="type">string * string * (string * string) list</code></pre><div class="info">
Parses a PI containing a PXP option. Such PIs are formed like:
  <pre></pre><code class="code">&nbsp;&lt;?target&nbsp;option-name&nbsp;option-att=<span class="string">"value"</span>&nbsp;option-att=<span class="string">"value"</span>&nbsp;...&nbsp;<span class="keywordsign">?&gt;</span>&nbsp;</code><pre></pre>
 The method returns a triple
   <pre></pre><code class="code">&nbsp;(target,&nbsp;option-name,&nbsp;[option-att,&nbsp;value;&nbsp;...])&nbsp;</code><pre></pre>
 or raises <code class="code"><span class="constructor">Error</span></code>.<br>
</div>
</body></html>