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? 8 2436
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/
What if your programming in flex
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/
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 <preelement 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/
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 < and & you can just use the <preelement 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/
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 <preelement 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/
Ok I will do my best to explain it here. Ok I have recently started to
program in a new language that has recently become popular called Flex.
It is made by the Adobe people. Now I know this is an xml newsgroup and
not a Flex newsgroup but I am just explaining it to clear things up.
Well one of the things Flex does is when you write a flex page it seems
to use xml. Apparantly the code is embedded in some xml. I guess I was
wondering if it would be difficult to put the code in to a webpage that
is on a server.
If this does not clear things up please say so.
Peter Flynn wrote:
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 <preelement 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/
jalexa9898 wrote:
Well one of the things Flex does is when you write a flex page it seems
to use xml. Apparantly the code is embedded in some xml. I guess I was
wondering if it would be difficult to put the code in to a webpage that
is on a server.
I think that sounds like a question about how/whether Flex is processed,
rather than about how HTML or XML are processed. I'd suggest asking the
Flex community. http://www.adobe.com/devnet/flex
(I know almost nothing about Flex, and don't have time to research it
right now, so that's about as much help as I can give you.)
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
jalexa9898 wrote:
Ok I will do my best to explain it here. Ok I have recently started to
program in a new language that has recently become popular called Flex.
It is made by the Adobe people. Now I know this is an xml newsgroup and
not a Flex newsgroup but I am just explaining it to clear things up.
Well one of the things Flex does is when you write a flex page
A flex "page"? I thought flex was a programming language.
Do you mean you are using flex to output a HTML web page,
or has flex got some hidden magic inside it that creates web pages
without being asked to?
it seems to use xml.
Quite possibly. This would be a sensible choice.
Apparantly the code is embedded in some xml.
Yes, but *what* code? Flex code? HTML code? Something else you haven't
told us about? Can you give us a short example?
I guess I was
wondering if it would be difficult to put the code
*What* code? Your original flex code? Or something that flex has created?
in to a webpage that is on a server.
But if it's already creating web pages, you should be able to put
them on a server as they are. If not, why not?
///Peter This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Stefan van Roosmalen |
last post by:
Hi there,
The first page of my Internet website must be INDEX.HTM.
But, if I want to embed some PHP code in this page, I must rename it to
INDEX.PHP.
Easy, but not simple, because INDEX.PHP...
|
by: François de Dardel |
last post by:
Please don't scream that EMBED is evil !
What I am doing is
<EMBED SRC="BWV659.mid" AUTOSTART="false" LOOP="TRUE"
CONTROLS="SMALLCONSOLE" WIDTH="50" HEIGHT="15" TITLE="BWV 659">
Note the...
|
by: Cris Curtis |
last post by:
When I use an embed tag that uses a dynamic aspx page, the dynamic aspx page
appears to get called 2 times instead.
Below is code that adds an embed tag to a placeholder control that will use...
|
by: forumnewbie2006 |
last post by:
Hello,
How would you recommend embedding an html file in an ASP.NET 2.0 page?
Essentially, I'm looking for the simplest & most light weight way to
embed the content of an html file (from the...
|
by: Manuel |
last post by:
Is it possible to embed an image, like a company logo in a CDOSYS generated
message?
If yes, I´ll apreciate some code sample. I´ve been able to format messages
in html the way I like, but I...
| |
by: Andrew Poulos |
last post by:
With "normal" SWF HTML there's an EMBED tag nested within an OBJECT tag.
How can I check which tag is actually displaying the SWF? I'm using CSS
on them and the style on the OBJECT affects the...
|
by: abrtlt |
last post by:
I would like to have a web page in which, when the user clicks on any
of several specific elements, a specific audio file is played, without
reloading the page.
The specific audio file name is...
|
by: elbin |
last post by:
Hello,
first to say that I am a total beginner in Javascript but I know some programming (python in particular) and am able to understand methods/parameters and so on.
Here's my problem:
I am...
|
by: dream party |
last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |