Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About MrRobse

  • Rank
  1. Hello,let's say there is the following structure: <element>Row 1 <br /> Row 2</element> Which actually represents this: <element>Row 1 <br/> Row 2</element> How can I replace this line break with an fo:block element. I've already tried the following: <xsl:template match="br"> <fo:block></fo:block></xsl:template> However, the line break seems to be treated as normal text in <element>. Is there any way to replace this?Robert
  2. A user from another forum helped me and here is a solution that's working. <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><!-- Main template --><xsl:template match="/"> <body> <xsl:apply-templates/> </body> </xsl:template> <!-- Template for TestCase elements --> <!-- Possible variations: FolderYn=Y => Folder FolderYn=N => Test case --> <xsl:template match="TestCase"> <xsl:choose> <xsl:when test="FolderYn='Y'"> <xsl:apply-tem
  3. Hello,I'm just starting with XSLT so maybe someone is able to help me with my topic :)There is an XML file with the following structure: <TestCaseData> <TestCase> <TestCaseId>XXX</TestCaseId> <Name>Name</Name> <FolderYn>Y</FolderYn> <CustomProperties> <CustomProperty> <Alias>Test Case ID</Alias> <Name>Text01</Name> </CustomProperty> <CustomProperty> <Alias>Preconditions</Alias> <Name>Text02</Name> </CustomProperty> <CustomProperty> &l
  • Create New...