cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10540] New: - [PATCH] Make CInclude support select="xpath" attribute
Date Mon, 08 Jul 2002 01:46:07 GMT
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


Mime
View raw message