Novell is now a part of Micro Focus

DirXML Parsing Issue

Articles and Tips: qna

01 Aug 2002


Q.

When the DirXML v1.1 engine is parsing my stylesheet, in line 16:

<xsl:variable name="domain-name" select="ad.ref.pemex.com"/>

it shows the following error:

DirXML Log Event -------------------
Driver = \WORKFORCE_TREE\refinacion\DriverSet\ADDriver
	Channel = subscriber
	Status = error
	Message =vnd.nds.stream://WORKFORCE_TREE/refinacion
/DriverSet/ADDriver/ADSubscriber/SubCreateRule#XmlData (16):
<xsl:variable>: 'select' expression error: extra tokens were found
after the expression

Do you know what the problem is here?

Writing XML in Waltham

A.

Dear Writing: Try wrapping your string in single quotes:

<xsl:variable name="domain-name" select="'ad.ref.pemex.com'"/>

I've seen this fix such errors.

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates