XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Cody McCullochSubject: XML in firefox
Author: Cody McCulloch
Date: 27 Jan 2005 01:29 PM
Hi, Im having some problems getting XML to display in Mozilla. For some reason I'll get it to display fine in IE but will not come through in mozilla. I'm also having problems linking the XML file remotely (on a different web server). Anyway, thanks for any help... Here's my XML document and below is my HTML.

[CODE]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE newsbox [
<!ELEMENT newsbox (news+)>
<!ELEMENT news (title,content,username,country,date)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT content (#PCDATA)>
<!ELEMENT username (#PCDATA)>
<!ELEMENT country (#PCDATA)>
<!ELEMENT date (#PCDATA)>
<!ATTLIST news id CDATA #REQUIRED>
]>
<newsbox>
<news id="12">
<title>sdfgsdfg</title>
<content>sdfgsdfgsd</content>
<username/>
<country/>
<date>2005-01-19 15:37:36</date>
</news>
<news id="14">
<title>asdfasdf</title>
<content>asdfasdfasdf</content>
<username/>
<country/>
<date>2005-01-19 15:40:04</date>
</news>
<news id="13">
<title>test</title>
<content>test</content>
<username/>
<country/>
<date>2005-01-19 15:39:28</date>
</news>
<news id="15">
<title>test</title>
<content>test</content>
<username/>
<country/>
<date>1106170888</date>
</news>
</newsbox>
[/CODE]

HTML:[CODE]
<xml id="newsData" src="testing.xml"></xml> <!-- calls for external XML file -->
<table border="0" datasrc="#newsData">

<tr>
<td><span datasrc="#newsData" datafld="TITLE">&nbsp;</span></td>
<td><span datasrc="#newsData" datafld="CONTENT">&nbsp;</span></td>
</tr>

</table>[/CODE]

*EDIT* I would also like to point out that when going to the w3c "try it yourself" XML section I cannot get them to work in firefox either, thx for any help, again.

Postnext
Ivan PedruzziSubject: XML in firefox
Author: Ivan Pedruzzi
Date: 28 Jan 2005 04:47 PM
>Hi, Im having some problems
>getting XML to display in
>Mozilla. For some reason I'll
>get it to display fine in IE
>but will not come through in
>mozilla. I'm also having
>problems linking the XML file
>remotely (on a different web
>server). Anyway, thanks for
>any help... Here's my XML
>document and below is my HTML.


As far as i know XML data islands are not supported on Mozilla.
Look here for a possible work around

http://www.mozilla.org/xmlextras/xmldataislands/

At the bottom of the page there is an example that show how
to build a table using a XML fragment


>*EDIT* I would also like to
>point out that when going to
>the w3c "try it yourself" XML
>section I cannot get them to
>work in firefox either, thx
>for any help, again.

Could you please indicate the excat URL are you refferring to?

Ivan

Posttop
Cody McCullochSubject: XML in firefox
Author: Cody McCulloch
Date: 31 Jan 2005 02:08 PM
Originally Posted: 31 Jan 2005 01:31 PM
Ok, I have the XSL set up how I want it and now I just want to know how to include it into a HTML file. Thx for any help, this is my first XML experience :S

   
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.