xsl-list
[Top] [All Lists]

RE: [xsl] problem for extracting information using xsl from one xml, please help me

2007-11-12 13:19:42
Please show what output you need from this xml. 

Thanks!
Angela 

-----Original Message-----
From: Miren Urkixo [mailto:miren(_at_)tinieblas(_dot_)com] 
Sent: Saturday, November 10, 2007 1:01 PM
To: XSL-List(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] problem for extracting information using xsl from one
xml, please help me

Hello
i have one great problem with one xml for estracting, using xslt, the
informacion.
i am trying to solve this problem during 5 days and i dont solve it.

bellow i writte the xml.
well.
I have several (a lot of) nodes sn_masterinformacion:
(
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<sn_servicioproyecto> <masterinformaciones> <sn_masterinformacion>
)
into this node there are several, a lot of nodes called
sn_composicioninformacion.
whitin of this node there is:
<composicioninformacion_alias>name</composicioninformacion_alias>
<metadatosinformacion_texto>value</metadatosinformacion_texto>

i have one great problem and is this:
i load the node sn_masterinformacion i know that into this node there
are several sn_composicioninformacion nodes ant i wato to load the
correspondiente to:
composicioninformacion_alias: metadatosinformacion_texto i want to load
the value of composicioninformacion_alias and the value of
metadatosinformacion_texto

can you help me please?



the xml is:


<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<sn_servicioproyecto> <masterinformaciones> <sn_masterinformacion>
<composicioninformacion> <sn_composicioninformacion>
<composicioninformacion_alias>titulo</composicioninformacion_alias>
<metadatosinformacion_texto>un texto muy
largo</metadatosinformacion_texto>
</sn_composicioninformacion>
<sn_composicioninformacion>
<composicioninformacion_alias>estado</composicioninformacion_alias>
<metadatosinformacion_texto>false</metadatosinformacion_texto>
</sn_composicioninformacion>
<sn_composicioninformacion>
<composicioninformacion_alias>precio</composicioninformacion_alias>
<metadatosinformacion_texto>3</metadatosinformacion_texto>
</sn_composicioninformacion>
<sn_composicioninformacion>
<composicioninformacion_alias>total_de_paginas</composicioninformacion_a
lias>
<metadatosinformacion_texto>105</metadatosinformacion_texto>
</sn_composicioninformacion>
</composicioninformacion>
</sn_masterinformacion>
<sn_masterinformacion>
.....
</sn_masterinformacion>
<sn_masterinformacion>
.....
</sn_masterinformacion>
<sn_masterinformacion>
.....
</sn_masterinformacion>
</masterinformaciones>
</sn_servicioproyecto> 


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--