Click here to Skip to main content
14,330,208 members
   

XML / XSL

 
PinnedHOW TO ANSWER A QUESTION PinPopular
Chris Maunder16-Jul-09 3:10
adminChris Maunder16-Jul-09 3:10 
PinnedHow to get an answer to your question PinPopular
Chris Maunder16-Jul-09 3:06
adminChris Maunder16-Jul-09 3:06 
QuestionSchematron errors with XML Spy update Pin
Member 1459998621-Sep-19 16:33
memberMember 1459998621-Sep-19 16:33 
QuestionXML file read images and display them at random Pin
eatupyourgreens12-Sep-19 9:33
membereatupyourgreens12-Sep-19 9:33 
Hello!

I'm really desperate. I also googled and tried examples, which did not work in the end. I'm also a beginner in XML / Javascript and have very little XML knowledge. That's why I really ask for your help / explanation.

Following problem: I need an XML file that contains several images. In the HTML file, these images should then be read randomly from the XML file. Coincidentally in this sense, for example, that you specify 20 images in the XML file, but only 10 random images are displayed in the HTML file. I really do not know how to do that. I've also read websites, but I'm still not smart. I would be very happy about an example so that I understand it firstly and secondly apply it.

Besides, I do not know how to place these pictures in a particular place. It should be such that e.g. Image 1 is located at xy, while image 2 is to be displayed elsewhere on the site. How should I write the code so that it is output? Is that even possible?

I guess it will probably be easy, but I can not get on with it. I would be very happy to receive answers Smile | :)
AnswerRe: XML file read images and display them at random Pin
Richard MacCutchan12-Sep-19 11:20
protectorRichard MacCutchan12-Sep-19 11:20 
GeneralRe: XML file read images and display them at random Pin
eatupyourgreens12-Sep-19 11:27
membereatupyourgreens12-Sep-19 11:27 
GeneralRe: XML file read images and display them at random Pin
Richard MacCutchan12-Sep-19 11:33
protectorRichard MacCutchan12-Sep-19 11:33 
QuestionQuery XML API and display results Pin
hm928-Aug-19 4:37
memberhm928-Aug-19 4:37 
AnswerRe: Query XML API and display results Pin
Richard MacCutchan28-Aug-19 5:57
protectorRichard MacCutchan28-Aug-19 5:57 
QuestionDate conversion failure in xsl file (Chinese characters showing in date field) Pin
AkashBabu25-Feb-19 2:34
memberAkashBabu25-Feb-19 2:34 
AnswerRe: Date conversion failure in xsl file (Chinese characters showing in date field) Pin
Richard Deeming25-Feb-19 8:51
mveRichard Deeming25-Feb-19 8:51 
QuestionDeserializing of List Array appends instead of overwrite Pin
Wild Thing13-Jul-18 0:53
memberWild Thing13-Jul-18 0:53 
QuestionHow do I change this code to store new values to data list Pin
DropItSweet9-Jun-18 23:26
memberDropItSweet9-Jun-18 23:26 
QuestionXML validation with libxml2 and msxml Pin
sandre14-May-18 21:49
membersandre14-May-18 21:49 
AnswerRe: XML validation with libxml2 and msxml Pin
Jochen Arndt15-May-18 0:53
mveJochen Arndt15-May-18 0:53 
QuestionXmlElements won't write on a new line. Pin
holdorf23-Oct-17 7:56
memberholdorf23-Oct-17 7:56 
AnswerRe: XmlElements won't write on a new line. Pin
Maciej Los10-Feb-18 2:08
protectorMaciej Los10-Feb-18 2:08 
QuestionNeed help with API Values in XElement Pin
Bootzilla3322-Sep-17 3:56
memberBootzilla3322-Sep-17 3:56 
AnswerRe: Need help with API Values in XElement Pin
George Jonsson23-Sep-17 2:15
professionalGeorge Jonsson23-Sep-17 2:15 
QuestionXSL to get only elements which have no childs Pin
MrKBA19-Sep-17 0:26
memberMrKBA19-Sep-17 0:26 
AnswerRe: XSL to get only elements which have no childs Pin
Richard Deeming19-Sep-17 2:15
mveRichard Deeming19-Sep-17 2:15 
GeneralRe: XSL to get only elements which have no childs Pin
MrKBA19-Sep-17 3:02
memberMrKBA19-Sep-17 3:02 
Questionshare me best practices to enhance xslt related functionality in production Pin
Member 1178590912-Jul-17 1:50
memberMember 1178590912-Jul-17 1:50 
AnswerRe: share me best practices to enhance xslt related functionality in production Pin
Richard MacCutchan12-Jul-17 3:58
protectorRichard MacCutchan12-Jul-17 3:58 
GeneralRe: share me best practices to enhance xslt related functionality in production Pin
jschell1-Sep-17 12:24
memberjschell1-Sep-17 12:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.