Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

XSLT unable to parse single quotes

edited Jun 1, 2019 5:00AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 7 commentsAnswered

Hi All,

I have written a xslt file to create a XML structure. Below is a part of the code:

<xsl:element name="description">

  <xsl:value-of disable-output-escaping="yes" select="'$AABRDescription'"/>

</xsl:element>

where I am passing AABRDescription as an input from Work Flow. Now AABRDescription contains a string having single quotes; ex. I 'love'  Siebel. The xslt fails to read the single quotes an always throws the below error:

XPathParserException: Extra illegal token.expression = ''

I have used the below style sheet:

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center