![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - DOM, XML and XFDF >Thread Next - Re: DOM, XML and XFDF Re: DOM, XML and XFDFTo: NULL Date: 2/1/2007 6:32:00 PM
"edforum" <ed.forums@c...> wrote in message
news:1170353651.546503.61860@v......
> Hi,
>
> I've got a file named "myData.xfdf".
>
> I open it with the following statements :
> Set oDocument = Server.CreateObject("MSXML2.DOMDocument.4.0")
> oDocument.load ("myData.xfdf")
>
> Dynamically, I add the node <field name="mytag"><value>my data</
> value></field>
> between <fields></fields> tags
>
> I transform the tree in a string like that :
>
> sData = oDocument.xml
>
> And i display it like that
>
> response.contenttype = "text/plain"
> response.write sData
>
> it' s OK ( i can see the xml tree )
>
> But, if i write that :
>
> response.contenttype = "application/vnd.fdf"
> response.write sData
Try:
response.contenttype = "application/vnd.fdf"
oDocument.save Response
Ditch the sData variable altogether.
>
> I cannot open acrobat reader, and load pdf file and data.
>
>
> Have you already got this problem and have you got a solution ?
>
> Thanks for helping me ?
>
> ED
>
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
