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: chelida
About
User Name: chelida
Forum Rank: Newbie
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Wednesday, June 19, 2013
Last Visit: Friday, May 22, 2015 2:51:48 PM
Number of Posts: 2
[0.01% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: possible to have individual header like chapter name?
Posted: Tuesday, September 24, 2013 7:09:09 AM
Hi all,

just a short question.
I create a book with chapters in xml and use stylevision to display this book.
I like to know if anyone have any idea if it is possible that the header (for pdf) could have the individual chaptername. Means, for the whole chapter one with title xyz, the header in pdf shows also xyz for this chapter and subchapters. For chapter two with title abc in pdf will be displayed in eader abc... aso.

My document is simple.
chapter with subchapter and content in it.

There must be a way to display the chapter title as well in the header but I'm not able to create this:-(

Could anyone help me?

thanks a lot,
chelida
Topic: simple question- xsd and image width
Posted: Friday, June 28, 2013 6:58:11 AM
Hi all,

I'm very new at xml but I try to learn it in the next month.
I have a (think is a very simple) question due to the width of an image in an xsd.

I've tried it yesterday but get not the result I like to have.
I try to explain my issue:

I use xmlspy and created an example xsd for get familar with xml/xsd:

In this xsd I have a part for include an image:
<xs:element name="img" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:element name="src">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="width" type="xs:integer" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="caption" type="xs:string"/>
<xs:element name="count" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>

The image is displayed and the caption works also properly, but the image width does not work.
(I using StyleVision to display my results)

My prolog is:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Mit XMLSpy v2013 rel. 2 sp2 (x64) (https://www.altova.com) von xxx bearbeitet -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:altova="https://www.altova.com/xslt-extensions" elementFormDefault="qualified" attributeFormDefault="unqualified">

And in the xml I use:
<img>
<src width="50">file:/C:/Users/xxx/Desktop/Tests/TestBild2.jpg</src>
<caption>xyz</caption>
</img>

I think there is something I miss or I haven't learned untill now. Perhaps someone could help me? And sorry again, I'm a very very beginner!

Many thanks in advance!
chelida

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