Update of /var/cvs/html/mmbase/components/core
In directory james.mmbase.org:/tmp/cvs-serv2315
Modified Files:
cite.jspx
Log Message:
also jspx can be shown as xml
See also: http://cvs.mmbase.org/viewcvs/html/mmbase/components/core
Index: cite.jspx
===================================================================
RCS file: /var/cvs/html/mmbase/components/core/cite.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- cite.jspx 4 Aug 2008 21:53:42 -0000 1.2
+++ cite.jspx 4 Aug 2008 21:56:09 -0000 1.3
@@ -11,7 +11,7 @@
<mm:may action="view_source">
<mm:import externid="page" required="true" />
- <mm:import externid="xml">${fn:endsWith(page, '.xml')}</mm:import>
+ <mm:import externid="xml">${fn:endsWith(page, '.xml') or fn:endsWith(page,
'.jspx')}</mm:import>
<c:choose>
<c:when test="${xml eq true}">
<mm:formatter xslt="xslt/xmlverbatim.xsl" escape="none">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs