Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How hard is it to embed xml in an html page >Thread Next - Re: How hard is it to embed xml in an html page Re: How hard is it to embed xml in an html pageTo: NULL Date: 9/2/2006 11:57:00 PM jalexa9898 wrote: > But if the flex is embedded in the xml wouldn't it read it then Wouldn't what read what? Can you be a bit more specific about what you want to do, then maybe we can help you. ///Peter > Peter Flynn wrote: >> jalexa9898 wrote: >>> What if your programming in flex >> Code is just code. The language is not significant. Provided you escape >> < and & as < and & you can just use the <pre> element to hold >> the code for display. >> >> If you want the XML to be *interpreted* by the browser as XML, that's >> an entirely different question, which Martin has already answered. But >> in that case it's XML, not Flex. Browsers won't do anything with flex >> code (except ignore it). >> >> ///Peter >> -- >> XML FAQ: http://xml.silmaril.ie/ >> >>> Martin Honnen wrote: >>>> jalexa9898 wrote: >>>> >>>>> I am asking because I wrote some flex that was put in xml and I want to >>>>> embed it in some html is this hard to do? >>>> HTML 4 has iframe and object to embed other documents. Whether it makes >>>> any sense to embed your XML with an iframe or object I don't know, some >>>> browsers (like IE/Win or Mozilla) will try to pretty print the XML tree >>>> with an XSL stylesheet if the XML document does not link to a stylesheet >>>> or, in the case of Mozilla, the document does not contain any elements >>>> in namespaces the browser recognizes (e.g. XHTML , SVG). Other browsers >>>> might simply render any text content in XML elements. So generally if >>>> you have XML then it is better to transform it on the server into >>>> something more suitable for web browsers. >>>> >>>> >>>> -- >>>> >>>> Martin Honnen >>>> http://JavaScript.FAQTs.com/ > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
