Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: DOM, XML and XFDF

From: "Anthony Jones" <Ant@------------.--->
To: 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







transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent