You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2002/07/08 03:46:07 UTC
DO NOT REPLY [Bug 10540] New: -
[PATCH] Make CInclude support select="xpath" attribute
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10540>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10540
[PATCH] Make CInclude support select="xpath" attribute
Summary: [PATCH] Make CInclude support select="xpath" attribute
Product: Cocoon 2
Version: Current CVS
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: acoliver@apache.org
this makes the CInclude transformer straighten up and fly right by me ;-). The
XInclude tranformer seems to prefer files to well...everything. The CInclude
transformer doesn't let you use XPointers. The XPointer syntax on the href= is
yucky and smells of cheese (SoC in your tag eh? ;-) ). This makes CInclude
support an attribute called select which takes the same syntax as the
#XPointer(blabla) only by itself and minus the #XPointer( and ). So for instance:
<cinclude:include
src="cocoon:/categories_combo.xml" select="xformcategories/*"
parse="xml"/>
would include everything in the xformcategories node but not the xformcategories
node (thank god!).
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org