IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: newAtThis
About
User Name: newAtThis
Forum Rank: Newbie
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Monday, November 2, 2009
Last Visit: Wednesday, November 25, 2009 9:01:58 AM
Number of Posts: 3
[0.02% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Externalize text
Posted: Tuesday, November 24, 2009 12:07:36 PM
Hi,

I was wondering what is the best way to proceed if I want to externalize text in my xslt.

For example I would like to externalize "Company:"
<xsl:text>Company:</xsl:text>


Is it possible to put text as variables in javascript, or is it even possible?

Or should I put them in their own xml? If so, is it possible to include that file rather than import?

Grateful for some answers
Topic: Using substring function
Posted: Monday, November 2, 2009 1:01:00 PM
Thank you, Vlad!

You saved me quite som head ache...
Topic: Using substring function
Posted: Monday, November 2, 2009 9:19:58 AM
I am trying to use the substring function, but it doesn't seem to work at all.

I have an string element "abc 123" and want to use only the first part "abc". I have tried to right-click on the element and then edited the X-path filter. Tried the expression "substring(.,3)", but nothing happens.

I have also tried to enclose the element with a condition that containts the same expression as above, but still no result.

What am I doing wrong?

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.