Sorry for the late feedback,
I could solve my issue with the the help of the parameter. in transformation i add a "path" parameter to the docProcessor which i'm able to access the via <xsl:param name="path" /> and <xsl:value-of select="$path"> .
Thank you once more for the help.
User Profile
Collapse
-
Thank you for this input.
But as mentioned i can't do it using xslt becasue i'm using a "path-variable" to read and convert the xml files. So the xml files will be always in a different location and the problem is that I'm using in one xslt file a reference from to an other xml file so select=”documen t(XML1)" but this path changes as well.
so my plan is to combine the xml files before and be able to access any other...Leave a comment:
-
Combining two XML files for xslt transformation
I’m able using Javascript to transform a XML file using XSLT to a nice HTML output. What I need to do now is to combine two XML files and transform them together using XSLT. Here an abstract example:
Load(xml1); Load(xml2);
Xml = xml1 + xml2;
Xml.transformNo de(xslt);
In my xslt document I need to access then nodes from both xml documents therefore the combination (the select=”documen t(myXML)” in xslt... -
formating row color equal if node names are Equal
Hi all,
I am a bit desperate already trying to display a XML file using XSLT. I create a table and use <xsl:for-each> to extract every element node. This is working fine. What I want now is so format every column with a color (e.g. red) if the element value is the same as the one in the next node. if the value changes if should change the color (e.g. to blue) and stay so long blue as the value is the same. With the next change,...
No activity results to display
Show More
Leave a comment: