Hi, all:

I am tring to use cinclude to include some xml frags in main page and I want
to pass some
parameter to that frag. I was learned that I could use cinclude in following
format

<cinclude:includexml xmlns:cinclude="http://apache.org/cocoon/include/1.0";>
  <src>XMLURI</src>
  <cinclude:parameters>
    <cinclude:parameter>
      <cinclude:name>paraone</cinclude:name>
      <cinclude:value>ValueforParaOne</include:value>
    </cinclude:parameter>
    .............................
  </cinclude:parameters>
</cinclude:includexml>

When I added this code frag into xsp for main page, the included XML could
not be called. My
xsp page simple treated thoese tag as normal xml tag instead of the
attributes for "cinclude"
transformer.

But if I use a normal cinlude format like
        <cinclude:include src="XMLURI?paraone=ValueforParaOne" />
Then, the included XML can be called without problem.

I am using Cocoon 2.0

Can anybody help me to figure out the reason for this problem? Many thanks
in adance for
the nice help.

Jack


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to