Apache

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • CIncludes & namespaces

    0 answers - 1837 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I've got the same problem, no idea at the moment
    Phil
    Victoria Vitaver wrote:
    Hi,
    I have a problem with cinclude leaving namespaces where there shouldn't be
    any. In a nutshell, I need to send some XML in a Post request, and grab a
    response(also XML). Using cinclude, I'm doing:
    <?xml version="1.0"?>
    <data>
    <cinclude:includexml
    xmlns:cinclude="" ignoreErrors="false">
    <cinclude:src></cinclude:src
    <cinclude:configuration>
    <cinclude:parameter>
    <cinclude:name>method</cinclude:name>
    <cinclude:value>PST</cinclude:value>
    </cinclude:parameter>
    </cinclude:configuration>
    <cinclude:parameters>
    <cinclude:parameter>
    <cinclude:name>xmlRequest</cinclude:name>
    <cinclude:value><CalypsoRequest><Request><Blah/></Request></CalypsoRequest><
    /cinclude:value>
    </cinclude:parameter>
    </cinclude:parameters>
    </cinclude:includexml>
    </data>
    The problem I have is that this cinclude results to "<CalypsoRequest
    xmlns:cinclude="">
    <Request><Blah/></Request></CalypsoRequest>" being sent to the server
    ()
    The server is fairly inflexible, and it does not like me sending extra
    attributes(or namespaces defs which dont belong), and tells me so :(.
    Does anyone know how I could go about removing this useless and in this
    situation harmfull namespace? Is there perhaps another method of doing what
    I am trying to do in cocoon 2.1.9? Please note, the usual method of puting
    an xslt to strip namespaces wont work here, because I need to strip the
    namespace before it gets to the server.
    Thanks,
    Vica

Re: CIncludes & namespaces


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Apache"

EMSDN.COM