Skip to main content
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpelder2008-04-28 12:45:59 -0400
committerpelder2008-04-28 12:45:59 -0400
commit97436e12c0cee60287ed4dabf3579c1fa02cc92d (patch)
treedf1893398d848c523df431745f4d7f6ddf73a612 /doc
parent64b4b26c9f208c503b361083c85288794ce4ba1f (diff)
downloadorg.eclipse.jet-97436e12c0cee60287ed4dabf3579c1fa02cc92d.tar.gz
org.eclipse.jet-97436e12c0cee60287ed4dabf3579c1fa02cc92d.tar.xz
org.eclipse.jet-97436e12c0cee60287ed4dabf3579c1fa02cc92d.zip
[229094] Create JET tag that invokes an XPath function on the tags contents
Diffstat (limited to 'doc')
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html7
-rw-r--r--doc/org.eclipse.jet.doc/references/taglibs/formatTags/xpathTag.html74
-rw-r--r--doc/org.eclipse.jet.doc/tocformatTags.xml1
3 files changed, 82 insertions, 0 deletions
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
index 986a5f3..0103933 100644
--- a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/overview.html
@@ -80,6 +80,13 @@
<!-- End uuid description -->
</TD>
</TR>
+ <TR>
+ <TD width="10%"><A href="xpathTag.html">&lt;f:xpath&gt;</A></TD>
+ <TD><!-- Begin xpath description -->
+ <P> Evaluate the specified XPath function on the tag content and write the result in place of the tag content
+ <!-- End xpath description -->
+ </TD>
+ </TR>
</TBODY>
</TABLE>
<HR>
diff --git a/doc/org.eclipse.jet.doc/references/taglibs/formatTags/xpathTag.html b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/xpathTag.html
new file mode 100644
index 0000000..1d569b5
--- /dev/null
+++ b/doc/org.eclipse.jet.doc/references/taglibs/formatTags/xpathTag.html
@@ -0,0 +1,74 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<HTML>
+<HEAD>
+<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<META name="GENERATOR" content="IBM Software Development Platform">
+<link rel="STYLESHEET" href="../../../book.css" charset="ISO-8859-1" type="text/css"/>
+<TITLE>&lt;f:xpath&gt; - Standard JET2 Format Tags</TITLE>
+</HEAD>
+<BODY>
+<TABLE border="0" cellpadding="0" cellspacing="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH align="left">
+ <P>&lt;f:xpath&gt;</P></TH>
+ <TH align="right"><A href="overview.html">Standard JET2 Format Tags</A></TH>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<P><B>xpath</B></P>
+<P><P> Evaluate the specified XPath function on the tag content and write the result in place of the tag content. The tag content is referenced by the variable $bodyContent.<P> </P>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Tag Summary</TH></TR>
+ <TR>
+ <TD width="10%">required</TD>
+ <TD><SPAN style="font-family: monospace">
+ &lt;f:xpath select=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &lt;/f:xpath&gt;
+ </SPAN></TD>
+ </TR>
+ <TR>
+ <TD width="10%">full tag</TD>
+ <TD><SPAN style="font-family: monospace">
+ &lt;f:xpath select=&quot;<I>value</I>&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;<I>content consumed by tag evaluation</I><BR>
+ &lt;/f:xpath&gt;
+ </SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Required Attributes</TH></TR>
+ <TR>
+ <TD width="10%">select</TD>
+ <TD><BR> The XPath expression to evaluate. The result is automatically converted to a a string. The tags content is refered to by the variable $bodyContent.<BR> </TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<HR>
+<TABLE border="1" width="100%">
+ <TBODY>
+ <TR>
+ <TH colspan="2" align="left">Example</TH></TR>
+ <TR>
+ <TD width="10%"></TD>
+ <TD><SPAN style="font-family: monospace">
+<!-- Begin xpath example -->
+ &lt;f:xpath select=&quot;normalize-space($bodyContent)&quot;&gt;<br>
+ &nbsp;&nbsp;&nbsp;&nbsp;My content with <BR> lots of whitespace</I><BR>
+ &lt;/f:xpath&gt;<BR>
+<!-- End xpath example -->
+</SPAN></TD>
+ </TR>
+ </TBODY>
+</TABLE>
+<P></P></BODY>
+</HTML>
diff --git a/doc/org.eclipse.jet.doc/tocformatTags.xml b/doc/org.eclipse.jet.doc/tocformatTags.xml
index 0e70708..9ce4fb9 100644
--- a/doc/org.eclipse.jet.doc/tocformatTags.xml
+++ b/doc/org.eclipse.jet.doc/tocformatTags.xml
@@ -11,5 +11,6 @@
<topic label="f:uc" href="references/taglibs/formatTags/ucTag.html"/>
<topic label="f:unique" href="references/taglibs/formatTags/uniqueTag.html"/>
<topic label="f:uuid" href="references/taglibs/formatTags/uuidTag.html"/>
+ <topic label="f:xpath" href="references/taglibs/formatTags/xpathTag.html"/>
</topic>
</toc>

Back to the top