Project

General

Profile

1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<TITLE>
6
XslProcessor
7
</TITLE>
8
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
9
</HEAD>
10
<SCRIPT>
11
function asd()
12
{
13
parent.document.title="XslProcessor";
14
}
15
</SCRIPT>
16
<BODY BGCOLOR="white" onload="asd();">
17

    
18
<!-- ========== START OF NAVBAR ========== -->
19
<A NAME="navbar_bottom"><!-- --></A>
20
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
21
<TR>
22
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
23
<A NAME="navbar_bottom_firstrow"><!-- --></A>
24
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
25
  <TR ALIGN="center" VALIGN="top">
26
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
27
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Util.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
28
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
29
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
30
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
31
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"--><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
32
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
33
  </TR>
34
</TABLE>
35
</TD>
36
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
37
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
38
</EM>
39
</TD
40
</TR>
41

    
42
<TR>
43
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
44
&nbsp;<A HREF="XMLSerializer.html"><B>PREV CLASS</B></A><!-- 
45
   NEXT CLASS 
46
-->
47
&nbsp;<A HREF="XSLTProcessor.html"><B>NEXT CLASS</B></A></FONT></TD>
48
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
49
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
50
&nbsp;<A HREF="XslProcessor.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
51
&nbsp;
52
<SCRIPT>
53
  <!--
54
  if(window==top) {
55
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
56
  }
57
  //-->
58
</SCRIPT>
59
<NOSCRIPT>
60
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
61
</NOSCRIPT>
62
</FONT></TD>
63
</TR>
64
<TR>
65
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
66
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
67
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
68
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
69
</TR>
70
</TABLE>
71
<!-- =========== END OF NAVBAR =========== -->
72
<HR>
73

    
74
<!-- ======== START OF CLASS DATA ======== -->
75
<H2>Class XslProcessor</H2>
76
<PRE>Object
77
   |
78
   +--<b>XslProcessor</b>
79
</PRE>
80

    
81

    
82
<HR>
83
<DL>
84
   <!-- Class definition -->
85
   <DT>class 
86
   <B>XslProcessor</B>
87
   
88

    
89
</DL>
90
   
91
   <P>
92
   <I>Defined in <a href='overview-summary-Util.js.html'>Util.js</a></I><BR/><BR/><B>Author:</B> Cameron Shorter - Cameron AT Shorter.net<BR/>
93
   </P>
94
   
95
   <HR>
96

    
97
<!-- ======== NESTED CLASS SUMMARY ======== -->
98

    
99
<!-- ======== END NESTED CLASS SUMMARY ======== -->
100

    
101

    
102
<!-- =========== FIELD SUMMARY =========== -->
103

    
104
   <A NAME="field_summary"><!-- --></A>
105
      <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
106
         <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
107
            <TD COLSPAN=2><FONT SIZE="+2">
108
               <B>Field Summary</B></FONT></TD>
109
         </TR>
110

    
111
   <!-- This is one instance field summary -->
112
   
113
   <TR BGCOLOR="white" CLASS="TableRowColor">
114
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115
   <CODE>&nbsp;Object</CODE></FONT></TD>
116
   <TD><CODE><B><A HREF="#docNSUri">docNSUri</A></B></CODE>
117
   <BR>
118
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
119
   </TR>
120
   
121
   <TR BGCOLOR="white" CLASS="TableRowColor">
122
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123
   <CODE>&nbsp;Object</CODE></FONT></TD>
124
   <TD><CODE><B><A HREF="#processor">processor</A></B></CODE>
125
   <BR>
126
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
127
   </TR>
128
   
129
   <TR BGCOLOR="white" CLASS="TableRowColor">
130
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131
   <CODE>&nbsp;Object</CODE></FONT></TD>
132
   <TD><CODE><B><A HREF="#xslDom">xslDom</A></B></CODE>
133
   <BR>
134
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
135
   </TR>
136
   
137
   <TR BGCOLOR="white" CLASS="TableRowColor">
138
   <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139
   <CODE>&nbsp;Object</CODE></FONT></TD>
140
   <TD><CODE><B><A HREF="#xslUrl">xslUrl</A></B></CODE>
141
   <BR>
142
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
143
   </TR>
144
   
145

    
146
   </TABLE>
147
   &nbsp;
148
   
149

    
150
   
151

    
152
<!-- =========== END FIELD SUMMARY =========== -->
153

    
154

    
155
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
156

    
157
<A NAME="constructor_summary"><!-- --></A>
158
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
159
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
160
<TD COLSPAN=2><FONT SIZE="+2">
161
<B>Constructor Summary</B></FONT></TD>
162
</TR>
163
<TR BGCOLOR="white" CLASS="TableRowColor">
164
   <TD>
165
      <CODE>
166
	 <B>
167
	    <A HREF="XslProcessor.html#XslProcessor()">XslProcessor</A> 
168
	 </B>
169
	 (xslUrl,docNSUri)
170
      </CODE>
171
      <BR>
172
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
173
      Transform an XML document using the provided XSL and use the results to build
174
a web page.
175
      </TD>
176
</TR>
177
</TABLE>
178

    
179
<!-- ======== END CONSTRUCTOR SUMMARY ======== -->
180

    
181
&nbsp;
182

    
183
<!-- ========== METHOD SUMMARY =========== -->
184

    
185
<A NAME="method_summary"><!-- --></A>
186
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
187
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
188
<TD COLSPAN=2><FONT SIZE="+2">
189
<B>Method Summary</B></FONT></TD>
190
</TR>
191

    
192

    
193
   <TR BGCOLOR="white" CLASS="TableRowColor">
194
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
195
	 <FONT SIZE="-1">
196
	    <CODE>&nbsp;void</CODE>
197
	 </FONT>
198
      </TD>
199
      <TD>
200
	 <CODE>
201
	    <B>
202
	       <A HREF="#setParameter">setParameter</A></B>(paramName, paramValue, nsUri)
203
	 </CODE>
204
	 <BR>
205
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
206
	 Set XSL parameter.
207
      </TD>
208
   </TR>
209

    
210
   <TR BGCOLOR="white" CLASS="TableRowColor">
211
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
212
	 <FONT SIZE="-1">
213
	    <CODE>&nbsp;Object</CODE>
214
	 </FONT>
215
      </TD>
216
      <TD>
217
	 <CODE>
218
	    <B>
219
	       <A HREF="#transformNodeToObject">transformNodeToObject</A></B>(xmlNode)
220
	 </CODE>
221
	 <BR>
222
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
223
	 Transforms XML in the provided xml node according to this XSL.
224
      </TD>
225
   </TR>
226

    
227
   <TR BGCOLOR="white" CLASS="TableRowColor">
228
      <TD ALIGN="right" VALIGN="top" WIDTH="1%">
229
	 <FONT SIZE="-1">
230
	    <CODE>&nbsp;Object</CODE>
231
	 </FONT>
232
      </TD>
233
      <TD>
234
	 <CODE>
235
	    <B>
236
	       <A HREF="#transformNodeToString">transformNodeToString</A></B>(xmlNode)
237
	 </CODE>
238
	 <BR>
239
	 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
240
	 Transforms XML in the provided xml node according to this XSL.
241
      </TD>
242
   </TR>
243

    
244

    
245
</TABLE>
246

    
247

    
248

    
249
<P>
250
<!-- ========== END METHOD SUMMARY =========== -->
251

    
252

    
253
<!-- ============ FIELD DETAIL START =========== -->
254

    
255
   <A NAME="field_detail"><!-- --></A>
256
   <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
257
      <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
258
         <TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD>
259
      </TR>
260
   </TABLE>
261

    
262
   
263
   <A NAME="docNSUri"><!-- --></A>
264
   <H3>docNSUri</H3>
265
   <PRE>Object&nbsp;<B>docNSUri</B></PRE>
266
   <UL>
267
   
268
   
269
   </UL>
270
   <HR>
271
   
272
   <A NAME="processor"><!-- --></A>
273
   <H3>processor</H3>
274
   <PRE>Object&nbsp;<B>processor</B></PRE>
275
   <UL>
276
   
277
   
278
   </UL>
279
   <HR>
280
   
281
   <A NAME="xslDom"><!-- --></A>
282
   <H3>xslDom</H3>
283
   <PRE>Object&nbsp;<B>xslDom</B></PRE>
284
   <UL>
285
   
286
   
287
   </UL>
288
   <HR>
289
   
290
   <A NAME="xslUrl"><!-- --></A>
291
   <H3>xslUrl</H3>
292
   <PRE>Object&nbsp;<B>xslUrl</B></PRE>
293
   <UL>
294
   
295
   
296
   </UL>
297
   <HR>
298
   
299

    
300

    
301
<!-- ============ FIELD DETAIL END =========== -->
302

    
303
    <!-- ========= CONSTRUCTOR DETAIL START ======== -->
304

    
305
<A NAME="constructor_detail"><!-- --></A>
306
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
307
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
308
      <TD COLSPAN=1>
309
      <FONT SIZE="+2"><B>Constructor Detail</B></FONT>
310
      </TD>
311
   </TR>
312
</TABLE>
313

    
314
<A NAME="XslProcessor()"><!-- --></A><H3>
315
XslProcessor</H3>
316
<PRE><B>XslProcessor</B>(xslUrl,docNSUri)</PRE>
317

    
318

    
319
<UL>
320
   Transform an XML document using the provided XSL and use the results to build
321
a web page.
322
</UL>
323

    
324

    
325

    
326
   <UL>
327
   <B>Parameters:</B>
328
   
329
     <UL><CODE>xslUrl</CODE> -  The URL of an XSL stylesheet. 
330
     </UL>
331
   
332
   
333
   </UL>
334

    
335

    
336
<!-- Constructor return value(s) -->
337

    
338
<!-- End constructor return value(s) -->
339

    
340
<!-- ADDITIONAL ATTRIBUTES -->
341

    
342
<UL>   
343
<B>Author:</B> Cameron Shorter - Cameron AT Shorter.net<BR/>
344
</UL>
345

    
346
<HR/>
347
<!-- END ADDITIONAL ATTRIBUTES  -->
348

    
349
<!-- ========= CONSTRUCTOR DETAIL END ======== -->
350

    
351

    
352
<!-- ============ METHOD DETAIL START ========== -->
353

    
354
<A NAME="method_detail"><!-- --></A>
355
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
356
   <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
357
      <TD COLSPAN=1><FONT SIZE="+2">
358
         <B>Method Detail</B></FONT>
359
      </TD>
360
   </TR>
361
</TABLE>
362

    
363
<!-- One single method detail entry -->
364

    
365
   <A NAME="setParameter"><!-- --></A>
366
   <H3>setParameter</H3>
367
   <PRE>void <B>setParameter</B>(paramName, paramValue, nsUri)</PRE>
368
   
369
      <UL>Set XSL parameter.</UL>
370
   
371

    
372
   <!-- METHOD PARAMETERS START -->
373
   
374
   <!-- METHOD PARAMETERS END -->
375

    
376
   
377

    
378
   <!-- ADDITIONAL ATTRIBUTES START -->
379
   
380
   <!-- ADDITIONAL ATTRIBUTES  END -->
381
<HR>
382

    
383
   <A NAME="transformNodeToObject"><!-- --></A>
384
   <H3>transformNodeToObject</H3>
385
   <PRE>Object <B>transformNodeToObject</B>(xmlNode)</PRE>
386
   
387
      <UL>Transforms XML in the provided xml node according to this XSL.</UL>
388
   
389

    
390
   <!-- METHOD PARAMETERS START -->
391
   
392
   <UL>
393
   <B>Parameters:</B>
394
   
395
     <UL><CODE>xmlNode</CODE> -  The XML node to be transformed.  
396
      </UL> 
397
   
398
   </UL>
399
   
400
   <!-- METHOD PARAMETERS END -->
401

    
402
   
403
   <UL>
404
   <B>Returns:</B>
405
        <UL>
406
        a DOM document object 
407
        </UL>
408
   </UL>
409
   
410

    
411
   <!-- ADDITIONAL ATTRIBUTES START -->
412
   
413
   <!-- ADDITIONAL ATTRIBUTES  END -->
414
<HR>
415

    
416
   <A NAME="transformNodeToString"><!-- --></A>
417
   <H3>transformNodeToString</H3>
418
   <PRE>Object <B>transformNodeToString</B>(xmlNode)</PRE>
419
   
420
      <UL>Transforms XML in the provided xml node according to this XSL.</UL>
421
   
422

    
423
   <!-- METHOD PARAMETERS START -->
424
   
425
   <UL>
426
   <B>Parameters:</B>
427
   
428
     <UL><CODE>xmlNode</CODE> -  The XML node to be transformed.  
429
      </UL> 
430
   
431
   </UL>
432
   
433
   <!-- METHOD PARAMETERS END -->
434

    
435
   
436
   <UL>
437
   <B>Returns:</B>
438
        <UL>
439
        The transformed String. 
440
        </UL>
441
   </UL>
442
   
443

    
444
   <!-- ADDITIONAL ATTRIBUTES START -->
445
   
446
   <!-- ADDITIONAL ATTRIBUTES  END -->
447
<HR>
448

    
449

    
450

    
451
<!-- ============ METHOD DETAIL END ========== -->
452

    
453
<!-- ========= END OF CLASS DATA ========= -->
454

    
455
<!-- ========== START OF NAVBAR ========== -->
456
<A NAME="navbar_bottom"><!-- --></A>
457
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
458
<TR>
459
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
460
<A NAME="navbar_bottom_firstrow"><!-- --></A>
461
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
462
  <TR ALIGN="center" VALIGN="top">
463
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
464
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">  <A HREF="overview-summary-Util.js.html"><FONT CLASS="NavBarFont1"><B>File</B></FONT></A>&nbsp;</TD>
465
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
466
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><b>Tree</b></FONT></A>&nbsp;</TD>
467
  <!--TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"-->    <!--A HREF="deprecated-list.html"--><!--FONT CLASS="NavBarFont1">Deprecated</FONT--><!--/A--><!--&nbsp;</TD-->
468
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
469
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
470
  </TR>
471
</TABLE>
472
</TD>
473
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
474
<B><a href='http://mapbuilder.sourceforge.net'>Community Map Builder</a> 27 Apr 2008</B>
475
</EM>
476
</TD
477
</TR>
478

    
479
<TR>
480
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
481
&nbsp;<A HREF="XMLSerializer.html"><B>PREV CLASS</B></A><!-- 
482
   NEXT CLASS 
483
-->
484
&nbsp;<A HREF="XSLTProcessor.html"><B>NEXT CLASS</B></A></FONT></TD>
485
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
486
  <A HREF="index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
487
&nbsp;<A HREF="XslProcessor.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
488
&nbsp;
489
<SCRIPT>
490
  <!--
491
  if(window==top) {
492
    document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
493
  }
494
  //-->
495
</SCRIPT>
496
<NOSCRIPT>
497
<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
498
</NOSCRIPT>
499
</FONT></TD>
500
</TR>
501
<TR>
502
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
503
  SUMMARY:&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
504
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
505
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
506
</TR>
507
</TABLE>
508

    
509
<!-- =========== END OF NAVBAR =========== -->
510

    
511
<HR>
512
<FONT SIZE="-1">
513

    
514
</FONT>
515
<div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Sun Apr 27 20:30:54 2008</div>
516
</BODY>
517
</HTML>
(103-103/316)