| chelida |
| Newbie |
|
|
|
|
| None Specified |
|
| Wednesday, June 19, 2013 |
| Friday, May 22, 2015 2:51:48 PM |
2 [0.01% of all post / 0.00 posts per day] |
|
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
|
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
|
|