1 |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'> |
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Transitional//EN' 'http://www.w3.org/TR/REC-html40/loose.dtd'> |
2 |
<!--NewPage--> |
<!--NewPage--> |
3 |
<HTML> |
<HTML> |
4 |
<HEAD> |
<HEAD> |
5 |
<!-- Generated by PhpDoc date: 'Mon, 25 Nov 2002 09:21:41 -0800' --> |
<!-- Generated by PhpDoc date: 'Thu, 20 Feb 2003 16:24:04 -0800' --> |
6 |
<TITLE>Docs for page xml_utils.inc</TITLE> |
<TITLE>Docs for page xml_utils.inc</TITLE> |
7 |
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'> |
<LINK REL ='stylesheet' TYPE='text/css' HREF='../media/stylesheet.css' TITLE='Style'> |
8 |
</HEAD> |
</HEAD> |
9 |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
<BODY style="background-color: #eeeeee; font-family: arial; font-size: .9em;"> |
|
|
|
|
|
|
10 |
<!-- Links --> |
<!-- Links --> |
11 |
<a NAME="top"></A> |
<a NAME="top"></A> |
12 |
<table WIDTH="100%" class="links"> |
<table WIDTH="100%" class="links"> |
15 |
Links: |
Links: |
16 |
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
<A HREF="#classes_summary" class="links" title="Classes created in this file">Classes</A> |
17 |
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
<A HREF="#includes_summary" class="links" title="Include Statements Summary">Includes</A> |
18 |
<A HREF="#globals_summary" class="links" title="Global Variable Summary">Globals</A> |
<A HREF="#global_summary" class="links" title="Global Variable Summary">Globals</A> |
19 |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
<A HREF="#constant_summary" class="links" title="Constant Summary">Constants</A> |
20 |
<A HREF="#functions_summary" class="links" title="Function Summary">Functions</A> |
<A HREF="#function_summary" class="links" title="Function Summary">Functions</A> |
21 |
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
<A HREF="#includes_detail" class="links" title="Include Statements Detail">Includes Detail</A> |
22 |
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
<A HREF="#global_detail" class="links" title="Global Variable Detail">Globals Detail</A> |
23 |
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
<A HREF="#constant_detail" class="links" title="Constant Detail">Constants Detail</A> |
26 |
</TR> |
</TR> |
27 |
</TABLE> |
</TABLE> |
28 |
<BR> |
<BR> |
|
|
|
29 |
<h2>File: Program_Root/tag_utils/xml_utils.inc</h2> |
<h2>File: Program_Root/tag_utils/xml_utils.inc</h2> |
30 |
<!-- ========== Info from phpDoc block ========= --> |
This file holds helper functions for things related to XMLTagClass objects/data |
31 |
This file holds helper functions |
<br /> |
32 |
<BR> |
<p>$Id$</p> |
|
for things related to XMLTagClass |
|
|
objects/data |
|
|
|
|
|
$Id$ |
|
|
|
|
33 |
<UL> |
<UL> |
34 |
|
<LI><b>author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">mailto:waboring@buildabetterweb.com</a>></CODE></LI> |
35 |
<LI><b>Package</b> - <CODE>phpHtmlLib</CODE></LI> |
</UL> |
|
|
|
|
<LI><b>Author</b> - <CODE>Walter A. Boring IV <<a href="mailto:waboring@buildabetterweb.com">waboring@buildabetterweb.com</a>></CODE></LI> |
|
|
|
|
|
</UL> |
|
|
|
|
|
<br> |
|
36 |
<!-- =========== Used Classes =========== --> |
<!-- =========== Used Classes =========== --> |
37 |
<A NAME='classes_summary'><!-- --></A> |
<A NAME='classes_summary'><!-- --></A> |
38 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
39 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
40 |
<TD> |
<TD> |
41 |
<span class="font12bold">Classes defined in this file</span> |
<span class="font12bold">Classes defined in this file</span> |
42 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
48 |
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
<TR><TD STYLE="width:20%"><h4>CLASS NAME</h4></TD><TD STYLE="width: 80%"><h4>DESCRIPTION</h4></TD></TR> |
49 |
</THEAD> |
</THEAD> |
50 |
<TBODY> |
<TBODY> |
51 |
|
</TBODY> |
|
</TBODY> |
|
52 |
</TABLE> |
</TABLE> |
53 |
<br> |
<br> |
|
<br> |
|
54 |
<!-- =========== Includes SUMMARY =========== --> |
<!-- =========== Includes SUMMARY =========== --> |
55 |
<A NAME='includes_summary'><!-- --></A> |
<A NAME='includes_summary'><!-- --></A> |
56 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
66 |
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR> |
67 |
</THEAD> |
</THEAD> |
68 |
<TBODY> |
<TBODY> |
69 |
|
</TBODY> |
|
</TBODY> |
|
70 |
</TABLE> |
</TABLE> |
71 |
<br> |
<br> |
|
|
|
72 |
<br> |
<br> |
73 |
<!-- =========== CONSTANT SUMMARY =========== --> |
<!-- =========== GLOBAL VARIABLE SUMMARY =========== --> |
74 |
<A NAME='global_summary'><!-- --></A> |
<A NAME='global_summary'><!-- --></A> |
75 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
76 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
77 |
<TD> |
<TD> |
78 |
<FONT SIZE='+2'><B>Global Variable Summary</B></FONT> |
<span CLASS="font12bold">Global Variable Summary</span> |
79 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
80 |
</TD> |
</TD> |
81 |
</TR> |
</TR> |
85 |
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR> |
86 |
</THEAD> |
</THEAD> |
87 |
<TBODY> |
<TBODY> |
88 |
|
</TBODY> |
|
</TBODY> |
|
89 |
</TABLE> |
</TABLE> |
90 |
<br> |
<br> |
|
|
|
|
|
|
91 |
<br> |
<br> |
92 |
<!-- =========== CONSTANT SUMMARY =========== --> |
<!-- =========== CONSTANT SUMMARY =========== --> |
93 |
<A NAME='constant_summary'><!-- --></A> |
<A NAME='constant_summary'><!-- --></A> |
94 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
95 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
96 |
<TD> |
<TD> |
97 |
<span CLASS="font12bold">Constant Summary</span> |
<span class="font12bold">Constant Summary</span> |
98 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
99 |
</TD> |
</TD> |
100 |
</TR> |
</TR> |
104 |
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR> |
105 |
</THEAD> |
</THEAD> |
106 |
<TBODY> |
<TBODY> |
107 |
|
</TBODY> |
|
</TBODY> |
|
108 |
</TABLE> |
</TABLE> |
109 |
<br> |
<br> |
|
|
|
110 |
<br> |
<br> |
111 |
<!-- =========== Function SUMMARY =========== --> |
<!-- =========== FUNCTION SUMMARY =========== --> |
112 |
<A NAME='Function_summary'><!-- --></A> |
<A NAME='function_summary'><!-- --></A> |
113 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' Class="bordernobottom"> |
114 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
115 |
<TD> |
<TD> |
116 |
<span class="font12bold">Function Summary</span> |
<span class="font12bold">Function Summary</span> |
118 |
</TD> |
</TD> |
119 |
</TR> |
</TR> |
120 |
|
|
121 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
122 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
123 |
<TD> |
<TD> |
124 |
<CODE><B><A HREF='_tag_utils_xml_utils_inc.html#array_to_xml_tree'> array_to_xml_tree ( $arr )</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/_tag_utils_xml_utils_inc.html#functionarray_to_xml_tree">void array_to_xml_tree ( $arr )</A></B></CODE> |
125 |
<BR> |
<BR> |
126 |
<blockquote> This function converts an array to |
<blockquote> This function converts an array to an xml document. </blockquote> |
|
an xml document. </blockquote> |
|
127 |
</TD> |
</TD> |
128 |
</TR> |
</TR> |
129 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
130 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
131 |
<TD> |
<TD> |
132 |
<CODE><B><A HREF='_tag_utils_xml_utils_inc.html#xml_doctype'>DOCTYPEtag xml_doctype ( $doc_element, [$source = "PUBLIC"], [$link1 = NULL], [$link2 = NULL] )</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/_tag_utils_xml_utils_inc.html#functionxml_doctype"><a href="../phpHtmlLib/DOCTYPEtag.html">DOCTYPEtag</a> xml_doctype ( $doc_element, [$source = "PUBLIC"], [$link1 = NULL], [$link2 = NULL] )</A></B></CODE> |
133 |
<BR> |
<BR> |
134 |
<blockquote> This function is used to build a |
<blockquote> This function is used to build a DOCTYPE tag </blockquote> |
|
DOCTYPE tag </blockquote> |
|
135 |
</TD> |
</TD> |
136 |
</TR> |
</TR> |
137 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
138 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
139 |
<TD> |
<TD> |
140 |
<CODE><B><A HREF='_tag_utils_xml_utils_inc.html#xml_stylesheet'>XMLSTYLESHEETtag xml_stylesheet ( $href, [$type = "text/css"] )</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/_tag_utils_xml_utils_inc.html#functionxml_stylesheet"><a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a> xml_stylesheet ( $href, [$type = "text/css"] )</A></B></CODE> |
141 |
<BR> |
<BR> |
142 |
<blockquote> This function is used to build an |
<blockquote> This function is used to build an xml-stylesheet tag </blockquote> |
|
xml-stylesheet tag </blockquote> |
|
143 |
</TD> |
</TD> |
144 |
</TR> |
</TR> |
145 |
|
<!-- =========== Summary =========== --> |
|
<!-- =========== Summary =========== --> |
|
146 |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
<TR BGCOLOR='white' CLASS='TableRowColor'> |
147 |
<TD> |
<TD> |
148 |
<CODE><B><A HREF='_tag_utils_xml_utils_inc.html#xml_tag'>XMLTagClass xml_tag ( $name, [$attributes = array()] )</A></B></CODE> |
<CODE><B><A HREF="../phpHtmlLib/_tag_utils_xml_utils_inc.html#functionxml_tag"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a> xml_tag ( $name, [$attributes = array()] )</A></B></CODE> |
149 |
<BR> |
<BR> |
150 |
<blockquote> This is a simple wrapper function |
<blockquote> This is a simple wrapper function for building XMLTagClass objects </blockquote> |
|
for building XMLTagClass objects </blockquote> |
|
151 |
</TD> |
</TD> |
152 |
</TR> |
</TR> |
153 |
|
</TABLE> |
|
</TABLE> |
|
|
|
|
154 |
<br> |
<br> |
155 |
<!-- ============ Includes DETAIL =========== --> |
<!-- ============ Includes DETAIL =========== --> |
156 |
|
|
164 |
</TR> |
</TR> |
165 |
</TABLE> |
</TABLE> |
166 |
|
|
|
|
|
|
|
|
167 |
<br> |
<br> |
168 |
<!-- ============ GLOBALS DETAIL =========== --> |
<!-- ============ GLOBALS DETAIL =========== --> |
169 |
|
|
170 |
<A NAME='global_detail'></A> |
<A NAME='global_detail'></A> |
171 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
172 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
173 |
<TD> |
<TD> |
174 |
<span CLASS="font12bold">Global Variable Detail</span> |
<span CLASS="font12bold">Global Variable Detail</span> |
177 |
</TR> |
</TR> |
178 |
</TABLE> |
</TABLE> |
179 |
|
|
|
|
|
|
|
|
180 |
<br> |
<br> |
181 |
<!-- ============ CONSTANT DETAIL =========== --> |
<!-- ============ CONSTANT DETAIL =========== --> |
182 |
|
|
183 |
<A NAME='constant_detail'></A> |
<A NAME='constant_detail'></A> |
184 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
185 |
<TR CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
186 |
<TD> |
<TD> |
187 |
<span CLASS="font12bold">Constant Detail</span> |
<span CLASS="font12bold">Constant Detail</span> |
188 |
<A HREF="#top" CLASS="links">^TOP</A> |
<A HREF="#top" CLASS="links">^TOP</A> |
190 |
</TR> |
</TR> |
191 |
</TABLE> |
</TABLE> |
192 |
|
|
|
|
|
|
|
|
193 |
<br> |
<br> |
194 |
<!-- ============ FUNCTION DETAIL =========== --> |
<!-- ============ FUNCTION DETAIL =========== --> |
195 |
|
|
196 |
<A NAME='function_detail'></A> |
<A NAME='function_detail'></A> |
197 |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="border"> |
<TABLE CELLPADDING='3' CELLSPACING='0' WIDTH='100%' CLASS="bordernobottom"> |
198 |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'> |
199 |
<TD> |
<TD> |
200 |
<span class="font12bold">Function Detail</span> |
<span class="font12bold">Function Detail</span> |
205 |
<BR> |
<BR> |
206 |
|
|
207 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
208 |
<A NAME='array_to_xml_tree'><!-- --></A> |
<A NAME="functionarray_to_xml_tree"><!-- --></A> |
209 |
<SPAN CLASS="font12bold">array_to_xml_tree</SPAN> |
<SPAN CLASS="font12bold">array_to_xml_tree</SPAN> (line <span class="linenumber">88</span>) |
210 |
<BR> |
<BR> |
211 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
212 |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
<span class="font10bold" style="color: #FF0000">void</SPAN> |
213 |
<span class="font10bold" style="color: #0000FF">array_to_xml_tree ( $arr )</SPAN> |
<span class="font10bold" style="color: #0000FF">array_to_xml_tree( |
214 |
|
array $arr, string 1)</SPAN> |
215 |
<BR> |
<BR> |
|
|
|
216 |
<BR> |
<BR> |
217 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
218 |
<!-- ========== Info from phpDoc block ========= --> |
This function converts an array to an xml document. |
219 |
This function converts an array to |
<br /> |
|
an xml document. |
|
|
<BR> |
|
220 |
|
|
221 |
<DL> |
<DL> |
222 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
223 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">1</SPAN></SPAN> </DD> |
224 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">1</SPAN></SPAN> </DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$arr</SPAN></SPAN> </DD> |
225 |
|
|
226 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$arr</SPAN></SPAN> </DD> |
<DT class="font10bold">Function Info:</DT> |
227 |
|
</DL> |
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
</DL> |
|
|
|
|
228 |
</DIV> |
</DIV> |
229 |
<BR> |
<BR> |
230 |
|
|
231 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
232 |
<A NAME='xml_doctype'><!-- --></A> |
<A NAME="functionxml_doctype"><!-- --></A> |
233 |
<SPAN CLASS="font12bold">xml_doctype</SPAN> |
<SPAN CLASS="font12bold">xml_doctype</SPAN> (line <span class="linenumber">50</span>) |
234 |
<BR> |
<BR> |
235 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
236 |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DOCTYPEtag.html">DOCTYPEtag</a></SPAN> |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/DOCTYPEtag.html">DOCTYPEtag</a></SPAN> |
237 |
<span class="font10bold" style="color: #0000FF">xml_doctype ( $doc_element, [$source = "PUBLIC"], [$link1 = NULL], [$link2 = NULL] )</SPAN> |
<span class="font10bold" style="color: #0000FF">xml_doctype( |
238 |
|
string $doc_element, [string $source = "PUBLIC"], [string $link1 = NULL], [string $link2 = NULL])</SPAN> |
239 |
<BR> |
<BR> |
|
|
|
240 |
<BR> |
<BR> |
241 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
242 |
<!-- ========== Info from phpDoc block ========= --> |
This function is used to build a DOCTYPE tag |
243 |
This function is used to build a |
<br /> |
|
DOCTYPE tag |
|
|
<BR> |
|
244 |
|
|
245 |
<DL> |
<DL> |
246 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
247 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$doc_element</SPAN></SPAN> - the document element name (ie. 'HTML')</DD> |
248 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$doc_element</SPAN></SPAN> - the document element name (ie. 'HTML')</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$source</SPAN></SPAN> - the source (ie. 'PUBLIC')</DD> |
249 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$link1</SPAN></SPAN> - link 1 (ie. '-//W3C//DTD XHTML 1.0 Transitional//EN' )</DD> |
250 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$source</SPAN></SPAN> - the source (ie. 'PUBLIC')</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$link2</SPAN></SPAN> - link 2 (ie. 'DTD/xhtml1-transitional.dtd' )</DD> |
251 |
|
|
252 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$link1</SPAN></SPAN> - link 1 (ie. '-//W3C//DTD XHTML 1.0 Transitional//EN' )</DD> |
<DT class="font10bold">Function Info:</DT> |
253 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD> |
254 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$link2</SPAN></SPAN> - link 2 (ie. 'DTD/xhtml1-transitional.dtd' )</DD> |
</DL> |
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
255 |
</DIV> |
</DIV> |
256 |
<BR> |
<BR> |
257 |
|
|
258 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
259 |
<A NAME='xml_stylesheet'><!-- --></A> |
<A NAME="functionxml_stylesheet"><!-- --></A> |
260 |
<SPAN CLASS="font12bold">xml_stylesheet</SPAN> |
<SPAN CLASS="font12bold">xml_stylesheet</SPAN> (line <span class="linenumber">74</span>) |
261 |
<BR> |
<BR> |
262 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
263 |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a></SPAN> |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/XMLSTYLESHEETtag.html">XMLSTYLESHEETtag</a></SPAN> |
264 |
<span class="font10bold" style="color: #0000FF">xml_stylesheet ( $href, [$type = "text/css"] )</SPAN> |
<span class="font10bold" style="color: #0000FF">xml_stylesheet( |
265 |
|
string $href, [string $type = "text/css"])</SPAN> |
266 |
<BR> |
<BR> |
|
|
|
267 |
<BR> |
<BR> |
268 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
269 |
<!-- ========== Info from phpDoc block ========= --> |
This function is used to build an xml-stylesheet tag |
270 |
This function is used to build an |
<br /> |
|
xml-stylesheet tag |
|
|
<BR> |
|
271 |
|
|
272 |
<DL> |
<DL> |
273 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
274 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$href</SPAN></SPAN> - the href attribute</DD> |
275 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$href</SPAN></SPAN> - the href attribute</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$type</SPAN></SPAN> - the type attribute</DD> |
276 |
|
|
277 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$type</SPAN></SPAN> - the type attribute</DD> |
<DT class="font10bold">Function Info:</DT> |
278 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD> |
279 |
|
</DL> |
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
280 |
</DIV> |
</DIV> |
281 |
<BR> |
<BR> |
282 |
|
|
283 |
<DIV CLASS="function"> |
<DIV CLASS="function"> |
284 |
<A NAME='xml_tag'><!-- --></A> |
<A NAME="functionxml_tag"><!-- --></A> |
285 |
<SPAN CLASS="font12bold">xml_tag</SPAN> |
<SPAN CLASS="font12bold">xml_tag</SPAN> (line <span class="linenumber">29</span>) |
286 |
<BR> |
<BR> |
287 |
<SPAN CLASS="font10bold">Useage : </SPAN> |
<SPAN CLASS="font10bold">Usage : </SPAN> |
288 |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></SPAN> |
<span class="font10bold" style="color: #FF0000"><a href="../phpHtmlLib/XMLTagClass.html">XMLTagClass</a></SPAN> |
289 |
<span class="font10bold" style="color: #0000FF">xml_tag ( $name, [$attributes = array()] )</SPAN> |
<span class="font10bold" style="color: #0000FF">xml_tag( |
290 |
|
string $name, [array $attributes = array()], mixed 2)</SPAN> |
291 |
<BR> |
<BR> |
|
|
|
292 |
<BR> |
<BR> |
293 |
<SPAN CLASS="font10bold">Description : </SPAN> |
<SPAN CLASS="font10bold">Description : </SPAN> |
294 |
<!-- ========== Info from phpDoc block ========= --> |
This is a simple wrapper function for building XMLTagClass objects |
295 |
This is a simple wrapper function |
<br /> |
|
for building XMLTagClass objects |
|
|
<BR> |
|
296 |
|
|
297 |
<DL> |
<DL> |
298 |
<DT class="font10bold">Function Parameters:</DT> |
<DT class="font10bold">Function Parameters:</DT> |
299 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">2</SPAN></SPAN> - any content that lives in the PCDATA portion of the XML tag</DD> |
300 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">mixed</SPAN> <span style="color: #0000FF;font-weight:bold">2</SPAN></SPAN> - any content that lives in the |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$name</SPAN></SPAN> - the xml tag name</DD> |
301 |
PCDATA portion of the XML tag</DD> |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the name="value" pairs of tag attributes</DD> |
302 |
|
|
303 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">string</SPAN> <span style="color: #0000FF;font-weight:bold">$name</SPAN></SPAN> - the xml tag name</DD> |
<DT class="font10bold">Function Info:</DT> |
304 |
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>return</b> - object</DD> |
305 |
<DD CLASS="font10" STYLE="padding-bottom:5px;"><span STYLE="font-style: italic;">- <span style="color: #FF0000;font-weight:bold;">array</SPAN> <span style="color: #0000FF;font-weight:bold">$attributes</SPAN></SPAN> - the name="value" pairs of |
</DL> |
|
tag attributes</DD> |
|
|
|
|
|
|
|
|
<DT class="font10bold">Function Info:</DT> |
|
|
|
|
|
<DD CLASS="font10" STYLE="padding-bottom:5px;"><b>Return</b> - object</DD> |
|
|
|
|
|
</DL> |
|
|
|
|
306 |
</DIV> |
</DIV> |
307 |
<BR> |
<BR> |
|
|
|
|
|
|
308 |
<br> |
<br> |
309 |
</HTML> |
<div id="credit"> |
310 |
|
<hr> |
311 |
|
Documention generated on Thu, 20 Feb 2003 16:24:04 -0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.2.0rc1</a> |
312 |
|
</div> |
313 |
|
</body> |
314 |
|
</html> |
315 |
|
</HTML> |