Document composition

Hi everyone!

I have a problem with document composition. I hope this is the right forum to ask for help. If not, I apologize. What forum do I have to go to?

Understanding the concept of document as an XML file that follows a schema, I know Tamino can compose one document (parent) with the information contained in another one (child).

I have composed two entire documents and it has gone OK, but can Tamino compose one parent document with the information contained in only one tag of a child document (not the entire child document)?

I’ve tried and it doesn’t seem to work. Can anyone help me?

Thanks in advance

Hi,
if you use Tamino 4 and XQuery this should be straightforward:

example from documentation:

for $b in input()/bib/book,
$a in input()/reviews/entry
where $b/title = $a/title
return

{ $b/author }
{ $b/title }
{ $a/review }


This returns some of doctype bib and some of review.

Did this help?

regards,

Timm