Ahh. It was a technique for embedding XML islands within ASP pages and
having script on the client side process the XML. It basically had the
server putting XML into a span, and then the script on the client side
reading that XMl and using it to display dynamic content.
--------------------
Reply-To: "Scott Meddows" <sc******************@tsged-removeme.com>
From: "Scott Meddows" <sc******************@tsged-removeme.com>
References: <#s**************@TK2MSFTNGP15.phx.gbl>
<uF**************@cpmsftngxa10.phx.gbl>
<#w**************@TK2MSFTNGP15.phx.gbl>
<b5**************@cpmsftngxa10.phx.gbl>
Subject: Re: XML as parameter to a method
Date: Fri, 3 Dec 2004 11:11:34 -0600
Lines: 98
Organization: The Schumacher Group
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#X**************@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: laf3662-nat2.tsged.com 209.215.85.43
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7801
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
I just don't know what a Data Island is :)
"Dan Rogers" <da***@microsoft.com> wrote in message
news:b5**************@cpmsftngxa10.phx.gbl...
Hi Scott,
I only mention this kind of approach because it seems that your
requirements much more closely fit, from what little I know, a traditional
ASP page approach (or plain old HTTP).
Does this make sense?
Dan
--------------------
Reply-To: "Scott Meddows" <sc******************@tsged-removeme.com>
From: "Scott Meddows" <sc******************@tsged-removeme.com>
References: <#s**************@TK2MSFTNGP15.phx.gbl>
<uF**************@cpmsftngxa10.phx.gbl>
Subject: Re: XML as parameter to a method
Date: Thu, 2 Dec 2004 12:00:22 -0600
Lines: 53
Organization: The Schumacher Group
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#w**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: laf3662-nat2.tsged.com 209.215.85.43
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP15 phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7752
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
XML Data Island?!?!?!?!?
"Dan Rogers" <da***@microsoft.com> wrote in message
news:uF**************@cpmsftngxa10.phx.gbl... One way to do this is to define the parameter as an encoded string. This
isn't optimal since the entire document will be byte encoded on the wire
to get around the angle brackets, etc. This equates to a CDATA region in an
XML schema. Not pretty, not recommended. If you really need to be able
to post an XML document, you might want to just handle the XML directly from
an HTTP filter or an XML data island within a web page.
I hope this helps
Dan Rogers
Microsoft Corporation
--------------------
From: "Tushar" <xx*************@CODA.com>
Subject: XML as parameter to a method
Date: Fri, 26 Nov 2004 17:04:49 -0000
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <#s**************@TK2MSFTNGP15.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.webservices
NNTP-Posting-Host: 213.146.159.254
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP15
phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.webservices:7654
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices
Is it possible to have a method that accepts XML document (including
processing instruction at top and the root node) as a parameter? Does
this parameter need to be defined as type string?
I have been given an XML structure to be used in a method call and I am
not sure if I should convert that into a C# struct to be used as a parameter
type and if so how. The specification says something like ... The input
will be an XML such as ...
<?xml ... ?>
<root>
<etc etc />
</root>
Please help.