paetje Posted March 3, 2006 Share Posted March 3, 2006 I'm working on a central XML document. This document needs to contain all content of a site. Text is no problem but I can't find the right way to put images in the XML file and show it with XSL.Putting images in the XSL file is no problem.But I want 1 document with all content (text - images) sow how can I put the images volide in XML? Link to comment Share on other sites More sharing options...
boen_robot Posted March 8, 2006 Share Posted March 8, 2006 Perhaps if you make another element which would contain references to the images. Such as <images> <image> <src>http://domain.com/image.jpg</src> <alt>Some alt text</alt> </image></images> Or... hm... doesn't putting an <img /> tag and using a "value of" element work? Oh, yeah, I forgot... this is a thing I'm trying to figure out. I guess the pattern is the same as with the <b> and <i> tags. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now