[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: problem for extracting information using xsl from

Subject: Re: problem for extracting information using xsl from one xml, please help me
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 15 Nov 2007 11:50:45 GMT
Re:  problem for extracting information using xsl from
I don't think you have described your problem well enough for anyone to
help, I tried to sketch out a solution but I realised that I have no
idea what output you need.

You posted a sample document and said you needed a 3 column table but
gave no indication what data the table should have.

Your document had 5 sn_masterinformacion elements. Your posted
stylesheet appeared to be doing a position() mod 3 test on these so do
you expect a two row table with three entries in the first row and 2 in
the second?


Your actual data appears to be in sn_composicioninformacion elements (of
which there are 24) but it isn't clear to me how these 24 data elements
specifically the 24 text items in <metadatosinformacion_texto> are to be
distributed amnongst the 5 cells in the table.  Or perhaps you really
want to process the 24 items separately and end up with an 8 row table
of 3 cells per row? 

The image data appears to be being pulled from an element
ficheroexterno_fichero but your sample input has no such elements?

The posting guidelines for this list, which are posted regularly, and
also on the list page which is mentioned in the foot of every posting do
suggest that you give a full desired output that matches the input that
you post.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.