Questions tagged as 'xslt'

1
answer

Select the value of the attribute with XSLT

I'm trying to get the proper names (@name type="Antropónimo") from the following XML from an XSLT stylesheet. At the moment I have only managed to extract all the names that are in the document. I would need to add the attribute type="Antropónim...
asked by 12.03.2018 / 17:10
1
answer

I do not see the edges in bootstrap

I have the following xslt code, but it does not generate any border-bottom. I have tried both with a class created in the document itself, and putting the border in different places, etc. Nor does it work for me if I use the "list-group-item-pri...
asked by 21.11.2018 / 12:54
0
answers

Is there a way to apply a xslt two xml with different tags?

I explain myself better, the question I have is if I can apply an XSLT to two XML that have certain tags with different names. An example first Xml <Persona> <Nombre>Sebastián</Nombre> </Persona> second XML...
asked by 12.06.2018 / 17:50
2
answers

IF sentence in xsl

I find myself making an if statement when the data is empty. this is the XML document ' <?xml version="1.0" encoding="utf-8"?> <document> <fields> <field id="HCR_S2_1_DIRECCION_PROPIEDAD" type="STGString">Avenida...
asked by 20.09.2018 / 14:24
0
answers

Blank spaces Calc to xml

I am using an .xsl file as an export filter to convert an Open Office Calc file to xml. One of the fields is the DNI, which in the calc is like D (two blank spaces) XXXXXXXXX. The problem is that when exporting to xml the two blanks become one....
asked by 05.12.2018 / 13:53
0
answers

Reassign variables in XSLT

My problem is that I'm trying to map some values which are in different nodes, I have to mache them, the thing is that I can not reassign the variables so that I can do the right checks. I would like to know some way to save the value of travers...
asked by 13.11.2018 / 11:37
0
answers

Limit from 1 to 30 in an edit (xsl)

I have an edit in XSL and I just want to be able to write from 1 to 30 but I can not find how to do it. I have tried with the min and the max but I see that you can not. Any help? Thanks in advance. <widget size...
asked by 23.10.2018 / 15:54
0
answers

XSLT only returns closing tags

I have the following files but I am testing it in:    link But it returns me wrong the document does not work. XML <?xml version="1.0" encoding="ISO-8859-1"?> <ExternalSeach> <Results> <Company>...
asked by 23.08.2018 / 19:23
0
answers

Assignments and counters in XSLT

I have the following XML file:                             <ascendientes> <categoria id="https://datos.madrid.es/egob/kos/entidadesYorganismos"> <nombre><![CDATA[(no disponible)]]></nombre> <...
asked by 22.05.2018 / 13:40
0
answers

meter html in XSL

I am writing an XSL file and the question I have is if I can modify the values of html with variables xsl, for example <div id="menu"> <ul> <xsl:for-each select="recursos/infoCategoria/descendientes/categoria"> <xsl:so...
asked by 22.05.2018 / 19:36