Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: How hard is it to embed xml in an html page

From: "jalexa9898" <jalexa9898@---.--->
To: NULL
Date: 9/2/2006 3:01:00 PM

But if the flex is embedded in the xml wouldn't it read it then
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 &lt; and &amp; 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/
> >



transparent
Print
Mail
Like It
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