Quantcast
Channel: XSLT replace relative links with absolute links with data available in a variable - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Stefan Hegny for XSLT replace relative links with absolute links...

Instead of <xsl:apply-templates select="ext:node-set($text1)//a[@href[starts-with(.,'/')]]"/>you need a recursive copy and only modify the matching nodes<xsl:apply-templates...

View Article



Answer by Martin Honnen for XSLT replace relative links with absolute links...

You need to process all nodes and you need to put in an identity transformation template to copy the nodes you don't want to transform. Furthermore set up the template for the href...

View Article

XSLT replace relative links with absolute links with data available in a...

I am trying to replace relative links with absolute links where data is available in param.Here is the xsl I am using.<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="2.0"...

View Article
Browsing latest articles
Browse All 3 View Live


Latest Images