Most voted "xslt" questions
XSLT is an XML transformation language designed to transform structured documents into other formats (such as XML, HTML, and plain text). It’s a W3C standard.
Learn more…18 questions
Sort by count of
-
4
votes3
answers1073
viewsC# update XML based on another XML
Today I have the following XML structure: <ROOT> <TES IDTES="4780" IDPES="17522" /> <TES IDTES="6934" IDPES="12343" /> <TES IDTES="4781" IDPES="17523" /> <TES IDTES="6935"…
-
4
votes1
answer129
viewsHow the XPATH contains function works
I have a xml thus: <?xml version="1.0" encoding="UTF-8" ?> <A x1="ab"> <B x1="abb"> <C x1="cc"> Marta </C> <B/> <B x1="be"> <C x1="be"> João…
-
2
votes2
answers899
views -
2
votes2
answers520
viewsXSL does not enter the correct condition
I have the following condition: <xsl:when test="$Rows[1]/@Style='Resultado-Lista'"> <ul> <xsl:for-each select="$Rows"> <li> <a href="/{@FileRef}" title="{$Data} -…
-
2
votes1
answer32
viewsHow to convert XSLT to XSD?
There are two files one xslt and I need an xsd. it is possible to convert/transform xslt to xsd ?
-
2
votes0
answers859
views -
1
votes1
answer106
viewsHow to capture parameters by XSL?
I’m modifying a form in Sharepoint and want to get the parms that are being passed in the url, someone has a suggestion? <xsl:element name='a'> <xsl:attribute name='href'>…
-
1
votes1
answer367
viewsColumn break in table
I need to create an item table that comes from an XSLT foreach to HTML, every four lines break into a new column, follows an example: example of code that does not break by column <table>…
-
1
votes0
answers18
viewsI need to view images from a folder
My xml below: <?xml version='1.0' encoding='UTF-8' ?> <?xml-stylesheet type="text/xsl" href="celular.xsl"?> <!DOCTYPE produtos [ <!ELEMENT produtos (produto+)> <!ELEMENT…
-
1
votes0
answers99
viewsExport XML and XSLT report to Excel
I’m having trouble exporting a report I developed in XML and XSLT... I was already exporting the simple report done in HTML, but this week I started studying XSLT and I came across the problem to…
-
0
votes1
answer304
viewsXSL read file names from a folder
I have the following file structure in a folder: -PASTA_XYZ - file1.xml - file2.xml - file3.xml - index.xml I would like the index.xml file to return the name of the files in this folder, but I have…
-
0
votes1
answer104
viewsRuby on Rails, how to improve the performance of the Hash to Activerecord transformation?
I am having a performance problem when transforming a hash for the activerecord model objects, the hash is returned by Gem Savon after consuming a web service. Benckmark has a relatively high time…
-
0
votes1
answer379
viewsHow do XSLT get the attributes inside the name, my item tag, only if it’s true?
<bloco> <item nome="imagem">true</item> <item nome="imagem">false</item> </bloco> …
-
0
votes1
answer211
viewsCheck whether a string is null or empty in XSLT
I have this snippet of XML code and I need to check this blank: <CNPJ> <xsl:if "cnpjContratado"!=NULL> <xsl:value-of select="cnpjContratado"/> </xsl:if> </CNPJ>…
-
0
votes1
answer457
viewsChanging an attribute of an XML element
I have the following XML: <?xml version="1.0" encoding="WINDOWS-1252"?> -<NewDataSet> -<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"…
-
0
votes1
answer110
viewsHow to use Foreach with xslt in an xml file
I’m having trouble using a file ".xml" and an archive ".xslt" Follow the code below: listAlunos.xml <?xml version="1.0" encoding="UTF-8"?> <listaAlunos> <aluno>…
-
0
votes1
answer174
viewsChange 2 attributes of an XML with XSLT
I have the following XML: <?xml version="1.0" encoding="WINDOWS-1252"?> -<NewDataSet> -<xs:schema xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"…
-
0
votes1
answer41
viewsI need to add two columns using XSL
Hello I need help to add two columns in a report. The below follows what I have already done: XML -<MaterialCrossSects> <MaterialCrossSect name="ATERRO - PISTA" cumVolume="0" volume="0"…