cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ali Mesbah <...@West.NL>
Subject Re: escaping xml tags
Date Fri, 04 Apr 2003 13:39:07 GMT
> As quoted from Lionel Crine <crine@4dconcept.fr>:
> > document returned is escaped -> What does that mean?
> 
 I would expect:
 
 <?xml version="1.0"?>
 <person xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="person.xsd"
    xmlns:src="http://xml.apache.org/xindice/Query"
    src:col="/db/person"
    src:key="632dd5400392cab7000000f4103a2d4f">
                          
  <name>Marc</name>
  <last_name>Jansen</last_name>
  <phone>07503816784</phone>
  <address>Laan 12</address>
  <date_of_birth>1970-01-21</date_of_birth>
 </person>

 but I get (this is what I call escaped):

 &lt;?xml version="1.0"?&gt;
 &lt;person xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="person.xsd"
    xmlns:src="http://xml.apache.org/xindice/Query"
    src:col="/db/person"
    src:key="632dd5400392cab7000000f4103a2d4f"&gt;
                          
  &lt;name&gt;Marc&lt;name&gt;
  &lt;last_name&gt;Jansen&lt;/last_name&gt;
  &lt;phone&gt;07503816784&lt;/phone&gt;
  &lt;address&gt;Laan 12&lt;/address&gt;
  &lt;date_of_birth&gt;1970-01-21&lt;/date_of_birth&gt;
 &lt;/persongt;
 
 
> > Lionel
> > 
> > 
> > At 13:53 04/04/2003 +0200, you wrote:
> > >I have an XSP which returns an XML document from the Xindice database.
> > >
> > >result = get the document from Xindice;
> > >
> > ><xsp:expr>result</xsp:expr>
> > >
> > >It goes all well except that the document returned is escaped so it is not
> > >actually XML anymore. Does anyone know how to tell XSP not to escape the 
> > >result?
> > >
> > >Thanks,
> > >Ali
> > >
> > >
> > >--
> > >-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > >For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > 
> 
> -- 
> -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 

-- 
-- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message