 |
 |
 | The Frequently Asked Questions may not be applicable to all Editions of StyleVision® 2008. Please consult the StyleVision Product Comparison to determine the feature set that pertains to your Edition.
StyleVision® 2008 FAQ Answers- Are XSLT 2.0 and XPATH 2.0 supported in StyleVision® 2008?
As of StyleVision® 2008 XSLT 2.0 and XPATH 2.0 are both supported. - Can I generate stylesheets for rtf (rich text format) output in StyleVision® 2008?
Due to customer demand, as of StyleVision® 2008 it is possible to generate stylesheets for rtf output. - I only see global templates for a Schema / DTD that I have opened in StyleVision® 2008, why
is this?
If you do not assign a working xml file within StyleVision® 2008 and your Schema/DTD contains more than one element that could be used as a root element in an instance file, then StyleVision® 2008 will only include the elements within the Global Templates tree. For example, if you open up the following simple Schema you will only see Global Templates. As soon as you assign an instance file of that Schema/DTD you will see a tree representation of the Schema in addition to the Global Templates. It is important to assign a working xml file in those cases where the Schema/DTD will allow you to create multiple instance files with differing root elements.
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:element name="a"> <xs:complexType> <xs:sequence> <xs:element name="b" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="c"> <xs:complexType> <xs:choice> <xs:element name="d"/> <xs:element name="e"/> </xs:choice> </xs:complexType> </xs:element> </xs:schema> - How do I create a StyleVision® Power Stylesheet (SPS file) in which child elements can appear in any order?
To preserve the document order of the elements, you need to create "Contents" or "Rest-Of-Contents". In order to design subelement styles you should use the concept of Global Templates (which is very similar to the concept of XSL templates). The Global Templates are listed under the main tree view in StyleVision® 2008. A Global Template will be shown for each global element defined in the Schema. The desired template can be activated by clicking on the element name until a "plus" sign appears. For cases in which you desire subelements to appear in any order, or for mixed content models, it is essential to use Global Templates. - How can I reopen an XSLT stylesheet in StyleVision® 2008?
If you have created an XSLT stylesheet in StyleVision® 2008 and would then like to reopen it in StyleVision® 2008 to make further adjustments then you must save it as an SPS file. StyleVision® 2008 cannot open existing XSLT files and therefore it is necessary to save the file as an SPS file should you ever wish to make future changes to the XSLT in StyleVision® 2008. - What can StyleVision® 2008 do?
With StyleVision® 2008 it is possible to create XSLT stylesheets, XSL-FO stylesheets and StyleVision® Power Stylesheet (.sps). The XSLT stylesheets can be used to transform XML instance files into html and the XSL-FO stylesheets can be used to transform xml into PDF format. StyleVision® Power Stylesheet can be created to provide a form based interface through which XML instance files can be edited. A StyleVision® Power Stylesheet designed in StyleVision® 2008 is stored in our proprietary SPS format. This '.sps' file must then be loaded into the Authentic® 2008 Desktop Edition or into a browser (with the Authentic® 2008 Browser Edition) via a web server. Authentic® 2008 allows the end user to use the StyleVision® Power Stylesheet to create valid XML instance files without being bothered by the tags or any of the complexities of XML. The StyleVision® Power Stylesheet is based upon an underlying Schema or DTD, and thus the data that the user enters into the StyleVision® Power Stylesheet or 'template' must also adhere to this Schema or DTD. The data is validated in real time meaning that the end user is made instantly aware of an invalid entry. The power of StyleVision® 2008 lies in the fact that with one design one can create all three types of stylesheets... it is not necessary to create a separate design for each. In addition to all of these features StyleVision® 2008 also provides you with the functionality necessary to convert your existing html website to an xml enabled website using the HTML import function. - What is the difference between an SPS and an SPP file?
These two files are not to be confused with one another as they are completely different. An SPP file is a virtual project in which you can organize your XML files, stylesheets, DTDs, Entities etc. An SPS file is a form based template also known as StyleVision® Power Stylesheet. This StyleVision® Power Stylesheet is created in StyleVision® 2008 and can be used to create valid XML Documents without having prior knowledge of xml. - Can I design an XSLT, XSL-FO or StyleVision® Power Stylesheet (SPS file) in StyleVision® 2008 using an instance file only?
It is not possible to use StyleVision® 2008 with an instance XML file only. You also need a Schema or DTD upon which this instance file is based.
- How do I use xsl:number within StyleVision® 2008?
It is possible to achieve behaviour similar to that provided by the xsl:number construct in the XSLT specification by using the Bullets and Numbering feature of StyleVision® 2008. This mechanism is described in our StyleVision® 2008 manual in the "bullets and numbering" section and can also be used with "lists" and "nested lists".
- I am using the FOP engine in StyleVision® 2008 and when I switch to the PDF Preview there are numerous error messages relating to fonts. Why?
Apache FOP only supports a limited set of fonts per default. If you require the use of additional fonts it will be necessary to follow the steps outlined on the Apache website.
|
 |
 |
 |