![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: DOM, XML and XFDF [Thread Next] Re: DOM, XML and XFDFTo: NULL Date: 2/2/2007 2:23:00 PM
"edforum" <ed.forums@c...> wrote in message
news:1170418528.754365.136630@p......
> >
> > Try:
> >
> > response.contenttype = "application/vnd.fdf"
> > oDocument.save Response
> >
> > Ditch the sData variable altogether.
> >
> >
>
> Thanks.
> I'm going to try this.
>
> I would like to use sData ( string data type ) to store that tree (as
> a string ).
>
>
> Have you got a solution ?
Where are you going to put it after the response is complete?
In the application object?
This may be what you need but it would be better if you indicated why you
want to store the string:-
Set oDocument = Server.CreateObject("MSXML2.DOMDocument.4.0")
Dim sXML : sXML = Application("myData")
If IsEmpty(sXML) Then
oDocument.load "myData.xfdf"
Application("myData") = oDocument.xml
Else
oDocument.loadXML sXML
End If
' code to modify
response.contenttype = "application/vnd.fdf"
oDocument.save Response
Can each call to this ASP page result in different XML being generated?
Does it vary only per session (I.e. a session will always get the same
data)?
BTW, Install MSXML6 and switch to using version 6 Prog IDs
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
