You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/04/24 07:30:38 UTC

svn commit: r164448 [287/299] - in /lenya/site: ./ 1_2_x/ 1_2_x/components/ 1_2_x/components/accesscontrol/ 1_2_x/components/asset-management/ 1_2_x/components/authoring/ 1_2_x/components/deployment/ 1_2_x/components/editors/ 1_2_x/components/layout/ 1_2_x/components/layout/images/ 1_2_x/components/layout/images/live/ 1_2_x/components/link-management/ 1_2_x/components/metadata/ 1_2_x/components/multilingual/ 1_2_x/components/publication/ 1_2_x/components/repository/ 1_2_x/components/resource-types/ 1_2_x/components/revisioncontrol/ 1_2_x/components/search/ 1_2_x/components/sitemanagement/ 1_2_x/components/tasks/ 1_2_x/components/uri-handling/ 1_2_x/components/uri-handling/images/ 1_2_x/components/uri-handling/images/live/ 1_2_x/components/workflow/ 1_2_x/installation/ 1_2_x/misc/ 1_4/ 1_4/concepts/ 1_4/installation/ 1_4/reference/ 1_4/reference/publication-templating/ 1_4/reference/usecase-framework/ apidocs/ apidocs/1.2/ apidocs/1.2/org/ apidocs/1.2/org/apache/ apidocs/1.2/org/apache/lenya/ apidocs/1.2/org/apache/lenya/ac/ apidocs/1.2/org/apache/lenya/ac/cache/ apidocs/1.2/org/apache/lenya/ac/file/ apidocs/1.2/org/apache/lenya/ac/impl/ apidocs/1.2/org/apache/lenya/ac/ldap/ apidocs/1.2/org/apache/lenya/cms/ apidocs/1.2/org/apache/lenya/cms/ac/ apidocs/1.2/org/apache/lenya/cms/ac/cocoon/ apidocs/1.2/org/apache/lenya/cms/ac/usecase/ apidocs/1.2/org/apache/lenya/cms/ac/workflow/ apidocs/1.2/org/apache/lenya/cms/ant/ apidocs/1.2/org/apache/lenya/cms/authoring/ apidocs/1.2/org/apache/lenya/cms/cocoon/ apidocs/1.2/org/apache/lenya/cms/cocoon/acting/ apidocs/1.2/org/apache/lenya/cms/cocoon/bean/ apidocs/1.2/org/apache/lenya/cms/cocoon/components/ apidocs/1.2/org/apache/lenya/cms/cocoon/components/modules/ apidocs/1.2/org/apache/lenya/cms/cocoon/components/modules/input/ apidocs/1.2/org/apache/lenya/cms/cocoon/flow/ apidocs/1.2/org/apache/lenya/cms/cocoon/generation/ apidocs/1.2/org/apache/lenya/cms/cocoon/scheduler/ apidocs/1.2/org/apache/lenya/cms/cocoon/source/ apidocs/1.2/org/apache/lenya/cms/cocoon/task/ apidocs/1.2/org/apache/lenya/cms/cocoon/transformation/ apidocs/1.2/org/apache/lenya/cms/cocoon/uriparameterizer/ apidocs/1.2/org/apache/lenya/cms/cocoon/workflow/ apidocs/1.2/org/apache/lenya/cms/mail/ apidocs/1.2/org/apache/lenya/cms/publication/ apidocs/1.2/org/apache/lenya/cms/publication/file/ apidocs/1.2/org/apache/lenya/cms/publication/task/ apidocs/1.2/org/apache/lenya/cms/publication/util/ apidocs/1.2/org/apache/lenya/cms/publication/xsp/ apidocs/1.2/org/apache/lenya/cms/publishing/ apidocs/1.2/org/apache/lenya/cms/rc/ apidocs/1.2/org/apache/lenya/cms/scheduler/ apidocs/1.2/org/apache/lenya/cms/scheduler/xml/ apidocs/1.2/org/apache/lenya/cms/task/ apidocs/1.2/org/apache/lenya/cms/workflow/ apidocs/1.2/org/apache/lenya/defaultpub/ apidocs/1.2/org/apache/lenya/defaultpub/cms/ apidocs/1.2/org/apache/lenya/defaultpub/cms/task/ apidocs/1.2/org/apache/lenya/lucene/ apidocs/1.2/org/apache/lenya/lucene/html/ apidocs/1.2/org/apache/lenya/lucene/index/ apidocs/1.2/org/apache/lenya/lucene/parser/ apidocs/1.2/org/apache/lenya/net/ apidocs/1.2/org/apache/lenya/search/ apidocs/1.2/org/apache/lenya/search/crawler/ apidocs/1.2/org/apache/lenya/util/ apidocs/1.2/org/apache/lenya/workflow/ apidocs/1.2/org/apache/lenya/workflow/impl/ apidocs/1.2/org/apache/lenya/xml/ apidocs/1.2/org/apache/lenya/xml/parser/ apidocs/1.2/org/apache/lenya/xml/xpointer/ apidocs/1.2/resources/ apidocs/1.4/ apidocs/1.4/org/ apidocs/1.4/org/apache/ apidocs/1.4/org/apache/lenya/ apidocs/1.4/org/apache/lenya/ac/ apidocs/1.4/org/apache/lenya/ac/cache/ apidocs/1.4/org/apache/lenya/ac/file/ apidocs/1.4/org/apache/lenya/ac/impl/ apidocs/1.4/org/apache/lenya/ac/ldap/ apidocs/1.4/org/apache/lenya/cms/ apidocs/1.4/org/apache/lenya/cms/ac/ apidocs/1.4/org/apache/lenya/cms/ac/cocoon/ apidocs/1.4/org/apache/lenya/cms/ac/usecase/ apidocs/1.4/org/apache/lenya/cms/ac/usecases/ apidocs/1.4/org/apache/lenya/cms/ac/workflow/ apidocs/1.4/org/apache/lenya/cms/ant/ apidocs/1.4/org/apache/lenya/cms/authoring/ apidocs/1.4/org/apache/lenya/cms/cocoon/ apidocs/1.4/org/apache/lenya/cms/cocoon/acting/ apidocs/1.4/org/apache/lenya/cms/cocoon/bean/ apidocs/1.4/org/apache/lenya/cms/cocoon/components/ apidocs/1.4/org/apache/lenya/cms/cocoon/components/modules/ apidocs/1.4/org/apache/lenya/cms/cocoon/components/modules/input/ apidocs/1.4/org/apache/lenya/cms/cocoon/flow/ apidocs/1.4/org/apache/lenya/cms/cocoon/generation/ apidocs/1.4/org/apache/lenya/cms/cocoon/matching/ apidocs/1.4/org/apache/lenya/cms/cocoon/scheduler/ apidocs/1.4/org/apache/lenya/cms/cocoon/source/ apidocs/1.4/org/apache/lenya/cms/cocoon/task/ apidocs/1.4/org/apache/lenya/cms/cocoon/transformation/ apidocs/1.4/org/apache/lenya/cms/cocoon/uriparameterizer/ apidocs/1.4/org/apache/lenya/cms/cocoon/workflow/ apidocs/1.4/org/apache/lenya/cms/mail/ apidocs/1.4/org/apache/lenya/cms/metadata/ apidocs/1.4/org/apache/lenya/cms/metadata/dublincore/ apidocs/1.4/org/apache/lenya/cms/metadata/usecases/ apidocs/1.4/org/apache/lenya/cms/publication/ apidocs/1.4/org/apache/lenya/cms/publication/file/ apidocs/1.4/org/apache/lenya/cms/publication/task/ apidocs/1.4/org/apache/lenya/cms/publication/templating/ apidocs/1.4/org/apache/lenya/cms/publication/util/ apidocs/1.4/org/apache/lenya/cms/publishing/ apidocs/1.4/org/apache/lenya/cms/rc/ apidocs/1.4/org/apache/lenya/cms/scheduler/ apidocs/1.4/org/apache/lenya/cms/scheduler/xml/ apidocs/1.4/org/apache/lenya/cms/search/ apidocs/1.4/org/apache/lenya/cms/search/usecases/ apidocs/1.4/org/apache/lenya/cms/site/ apidocs/1.4/org/apache/lenya/cms/site/topicmap/ apidocs/1.4/org/apache/lenya/cms/site/tree/ apidocs/1.4/org/apache/lenya/cms/site/usecases/ apidocs/1.4/org/apache/lenya/cms/task/ apidocs/1.4/org/apache/lenya/cms/usecase/ apidocs/1.4/org/apache/lenya/cms/workflow/ apidocs/1.4/org/apache/lenya/cms/workflow/usecases/ apidocs/1.4/org/apache/lenya/defaultpub/ apidocs/1.4/org/apache/lenya/defaultpub/cms/ apidocs/1.4/org/apache/lenya/defaultpub/cms/task/ apidocs/1.4/org/apache/lenya/defaultpub/cms/usecases/ apidocs/1.4/org/apache/lenya/lucene/ apidocs/1.4/org/apache/lenya/lucene/html/ apidocs/1.4/org/apache/lenya/lucene/index/ apidocs/1.4/org/apache/lenya/lucene/parser/ apidocs/1.4/org/apache/lenya/net/ apidocs/1.4/org/apache/lenya/search/ apidocs/1.4/org/apache/lenya/search/crawler/ apidocs/1.4/org/apache/lenya/util/ apidocs/1.4/org/apache/lenya/workflow/ apidocs/1.4/org/apache/lenya/workflow/impl/ apidocs/1.4/org/apache/lenya/xml/ apidocs/1.4/org/apache/lenya/xml/parser/ apidocs/1.4/org/apache/lenya/xml/xpointer/ apidocs/1.4/resources/ community/ images/ images/live/ skin/ skin/css/ skin/images/ skin/scripts/

Added: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html (added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,786 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.4.2_03) on Tue Nov 23 16:00:04 EST 2004 -->
+<TITLE>
+DOMUtil (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.DOMUtil class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="DOMUtil (Apache Lenya API - Version 1.4-dev)";
+}
+</SCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMWriter.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DOMUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.lenya.xml</FONT>
+<BR>
+Class DOMUtil</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.DOMUtil</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>DOMUtil</B><DT>extends java.lang.Object</DL>
+
+<P>
+This class is a utility class for miscellaneous DOM functions, similar to
+ org.apache.cocoon.xml.dom.DOMUtil FIXME: Merge classes or extend functionality
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#DOMUtil()">DOMUtil</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ctor.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#addElement(org.w3c.dom.Document, java.lang.String, java.lang.String)">addElement</A></B>(org.w3c.dom.Document&nbsp;document,
+           java.lang.String&nbsp;xpath,
+           java.lang.String&nbsp;value)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#create(java.lang.String)">create</A></B>(java.lang.String&nbsp;xml)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.lang.String)"><CODE>DocumentHelper.readDocument(java.lang.String)</CODE></A> instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.Node</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#createNode(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">createNode</A></B>(org.w3c.dom.Document&nbsp;document,
+           <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;boolean</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#elementExists(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">elementExists</A></B>(org.w3c.dom.Element&nbsp;element,
+              <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getAllElements(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getAllElements</A></B>(org.w3c.dom.Document&nbsp;document,
+               <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getAllElementValues(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getAllElementValues</A></B>(org.w3c.dom.Document&nbsp;document,
+                    <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;get all elements values from |xpath|, xpath has to start with the root node</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getAttributeValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getAttributeValue</A></B>(org.w3c.dom.Element&nbsp;element,
+                  <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getElement(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getElement</A></B>(org.w3c.dom.Element&nbsp;element,
+           <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectSingleNode(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath)">getElementValue</A></B>(org.w3c.dom.Document&nbsp;document,
+                <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Element)">getElementValue</A></B>(org.w3c.dom.Element&nbsp;element)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#getElementValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)">getElementValue</A></B>(org.w3c.dom.Element&nbsp;element,
+                <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Main method, used to test the class.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#replaceText(org.w3c.dom.Element, java.lang.String)">replaceText</A></B>(org.w3c.dom.Element&nbsp;element,
+            java.lang.String&nbsp;text)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ This method removes all child nodes from an element and inserts a text node instead.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#select(org.w3c.dom.Document, java.lang.String)">select</A></B>(org.w3c.dom.Document&nbsp;document,
+       java.lang.String&nbsp;xpath)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setAttributeValue(org.w3c.dom.Document, java.lang.String, java.lang.String)">setAttributeValue</A></B>(org.w3c.dom.Document&nbsp;document,
+                  java.lang.String&nbsp;xpath,
+                  java.lang.String&nbsp;value)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setElementValue(org.w3c.dom.Document, java.lang.String, java.lang.String)">setElementValue</A></B>(org.w3c.dom.Document&nbsp;document,
+                java.lang.String&nbsp;xpath,
+                java.lang.String&nbsp;value)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>See replacement code.</I></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMUtil.html#setValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath, java.lang.String)">setValue</A></B>(org.w3c.dom.Document&nbsp;document,
+         <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath,
+         java.lang.String&nbsp;value)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ If the XPath expression denotes an element, the child nodes of this element are replaced by a single
+ text node.
+ If the XPath expression denotes an attribute, the attribute value is set.
+ Otherwise, an error is logged.
+ </TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DOMUtil()"><!-- --></A><H3>
+DOMUtil</H3>
+<PRE>
+public <B>DOMUtil</B>()</PRE>
+<DL>
+<DD>Ctor.
+<P>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
+<DL>
+<DD>Main method, used to test the class.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - The command line arguments.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="create(java.lang.String)"><!-- --></A><H3>
+create</H3>
+<PRE>
+public org.w3c.dom.Document <B>create</B>(java.lang.String&nbsp;xml)
+                            throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.lang.String)"><CODE>DocumentHelper.readDocument(java.lang.String)</CODE></A> instead.</I>
+<P>
+<DD>Creates a DOM document from a string.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>xml</CODE> - The string.
+<DT><B>Returns:</B><DD>A DOM document.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="select(org.w3c.dom.Document, java.lang.String)"><!-- --></A><H3>
+select</H3>
+<PRE>
+public org.w3c.dom.Element[] <B>select</B>(org.w3c.dom.Document&nbsp;document,
+                                    java.lang.String&nbsp;xpath)
+                             throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I>
+<P>
+<DD>Selects an array of elements using an XPath.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>xpath</CODE> - The XPath.
+<DT><B>Returns:</B><DD>An array of elements.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if the XPath does not return a <code>NodeList</code> consisting of elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="replaceText(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+replaceText</H3>
+<PRE>
+public void <B>replaceText</B>(org.w3c.dom.Element&nbsp;element,
+                        java.lang.String&nbsp;text)</PRE>
+<DL>
+<DD><p>
+ This method removes all child nodes from an element and inserts a text node instead.
+ </p>
+ <p>
+ Caution: Child elements are removed as well!
+ </p>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.<DD><CODE>text</CODE> - The string to insert as a text node.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Document&nbsp;document,
+                                        <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                                 throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+ The XPath is resolved against the document element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>xpath</CODE> - The XPath of the element to resolve.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Element&nbsp;element,
+                                        <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                                 throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use <A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)"><CODE>instead.</CODE></A></I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+ The XPath is resolved against a certain element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element to resolve the XPath against.<DD><CODE>xpath</CODE> - The XPath of the element to resolve.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="elementExists(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+elementExists</H3>
+<PRE>
+public boolean <B>elementExists</B>(org.w3c.dom.Element&nbsp;element,
+                             <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                      throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Check if elements exists This method just checks the root element! TODO: Implementation is
+ not really finished, or is it!
+ 
+ Replacement code:
+ 
+ <code>
+ Node node = XPathAPI.selectSingleNode(element, xPath);
+ if (node != null && node instanceof Element) {
+     exists = true;
+ }
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElement(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getElement</H3>
+<PRE>
+public org.w3c.dom.Element <B>getElement</B>(org.w3c.dom.Element&nbsp;element,
+                                      <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                               throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectSingleNode(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I>
+<P>
+<DD>Get element via XPath.
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllElements(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAllElements</H3>
+<PRE>
+public org.w3c.dom.Element[] <B>getAllElements</B>(org.w3c.dom.Document&nbsp;document,
+                                            <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                                     throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>Use
+             <CODE>XPathAPI.selectNodeList(org.w3c.dom.Node, java.lang.String)</CODE>
+             instead.</I>
+<P>
+<DD>get all elements with |xpath|, xpath has to start with the root node
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'Element[]'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAllElementValues(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAllElementValues</H3>
+<PRE>
+public java.lang.String[] <B>getAllElementValues</B>(org.w3c.dom.Document&nbsp;document,
+                                              <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                                       throws java.lang.Exception</PRE>
+<DL>
+<DD>get all elements values from |xpath|, xpath has to start with the root node
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'String[]'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getElementValue(org.w3c.dom.Element)"><!-- --></A><H3>
+getElementValue</H3>
+<PRE>
+public java.lang.String <B>getElementValue</B>(org.w3c.dom.Element&nbsp;element)
+                                 throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Returns the concatenation string of all text nodes which are children of an element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.
+<DT><B>Returns:</B><DD>A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.
+ 
+ Replacement code:
+ 
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ String value = DocumentHelper.getSimpleElementText(element, "...");
+ </code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getAttributeValue(org.w3c.dom.Element, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+getAttributeValue</H3>
+<PRE>
+public java.lang.String <B>getAttributeValue</B>(org.w3c.dom.Element&nbsp;element,
+                                          <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                                   throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Return the value of an attribte named e.g. "this/myelement/(at)myattribute"
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - a value of type 'Element'<DD><CODE>xpath</CODE> - a value of type 'XPath'
+<DT><B>Returns:</B><DD>a value of type 'String'
+ 
+ Replacement code:
+ 
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ String value = element.getAttribute("...");
+ </code>
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setElementValue(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+setElementValue</H3>
+<PRE>
+public void <B>setElementValue</B>(org.w3c.dom.Document&nbsp;document,
+                            java.lang.String&nbsp;xpath,
+                            java.lang.String&nbsp;value)
+                     throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Describe 'setElementValue' method here.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - a value of type 'Document'<DD><CODE>xpath</CODE> - a value of type 'String'<DD><CODE>value</CODE> - a value of type 'String'
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs
+ 
+ Replacement code:
+ 
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ DocumentHelper.setSimpleElementText(element, "...");
+ </code></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="addElement(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+addElement</H3>
+<PRE>
+public void <B>addElement</B>(org.w3c.dom.Document&nbsp;document,
+                       java.lang.String&nbsp;xpath,
+                       java.lang.String&nbsp;value)
+                throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+ 
+ <code>
+ Element parent = (Element) XPathAPI.selectSingleNode(document, xPath);
+ Element child = NamespaceHelper.createElement("...", "...");
+ parent.appendChild(child);
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setAttributeValue(org.w3c.dom.Document, java.lang.String, java.lang.String)"><!-- --></A><H3>
+setAttributeValue</H3>
+<PRE>
+public void <B>setAttributeValue</B>(org.w3c.dom.Document&nbsp;document,
+                              java.lang.String&nbsp;xpath,
+                              java.lang.String&nbsp;value)
+                       throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+ 
+ <code>
+ Element element = (Element) XPathAPI.selectSingleNode(document, xPath);
+ element.setAttribute("...", "...");
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setValue(org.w3c.dom.Document, org.apache.lenya.xml.XPath, java.lang.String)"><!-- --></A><H3>
+setValue</H3>
+<PRE>
+public void <B>setValue</B>(org.w3c.dom.Document&nbsp;document,
+                     <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath,
+                     java.lang.String&nbsp;value)
+              throws java.lang.Exception</PRE>
+<DL>
+<DD><ul>
+ <li>If the XPath expression denotes an element, the child nodes of this element are replaced by a single
+ text node.</li>
+ <li>If the XPath expression denotes an attribute, the attribute value is set.</li>
+ <li>Otherwise, an error is logged.</li>
+ </ul>
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document to resolve the XPath against.<DD><CODE>xpath</CODE> - The XPath.<DD><CODE>value</CODE> - A string.
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createNode(org.w3c.dom.Document, org.apache.lenya.xml.XPath)"><!-- --></A><H3>
+createNode</H3>
+<PRE>
+public org.w3c.dom.Node <B>createNode</B>(org.w3c.dom.Document&nbsp;document,
+                                   <A HREF="../../../../org/apache/lenya/xml/XPath.html" title="class in org.apache.lenya.xml">XPath</A>&nbsp;xpath)
+                            throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<I>See replacement code.</I>
+<P>
+<DD>Replacement code:
+ 
+ <code>
+ Element parent = XPathAPI.selectSingleNode(...);
+ Element child = document.createElementNS("http://...", "...");
+ parent.appendChild(child);
+ </code>
+<P>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE></DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMParserFactory.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMWriter.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DOMUtil.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMUtil.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html (added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,380 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.4.2_03) on Tue Nov 23 16:00:04 EST 2004 -->
+<TITLE>
+DOMWriter (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.DOMWriter class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="DOMWriter (Apache Lenya API - Version 1.4-dev)";
+}
+</SCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMUtil.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/NamespaceHelper.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DOMWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.lenya.xml</FONT>
+<BR>
+Class DOMWriter</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.DOMWriter</B>
+</PRE>
+<HR>
+<B>Deprecated.</B>&nbsp;<I>replaced by DocumentHelper</I>
+<P>
+<DL>
+<DT>public class <B>DOMWriter</B><DT>extends java.lang.Object</DL>
+
+<P>
+DOCUMENT ME!
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#DOMWriter(java.io.OutputStream)">DOMWriter</A></B>(java.io.OutputStream&nbsp;os)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates a new DOMWriter object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#DOMWriter(java.io.OutputStream, java.lang.String)">DOMWriter</A></B>(java.io.OutputStream&nbsp;os,
+          java.lang.String&nbsp;encoding)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates a new DOMWriter object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#DOMWriter(java.io.PrintWriter)">DOMWriter</A></B>(java.io.PrintWriter&nbsp;out)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates a new DOMWriter object.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#DOMWriter(java.io.PrintWriter, java.lang.String)">DOMWriter</A></B>(java.io.PrintWriter&nbsp;out,
+          java.lang.String&nbsp;encoding)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates a new DOMWriter object.</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#print(org.w3c.dom.Node)">print</A></B>(org.w3c.dom.Node&nbsp;node)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#printWithoutFormatting(org.w3c.dom.Node)">printWithoutFormatting</A></B>(org.w3c.dom.Node&nbsp;node)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;DOCUMENT ME!</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DOMWriter.html#replaceSpecialCharacters(java.lang.String)">replaceSpecialCharacters</A></B>(java.lang.String&nbsp;s)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;DOCUMENT ME!</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DOMWriter(java.io.PrintWriter)"><!-- --></A><H3>
+DOMWriter</H3>
+<PRE>
+public <B>DOMWriter</B>(java.io.PrintWriter&nbsp;out)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>Creates a new DOMWriter object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>out</CODE> - DOCUMENT ME!</DL>
+<HR>
+
+<A NAME="DOMWriter(java.io.PrintWriter, java.lang.String)"><!-- --></A><H3>
+DOMWriter</H3>
+<PRE>
+public <B>DOMWriter</B>(java.io.PrintWriter&nbsp;out,
+                 java.lang.String&nbsp;encoding)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>Creates a new DOMWriter object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>out</CODE> - DOCUMENT ME!<DD><CODE>encoding</CODE> - DOCUMENT ME!</DL>
+<HR>
+
+<A NAME="DOMWriter(java.io.OutputStream)"><!-- --></A><H3>
+DOMWriter</H3>
+<PRE>
+public <B>DOMWriter</B>(java.io.OutputStream&nbsp;os)
+          throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>Creates a new DOMWriter object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>os</CODE> - DOCUMENT ME!
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - DOCUMENT ME!</DL>
+<HR>
+
+<A NAME="DOMWriter(java.io.OutputStream, java.lang.String)"><!-- --></A><H3>
+DOMWriter</H3>
+<PRE>
+public <B>DOMWriter</B>(java.io.OutputStream&nbsp;os,
+                 java.lang.String&nbsp;encoding)
+          throws java.lang.Exception</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>Creates a new DOMWriter object.
+<P>
+<DT><B>Parameters:</B><DD><CODE>os</CODE> - DOCUMENT ME!<DD><CODE>encoding</CODE> - DOCUMENT ME!
+<DT><B>Throws:</B>
+<DD><CODE>java.lang.Exception</CODE> - DOCUMENT ME!</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="main(java.lang.String[])"><!-- --></A><H3>
+main</H3>
+<PRE>
+public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>args</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="print(org.w3c.dom.Node)"><!-- --></A><H3>
+print</H3>
+<PRE>
+public void <B>print</B>(org.w3c.dom.Node&nbsp;node)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>node</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="printWithoutFormatting(org.w3c.dom.Node)"><!-- --></A><H3>
+printWithoutFormatting</H3>
+<PRE>
+public void <B>printWithoutFormatting</B>(org.w3c.dom.Node&nbsp;node)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>node</CODE> - DOCUMENT ME!</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="replaceSpecialCharacters(java.lang.String)"><!-- --></A><H3>
+replaceSpecialCharacters</H3>
+<PRE>
+public java.lang.String <B>replaceSpecialCharacters</B>(java.lang.String&nbsp;s)</PRE>
+<DL>
+<DD><B>Deprecated.</B>&nbsp;<DD>DOCUMENT ME!
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>s</CODE> - DOCUMENT ME!
+<DT><B>Returns:</B><DD>DOCUMENT ME!</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/DOMUtil.html" title="class in org.apache.lenya.xml"><B>PREV CLASS</B></A>&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/NamespaceHelper.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DOMWriter.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DOMWriter.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html?rev=164448&view=auto
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html (added)
+++ lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html Sat Apr 23 22:30:06 2005
@@ -0,0 +1,837 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!--NewPage-->
+<HTML>
+<HEAD>
+<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:12 CET 2005 -->
+<TITLE>
+DocumentHelper (Apache Lenya API - Version 1.4-dev)
+</TITLE>
+
+<META NAME="keywords" CONTENT="org.apache.lenya.xml.DocumentHelper class">
+
+<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../javadoc.css" TITLE="Style">
+
+<SCRIPT type="text/javascript">
+function windowTitle()
+{
+    parent.document.title="DocumentHelper (Apache Lenya API - Version 1.4-dev)";
+}
+</SCRIPT>
+
+</HEAD>
+
+<BODY BGCOLOR="white" onload="windowTitle();">
+
+
+<!-- ========= START OF TOP NAVBAR ======= -->
+<A NAME="navbar_top"><!-- --></A>
+<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_top_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/NamespaceHelper.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DocumentHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_top"></A>
+<!-- ========= END OF TOP NAVBAR ========= -->
+
+<HR>
+<!-- ======== START OF CLASS DATA ======== -->
+<H2>
+<FONT SIZE="-1">
+org.apache.lenya.xml</FONT>
+<BR>
+Class DocumentHelper</H2>
+<PRE>
+java.lang.Object
+  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.xml.DocumentHelper</B>
+</PRE>
+<HR>
+<DL>
+<DT>public class <B>DocumentHelper</B><DT>extends java.lang.Object</DL>
+
+<P>
+Various utility methods to work with JAXP.
+<P>
+
+<P>
+<HR>
+
+<P>
+<!-- ======== NESTED CLASS SUMMARY ======== -->
+
+
+<!-- =========== FIELD SUMMARY =========== -->
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+
+<A NAME="constructor_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Constructor Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#DocumentHelper()">DocumentHelper</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
+</TR>
+</TABLE>
+&nbsp;
+<!-- ========== METHOD SUMMARY =========== -->
+
+<A NAME="method_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Method Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;javax.xml.parsers.DocumentBuilder</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#createBuilder()">createBuilder</A></B>()</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a non-validating and namespace-aware DocumentBuilder.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)">createDocument</A></B>(java.lang.String&nbsp;namespaceUri,
+               java.lang.String&nbsp;qualifiedName,
+               org.w3c.dom.DocumentType&nbsp;documentType)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a document. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>&nbsp;org.w3c.dom.DocumentType</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#createDocumentType(java.lang.String, java.lang.String, java.lang.String)">createDocumentType</A></B>(java.lang.String&nbsp;qualifiedName,
+                   java.lang.String&nbsp;publicId,
+                   java.lang.String&nbsp;systemId)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a document type.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getChildren(org.w3c.dom.Element)">getChildren</A></B>(org.w3c.dom.Element&nbsp;element)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all child elements of an element, regardless of the namespace.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getChildren(org.w3c.dom.Element, java.lang.String)">getChildren</A></B>(org.w3c.dom.Element&nbsp;element,
+            java.lang.String&nbsp;namespaceUri)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all child elements of an element that belong to a certain
+ namespace.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getChildren(org.w3c.dom.Element, java.lang.String, java.lang.String)">getChildren</A></B>(org.w3c.dom.Element&nbsp;element,
+            java.lang.String&nbsp;namespaceUri,
+            java.lang.String&nbsp;localName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all child elements of an element that belong to a certain
+ namespace and have a certain local name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getFirstChild(org.w3c.dom.Element, java.lang.String)">getFirstChild</A></B>(org.w3c.dom.Element&nbsp;element,
+              java.lang.String&nbsp;namespaceUri)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first child element of an element that belong to a certain
+ namespace or <code>null</code> if none exists.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getFirstChild(org.w3c.dom.Element, java.lang.String, java.lang.String)">getFirstChild</A></B>(org.w3c.dom.Element&nbsp;element,
+              java.lang.String&nbsp;namespaceUri,
+              java.lang.String&nbsp;localName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first child element of an element that belongs to a certain
+ namespace and has a certain local name or <code>null</code> if none
+ exists.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getNextSiblings(org.w3c.dom.Element, java.lang.String)">getNextSiblings</A></B>(org.w3c.dom.Element&nbsp;element,
+                java.lang.String&nbsp;namespaceUri)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all following sibling elements of an element that belong to a
+ certain namespace.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getNextSiblings(org.w3c.dom.Element, java.lang.String, java.lang.String)">getNextSiblings</A></B>(org.w3c.dom.Element&nbsp;element,
+                java.lang.String&nbsp;namespaceUri,
+                java.lang.String&nbsp;localName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all following sibling elements of an element that belong to a
+ certain namespace. and have a certain local name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getPrecedingSiblings(org.w3c.dom.Element, java.lang.String)">getPrecedingSiblings</A></B>(org.w3c.dom.Element&nbsp;element,
+                     java.lang.String&nbsp;namespaceUri)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all preceding sibling elements of an element that belong to a
+ certain namespace.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Element[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getPrecedingSiblings(org.w3c.dom.Element, java.lang.String, java.lang.String)">getPrecedingSiblings</A></B>(org.w3c.dom.Element&nbsp;element,
+                     java.lang.String&nbsp;namespaceUri,
+                     java.lang.String&nbsp;localName)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all preceding sibling elements of an element that belong to a
+ certain namespace. and have a certain local name.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getSimpleElementText(org.w3c.dom.Element)">getSimpleElementText</A></B>(org.w3c.dom.Element&nbsp;element)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text inside an element. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected static&nbsp;javax.xml.transform.Transformer</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#getTransformer(org.w3c.dom.DocumentType)">getTransformer</A></B>(org.w3c.dom.DocumentType&nbsp;documentType)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the tranformer.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.io.File)">readDocument</A></B>(java.io.File&nbsp;file)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a document from a file.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.io.InputStream)">readDocument</A></B>(java.io.InputStream&nbsp;stream)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a document from an input stream.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.lang.String)">readDocument</A></B>(java.lang.String&nbsp;string)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a document from a string.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.net.URI)">readDocument</A></B>(java.net.URI&nbsp;uri)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a document from a URI.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;org.w3c.dom.Document</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#readDocument(java.net.URL)">readDocument</A></B>(java.net.URL&nbsp;url)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a document from a URL.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#setSimpleElementText(org.w3c.dom.Element, java.lang.String)">setSimpleElementText</A></B>(org.w3c.dom.Element&nbsp;element,
+                     java.lang.String&nbsp;text)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces all child nodes of an element by a single text node.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#writeDocument(org.w3c.dom.Document, java.io.File)">writeDocument</A></B>(org.w3c.dom.Document&nbsp;document,
+              java.io.File&nbsp;file)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a document to a file. </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static&nbsp;void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../org/apache/lenya/xml/DocumentHelper.html#writeDocument(org.w3c.dom.Document, java.io.Writer)">writeDocument</A></B>(org.w3c.dom.Document&nbsp;document,
+              java.io.Writer&nbsp;writer)</CODE>
+
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a document to a writer.</TD>
+</TR>
+</TABLE>
+&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from class java.lang.Object</B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
+</TR>
+</TABLE>
+&nbsp;
+<P>
+
+<!-- ============ FIELD DETAIL =========== -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+
+<A NAME="constructor_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Constructor Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="DocumentHelper()"><!-- --></A><H3>
+DocumentHelper</H3>
+<PRE>
+public <B>DocumentHelper</B>()</PRE>
+<DL>
+</DL>
+
+<!-- ============ METHOD DETAIL ========== -->
+
+<A NAME="method_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Method Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="createBuilder()"><!-- --></A><H3>
+createBuilder</H3>
+<PRE>
+public static javax.xml.parsers.DocumentBuilder <B>createBuilder</B>()
+                                                       throws javax.xml.parsers.ParserConfigurationException</PRE>
+<DL>
+<DD>Creates a non-validating and namespace-aware DocumentBuilder.
+<P>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>A new DocumentBuilder object.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createDocument(java.lang.String, java.lang.String, org.w3c.dom.DocumentType)"><!-- --></A><H3>
+createDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>createDocument</B>(java.lang.String&nbsp;namespaceUri,
+                                                  java.lang.String&nbsp;qualifiedName,
+                                                  org.w3c.dom.DocumentType&nbsp;documentType)
+                                           throws org.w3c.dom.DOMException,
+                                                  javax.xml.parsers.ParserConfigurationException</PRE>
+<DL>
+<DD>Creates a document. A xmlns:prefix="namespaceUri" attribute is added to
+ the document element.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>namespaceUri</CODE> - The namespace URL of the root element.<DD><CODE>qualifiedName</CODE> - The qualified name of the root element.<DD><CODE>documentType</CODE> - The type of document to be created or null. When
+            doctype is not null, its Node.ownerDocument attribute is set
+            to the document being created.
+<DT><B>Returns:</B><DD>A new Document object.
+<DT><B>Throws:</B>
+<DD><CODE>org.w3c.dom.DOMException</CODE> - if an error occurs
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs<DT><B>See Also:</B><DD><CODE>DOMImplementation.createDocument(String, String,
+      DocumentType)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readDocument(java.io.File)"><!-- --></A><H3>
+readDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>readDocument</B>(java.io.File&nbsp;file)
+                                         throws javax.xml.parsers.ParserConfigurationException,
+                                                org.xml.sax.SAXException,
+                                                java.io.IOException</PRE>
+<DL>
+<DD>Reads a document from a file.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>file</CODE> - The file to load the document from.
+<DT><B>Returns:</B><DD>A document.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs
+<DD><CODE>org.xml.sax.SAXException</CODE> - if an error occurs
+<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readDocument(java.net.URL)"><!-- --></A><H3>
+readDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>readDocument</B>(java.net.URL&nbsp;url)
+                                         throws javax.xml.parsers.ParserConfigurationException,
+                                                org.xml.sax.SAXException,
+                                                java.io.IOException</PRE>
+<DL>
+<DD>Reads a document from a URL.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>url</CODE> - The URL to load the document from.
+<DT><B>Returns:</B><DD>A document.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs
+<DD><CODE>org.xml.sax.SAXException</CODE> - if an error occurs
+<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readDocument(java.net.URI)"><!-- --></A><H3>
+readDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>readDocument</B>(java.net.URI&nbsp;uri)
+                                         throws javax.xml.parsers.ParserConfigurationException,
+                                                org.xml.sax.SAXException,
+                                                java.io.IOException</PRE>
+<DL>
+<DD>Reads a document from a URI.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>uri</CODE> - The URI to load the document from.
+<DT><B>Returns:</B><DD>A document.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs
+<DD><CODE>org.xml.sax.SAXException</CODE> - if an error occurs
+<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readDocument(java.lang.String)"><!-- --></A><H3>
+readDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>readDocument</B>(java.lang.String&nbsp;string)
+                                         throws javax.xml.parsers.ParserConfigurationException,
+                                                org.xml.sax.SAXException,
+                                                java.io.IOException</PRE>
+<DL>
+<DD>Reads a document from a string.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>string</CODE> - The string to load the document from.
+<DT><B>Returns:</B><DD>A document.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs
+<DD><CODE>org.xml.sax.SAXException</CODE> - if an error occurs
+<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="readDocument(java.io.InputStream)"><!-- --></A><H3>
+readDocument</H3>
+<PRE>
+public static org.w3c.dom.Document <B>readDocument</B>(java.io.InputStream&nbsp;stream)
+                                         throws javax.xml.parsers.ParserConfigurationException,
+                                                org.xml.sax.SAXException,
+                                                java.io.IOException</PRE>
+<DL>
+<DD>Reads a document from an input stream.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>stream</CODE> - The input stream to load the document from.
+<DT><B>Returns:</B><DD>A document.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs
+<DD><CODE>org.xml.sax.SAXException</CODE> - if an error occurs
+<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="writeDocument(org.w3c.dom.Document, java.io.File)"><!-- --></A><H3>
+writeDocument</H3>
+<PRE>
+public static void <B>writeDocument</B>(org.w3c.dom.Document&nbsp;document,
+                                 java.io.File&nbsp;file)
+                          throws javax.xml.transform.TransformerConfigurationException,
+                                 javax.xml.transform.TransformerException,
+                                 java.io.IOException</PRE>
+<DL>
+<DD>Writes a document to a file. A new file is created if it does not exist.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document to save.<DD><CODE>file</CODE> - The file to save the document to.
+<DT><B>Throws:</B>
+<DD><CODE>java.io.IOException</CODE> - if an error occurs
+<DD><CODE>javax.xml.transform.TransformerConfigurationException</CODE> - if an error occurs
+<DD><CODE>javax.xml.transform.TransformerException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="writeDocument(org.w3c.dom.Document, java.io.Writer)"><!-- --></A><H3>
+writeDocument</H3>
+<PRE>
+public static void <B>writeDocument</B>(org.w3c.dom.Document&nbsp;document,
+                                 java.io.Writer&nbsp;writer)
+                          throws javax.xml.transform.TransformerConfigurationException,
+                                 javax.xml.transform.TransformerException</PRE>
+<DL>
+<DD>Writes a document to a writer.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document to write.<DD><CODE>writer</CODE> - The writer to write the document to.
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.transform.TransformerConfigurationException</CODE> - if an error occurs
+<DD><CODE>javax.xml.transform.TransformerException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getTransformer(org.w3c.dom.DocumentType)"><!-- --></A><H3>
+getTransformer</H3>
+<PRE>
+protected static javax.xml.transform.Transformer <B>getTransformer</B>(org.w3c.dom.DocumentType&nbsp;documentType)
+                                                         throws javax.xml.transform.TransformerConfigurationException</PRE>
+<DL>
+<DD>Get the tranformer.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>documentType</CODE> - the document type
+<DT><B>Returns:</B><DD>a transformer
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.transform.TransformerConfigurationException</CODE> - if an error occurs</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="createDocumentType(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
+createDocumentType</H3>
+<PRE>
+public org.w3c.dom.DocumentType <B>createDocumentType</B>(java.lang.String&nbsp;qualifiedName,
+                                                   java.lang.String&nbsp;publicId,
+                                                   java.lang.String&nbsp;systemId)
+                                            throws javax.xml.parsers.ParserConfigurationException</PRE>
+<DL>
+<DD>Creates a document type.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>qualifiedName</CODE> - The qualified name of the document type.<DD><CODE>publicId</CODE> - The public identifier.<DD><CODE>systemId</CODE> - The system identifier.
+<DT><B>Returns:</B><DD>the document type
+<DT><B>Throws:</B>
+<DD><CODE>javax.xml.parsers.ParserConfigurationException</CODE> - if an error occurs<DT><B>See Also:</B><DD><CODE>DOMImplementation.createDocumentType(java.lang.String,
+      java.lang.String, java.lang.String)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getFirstChild(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+getFirstChild</H3>
+<PRE>
+public static org.w3c.dom.Element <B>getFirstChild</B>(org.w3c.dom.Element&nbsp;element,
+                                                java.lang.String&nbsp;namespaceUri)</PRE>
+<DL>
+<DD>Returns the first child element of an element that belong to a certain
+ namespace or <code>null</code> if none exists.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.
+<DT><B>Returns:</B><DD>The first child element or <code>null</code> if none exists.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getFirstChild(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getFirstChild</H3>
+<PRE>
+public static org.w3c.dom.Element <B>getFirstChild</B>(org.w3c.dom.Element&nbsp;element,
+                                                java.lang.String&nbsp;namespaceUri,
+                                                java.lang.String&nbsp;localName)</PRE>
+<DL>
+<DD>Returns the first child element of an element that belongs to a certain
+ namespace and has a certain local name or <code>null</code> if none
+ exists.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.<DD><CODE>localName</CODE> - The local name of the children.
+<DT><B>Returns:</B><DD>The child element or <code>null</code> if none exists.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getChildren(org.w3c.dom.Element)"><!-- --></A><H3>
+getChildren</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getChildren</B>(org.w3c.dom.Element&nbsp;element)</PRE>
+<DL>
+<DD>Returns all child elements of an element, regardless of the namespace.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.
+<DT><B>Returns:</B><DD>The child elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getChildren(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+getChildren</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getChildren</B>(org.w3c.dom.Element&nbsp;element,
+                                                java.lang.String&nbsp;namespaceUri)</PRE>
+<DL>
+<DD>Returns all child elements of an element that belong to a certain
+ namespace.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.
+<DT><B>Returns:</B><DD>The child elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getChildren(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getChildren</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getChildren</B>(org.w3c.dom.Element&nbsp;element,
+                                                java.lang.String&nbsp;namespaceUri,
+                                                java.lang.String&nbsp;localName)</PRE>
+<DL>
+<DD>Returns all child elements of an element that belong to a certain
+ namespace and have a certain local name.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.<DD><CODE>localName</CODE> - The local name of the children.
+<DT><B>Returns:</B><DD>The child elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getSimpleElementText(org.w3c.dom.Element)"><!-- --></A><H3>
+getSimpleElementText</H3>
+<PRE>
+public static java.lang.String <B>getSimpleElementText</B>(org.w3c.dom.Element&nbsp;element)</PRE>
+<DL>
+<DD>Returns the text inside an element. Only the child text nodes of this
+ element are collected.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.
+<DT><B>Returns:</B><DD>The text inside the element.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="setSimpleElementText(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+setSimpleElementText</H3>
+<PRE>
+public static void <B>setSimpleElementText</B>(org.w3c.dom.Element&nbsp;element,
+                                        java.lang.String&nbsp;text)</PRE>
+<DL>
+<DD>Replaces all child nodes of an element by a single text node.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The element.<DD><CODE>text</CODE> - The text to insert.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNextSiblings(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+getNextSiblings</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getNextSiblings</B>(org.w3c.dom.Element&nbsp;element,
+                                                    java.lang.String&nbsp;namespaceUri)</PRE>
+<DL>
+<DD>Returns all following sibling elements of an element that belong to a
+ certain namespace.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.
+<DT><B>Returns:</B><DD>The following sibling elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getNextSiblings(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getNextSiblings</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getNextSiblings</B>(org.w3c.dom.Element&nbsp;element,
+                                                    java.lang.String&nbsp;namespaceUri,
+                                                    java.lang.String&nbsp;localName)</PRE>
+<DL>
+<DD>Returns all following sibling elements of an element that belong to a
+ certain namespace. and have a certain local name.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.<DD><CODE>localName</CODE> - The local name of the children.
+<DT><B>Returns:</B><DD>The following sibling elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPrecedingSiblings(org.w3c.dom.Element, java.lang.String)"><!-- --></A><H3>
+getPrecedingSiblings</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getPrecedingSiblings</B>(org.w3c.dom.Element&nbsp;element,
+                                                         java.lang.String&nbsp;namespaceUri)</PRE>
+<DL>
+<DD>Returns all preceding sibling elements of an element that belong to a
+ certain namespace.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.
+<DT><B>Returns:</B><DD>The preceding sibling elements.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getPrecedingSiblings(org.w3c.dom.Element, java.lang.String, java.lang.String)"><!-- --></A><H3>
+getPrecedingSiblings</H3>
+<PRE>
+public static org.w3c.dom.Element[] <B>getPrecedingSiblings</B>(org.w3c.dom.Element&nbsp;element,
+                                                         java.lang.String&nbsp;namespaceUri,
+                                                         java.lang.String&nbsp;localName)</PRE>
+<DL>
+<DD>Returns all preceding sibling elements of an element that belong to a
+ certain namespace. and have a certain local name.
+<P>
+<DD><DL>
+<DT><B>Parameters:</B><DD><CODE>element</CODE> - The parent element.<DD><CODE>namespaceUri</CODE> - The namespace that the childen must belong to.<DD><CODE>localName</CODE> - The local name of the children.
+<DT><B>Returns:</B><DD>The preceding sibling elements.</DL>
+</DD>
+</DL>
+<!-- ========= END OF CLASS DATA ========= -->
+<HR>
+
+
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<A NAME="navbar_bottom"><!-- --></A>
+<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
+<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
+<TR>
+<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
+<A NAME="navbar_bottom_firstrow"><!-- --></A>
+<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
+  <TR ALIGN="center" VALIGN="top">
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
+  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
+  </TR>
+</TABLE>
+</TD>
+<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
+</EM>
+</TD>
+</TR>
+
+<TR>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+&nbsp;PREV CLASS&nbsp;
+&nbsp;<A HREF="../../../../org/apache/lenya/xml/NamespaceHelper.html" title="class in org.apache.lenya.xml"><B>NEXT CLASS</B></A></FONT></TD>
+<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
+  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
+&nbsp;<A HREF="DocumentHelper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
+&nbsp;<SCRIPT type="text/javascript">
+  <!--
+  if(window==top) {
+    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
+  }
+  //-->
+</SCRIPT>
+<NOSCRIPT>
+  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
+</NOSCRIPT>
+
+</FONT></TD>
+</TR>
+<TR>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
+<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
+DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
+</TR>
+</TABLE>
+<A NAME="skip-navbar_bottom"></A>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+
+<HR>
+Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+</BODY>
+</HTML>

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: lenya/site/apidocs/1.4/org/apache/lenya/xml/DocumentHelper.html
------------------------------------------------------------------------------
    svn:mime-type = text/html



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org