Click here to Skip to main content
14,391,232 members
   

XML / XSL

 
QuestionCan anybody tell me whats wrong with this xslt Pin
Haim Nachum26-Jun-11 14:00
MemberHaim Nachum26-Jun-11 14:00 
AnswerRe: Can anybody tell me whats wrong with this xslt Pin
Nagaraj Muthuchamy27-Jun-11 0:33
professionalNagaraj Muthuchamy27-Jun-11 0:33 
QuestionLoop over chars in a string Pin
KenBonny1-Jun-11 2:58
MemberKenBonny1-Jun-11 2:58 
AnswerRe: Loop over chars in a string [modified] Pin
George L. Jackson7-Jun-11 11:27
MemberGeorge L. Jackson7-Jun-11 11:27 
QuestionGetting XML content Pin
stevenykl31-May-11 20:43
Memberstevenykl31-May-11 20:43 
AnswerRe: Getting XML content Pin
Erik Molenaar31-May-11 23:30
MemberErik Molenaar31-May-11 23:30 
GeneralRe: Getting XML content Pin
stevenykl1-Jun-11 1:21
Memberstevenykl1-Jun-11 1:21 
QuestionHelp to write Xquery Pin
Neno9930-Apr-11 4:37
MemberNeno9930-Apr-11 4:37 
I would like to write queries over an XML data set using the XQuery language virsion 1.0 or 2.0
and generate single XML output file for the following xml files :



authors.xml

<br />
<authors><br />
<author><br />
<name>AMADEO, Giovanni Antonio</name><br />
<born-died>b. ca. 1447, Pavia, d. 1522, Milano</born-died><br />
<nationality>Italian</nationality><br />
<biography> Giovanni Antonio Amadeo was an Italian early Renaissance sculptor, architect, and engineer..</biography><br />
</author><br />
</authors><br />


---------------------------------
artworks.xml

<br />
<artworks><br />
<artwork><br />
<title> Fade of the church </title><br />
<author> AMADEO, Giovanni Antonio </author><br />
<date>1473</date><br />
<technique> Marble <technique><br />
<location> Certosa, Pavia </location><br />
<form> architecture </form><br />
<type>religious</type><br />
</artwork><br />
</artworks><br />


----------------------------------

Sample for the expected output :

output.xml

<br />
<authors><br />
<author><br />
<name>AMADEO, Giovanni Antonio</name><br />
<born-died>b. ca. 1447, Pavia, d. 1522, Milano</born-died><br />
<nationality>Italian</nationality><br />
<biography>Giovanni Antonio Amadeo was an Italian early Renaissance sculptor, architect, and engineer..</biography><br />
<artworks form="architecture"><br />
<artwork date="1473"><br />
<title>Fade of the church</title><br />
<technique>Marble</technique><br />
<location>Certosa, Pavia</location><br />
</artwork><br />
</artworks><br />
</authors><br />


I would like to merge these two XML documents and create a new XML file, in which the following information should be stored for each author: name, born-died, nationality,biography, and all artworks. The artworks are grouped by form and then sorted on date. For each artwork, title, technique, and location are stored.

thank you .
Edit/Delete Message
AnswerRe: Help to write Xquery Pin
jschell30-Apr-11 13:57
Memberjschell30-Apr-11 13:57 
GeneralRe: Help to write Xquery Pin
Neno993-May-11 17:07
MemberNeno993-May-11 17:07 
GeneralRe: Help to write Xquery Pin
Richard MacCutchan3-May-11 22:58
mveRichard MacCutchan3-May-11 22:58 
GeneralRe: Help to write Xquery Pin
jschell4-May-11 9:47
Memberjschell4-May-11 9:47 
QuestionHow to bind the data into a class object from a list. Pin
Rocky2329-Apr-11 1:57
MemberRocky2329-Apr-11 1:57 
AnswerRe: How to bind the data into a class object from a list. Pin
jschell29-Apr-11 10:47
Memberjschell29-Apr-11 10:47 
QuestionXML Search Pin
DJ24526-Apr-11 21:49
MemberDJ24526-Apr-11 21:49 
AnswerRe: XML Search Pin
GregStevens6-Jul-11 16:43
MemberGregStevens6-Jul-11 16:43 
QuestionXpath syntax. Pin
Mel Padden4-Apr-11 23:34
MemberMel Padden4-Apr-11 23:34 
AnswerRe: Xpath syntax. Pin
Tarun.K.S5-Apr-11 0:40
MemberTarun.K.S5-Apr-11 0:40 
GeneralRe: Xpath syntax. Pin
Mel Padden5-Apr-11 1:06
MemberMel Padden5-Apr-11 1:06 
QuestionHelp to make condition in xsd file Pin
MrKBA30-Mar-11 23:41
MemberMrKBA30-Mar-11 23:41 
AnswerRe: Help to make condition in xsd file Pin
RugbyLeague19-Apr-11 3:26
MemberRugbyLeague19-Apr-11 3:26 
Questionattribute restriction [modified] [Solved] Pin
V.24-Mar-11 23:40
professionalV.24-Mar-11 23:40 
QuestionVisual Studio's XSD vs Liquid Technologies Code Generator Pin
Ger Hayden16-Mar-11 5:40
MemberGer Hayden16-Mar-11 5:40 
Questionusing search web service Pin
ekaup12-Mar-11 0:36
Memberekaup12-Mar-11 0:36 
AnswerRe: using search web service Pin
jschell13-Mar-11 11:16
Memberjschell13-Mar-11 11:16 

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.