O
O
Oxoron2015-09-25 10:18:40
.NET
Oxoron, 2015-09-25 10:18:40

How to do partial XML serialization?

Good afternoon.
I communicate with one Web service, POST requests. XML strings are passed in the request and response. The serializer is set up and almost everything is fine.
The only problem is the format. All requests are framed with a tag <Request>, all responses with a tag <Reply>. For example,

<Request>
    <GetAgentInfo>
        ...
    </GetAgentInfo>
</Request>

Is it possible somehow to (de)serialize only the inner element?
Other than adding/removing substrings <Request>, </Request>nothing comes to mind.
PS I will use the preview before posting the question.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question