Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > How can i say to the browser "He guy, my flow is XML" ?

Reply
Thread Tools

How can i say to the browser "He guy, my flow is XML" ?

 
 
ouioui2000
Guest
Posts: n/a
 
      09-13-2005
Hi,

I try to generate xml flow with javascript in a new windows.
Here is my javascritp code :
<code>
fenetrePopUp =
window.open('','_blank','width=500,height=300,scro llbars=yes,status=yes,resizable=yes');
fenetrePopUp.document.open("application/xml+xsl");
fenetrePopUp.document.write(myCodeXML);
</code>

Here is the content of myCodeXML variable :
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="surface.xsl"?>
<STUCTURE id=155 >
</STUCTURE>

The browser (IE) window don't print anything ! He don't reconize my xml
format.
How can i say to the browser "He guy, my flow is XML" ?

 
Reply With Quote
 
 
 
 
J??rgen Kahrs
Guest
Posts: n/a
 
      09-13-2005
ouioui2000 wrote:

> Here is the content of myCodeXML variable :
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <?xml-stylesheet type="text/xsl" href="surface.xsl"?>
> <STUCTURE id=155 >
> </STUCTURE>


The data above is not well-formed.
Use " around the value 155 of the attribute.


> The browser (IE) window don't print anything ! He don't reconize my xml
> format.


Use offline tools like xmllint.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
You Say “Fragmentation”, I Say “Differentiation” Lawrence D'Oliveiro NZ Computing 2 10-06-2010 04:44 AM
Query:difference between node flow and filter flow in java's I/O,system? Jack Dowson Java 0 05-07-2007 03:35 PM
You say SIM, I say SEM Anon Computer Security 1 03-18-2006 01:49 PM
Let browser say "done" immediately after parent finish and do not wait child. Zhidian Du Perl Misc 2 02-21-2004 05:41 PM
I can not get on the internet after signing on. It say can not so you this page. Lawayne DeForest Computer Support 2 02-11-2004 10:01 PM



Advertisments