| korell |
| Member |
|
| Huntsville, AL -USA- |
|
|
| None Specified |
|
| Friday, September 18, 2009 |
| Thursday, March 25, 2010 12:27:48 PM |
21 [0.11% of all post / 0.00 posts per day] |
|
I never received an answer here on the forum, but I came up with a workaround. I basically created a new SPS (called it JavascriptLibrary.sps) and put all my Javascript code in the editor. I then added my JavasciptLibrary.sps as a new module to my main SPS file, and all Javascript functions are available to the main SPS. I did not use the <script> tag (I guess Stylevision already knows it's Javascript so you don't have to explicitly declare it), but just entered my functions in the editor. I'm not sure this solves your problem, but at the time I was just looking for a central place (library) to keep all Javascript code and this worked for me.
Sacha
|
Sorry about that. I had already posted in the forum when I remembered that we had support with Altova. It won't happen again :-)
Sacha
|
I am trying to create a TOC template where some of the TOC items have hyperlinks and some don't. The way I am trying to accomplish this is to put a condition (@link=false()) around the TOC item that leaves it as regular text, otherwise it makes it a bookmark (but still remains part of the TOC structure). "@link" is an attribute in the XML node to be referenced.
So in the attached example (modified Altova TOC example), I want "Introduction", "Main Window", and "Style Repository" not to have hyperlinks. I edited the Altova TOC example "chapters.xsd" to include a link attribute on para and added "link=false" on "Introduction", "Main Window", and "Style Repository" in "chapters.xml".
Thanks in advance for any help with this.
Sacha
|
I'm trying to create a table that contains cells that span across multiple columns. How can I accomplish this using Stylevision 2010? I can't find a colspan property anywhere in the designer. Spanning columns is not something unusual and I can't imagine that it would impossible using Stylevision.
Any ideas?
Thanks, Sacha
|
|
Thanks Vlad!
|
In the attached project I have an attribute "class" of element "ListItem". I would like to display the value of "class" in each ListItem as an italic character. In PDF output it looks fine, but the HTML output seems to ignore the formatting.
Any ideas?
Thanks, Sacha
|
Thank you for your quick reply, Vlad!
I am actually using Stylevision 2010. Does the latest version have a better way of solving this problem.
Thanks, Sacha
|
How can I dynamically create columns in a table for the attached schema? I may not know the number of columns for a given table at design time. I would like to use either the "cols" attribute in "tgroup" or maybe even count the "entry" tags in each "row" to accomplish this as every "entry" represents a column, but don't know how to go about doing this in Stylevision.
I have attached the project files for a sample table that is semi-dynamic (based on rip's help from my previous thread). However, the columns in this sps are still created at design time (essentially hard coded), and I just can't figure out how create them dynamically.
Any help is greatly appreciated.
Thanks, Sacha
|
Vlad,
Thank you so much for your quick reply!
I wasn't able to open your SPS file because I'm using version 2009, but your explanation was sufficient. I was able to change my SPS and it works perfectly now.
Thanks, Sacha
|
I am trying to use a condition that evaluates an "EmphasizedText" attribute "emphasisType=b" to make the enclosed text bold and an "EmphasizedText" attribute "emphasisType=i" to make the enclosed text italic. I want to use a Global Template to accomplish this, but apparently the template turns all "EmphasizedText" tagged words to bold and groups them together.
The desired result is: "Functional description paragraph. Some text for functional description paragraph."
but I get: Functional description paragraphparagraph. Some text for functional description .
What am I doing wrong?
I have attached sample files.
Thanks, Sacha
|
|