problem updating data with an xquery

I have problem updating data with an xquery .
update replace input()/Peticiones[/Correo_Electronico=“mirizarry@gmail.com”]/status with no

I will like to now if I have syntax error.

Thanks

Scheme

<?xml version = "1.0" encoding = "UTF-8"?>

<xs:schema xmlns:tsd = “http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition” xmlns:xs = “XML Schema”>
xs:annotation
xs:appinfo
<tsd:schemaInfo name = “Peticion_de_informacion”>
<tsd:collection name = “WebSite”></tsd:collection>
<tsd:doctype name = “Peticiones”>
tsd:logical
tsd:contentclosed</tsd:content>
</tsd:logical>
</tsd:doctype>
tsd:adminInfo
tsd:server4.1.4.1</tsd:server>
tsd:modified2005-03-14T08:25:34.875-04:00</tsd:modified>
tsd:created2005-03-14T08:25:34.875-04:00</tsd:created>
tsd:versionTSD4</tsd:version>
</tsd:adminInfo>
</tsd:schemaInfo>
</xs:appinfo>
</xs:annotation>
<xs:element name = “Peticiones”>
xs:complexType
xs:sequence
<xs:element name = “Nombres” type = “xs:string”></xs:element>
<xs:element name = “Correo_Electronico” type = “xs:string” minOccurs = “0”></xs:element>
<xs:element name = “Telefono” type = “xs:string”></xs:element>
<xs:element name = "Empresa_o_Compa

Hi,
The Correo_Electronico node is not the root node of the returned document, it is a child of the root, so to address it you do not need the leading slash in your XPath expression. Try this instead:

update replace input()/Peticiones[Correo_Electronico="mirizarry@gmail.com"]/status with <status>no</status>