homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / XML Development
Forum Library, Charter, Moderators: httpwebwitch

XML Development Forum

XML + XSL embedded into HTML
Not sure if this belongs here. Insert styled xml into html page

5+ Year Member

Msg#: 3761923 posted 10:29 am on Oct 9, 2008 (gmt 0)


im outputting .xml files from my Oracle 10g database and using a xsl stylesheet im turning the raw XML content into something useful.

what i need to do is IMPORT the styled XML data into my current HTML page, but i dont know how to do that.

currently i have the following files.

blog.xml <- contains a link to the xslt stylesheet and RAW XML data
blog.xsl <- contains the statements to extract the tags i want
home.html <- contains a space for this data to be displayed.

so basically its blog.xml+blog.xsl -> home.html

im looking for something simple, the only things i could find were java scripts that did what my blog.xsl stylesheet is doing.

Can someone help? please :)



WebmasterWorld Administrator httpwebwitch us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3761923 posted 3:00 pm on Oct 9, 2008 (gmt 0)

Hi anthraxnz, welcome to WebmasterWorld!

this post from last year [webmasterworld.com] gives some good examples of client-side XSLT, applying style and formatting to an XML document, thus creating a human-friendly XML page. Perhaps you should just show the XML file as itself, with an embedded XSLT and associated CSS, rather than try to tuck the XML into an HTML file.

Or you could put all of the above into an <iframe>

are you able to leverage a server-side programming language, such as PHP or C#?

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / XML Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved