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.

Dynamic Lists and Images Options · View
cjames-cct
Posted: Monday, November 26, 2012 9:53:11 PM
Rank: Newbie

Joined: 11/16/2012
Posts: 5
Location: USA
I have a sequence in my Schema defined using maxOccurs='unbounded'.

Code:
<xs:element name="images" type="ImageType" minOccurs="0" maxOccurs="unbounded"/>



The definition of ImageType is included here:

Code:

<xs:complexType name="ImageType">
        <xs:complexContent>
                <xs:extension base="TableType">
                        <xs:all>
                                <xs:element name="figureNumber" type="xs:positiveInteger"/>
                                <xs:element name="caption" type="xs:string"/>
                                <xs:element name="link" type="xs:anyURI"/>
                        </xs:all>
                </xs:extension>
        </xs:complexContent>
</xs:complexType>


In StyleVision I would like to make a list of the "images" in the pdf output, that shows the image, figureNumber and caption.

Is this possible?

I've tried using the 'dynamic lists', but I can't determine how to get the image in the output.

The preferred output would be the image specified by {link}, with a caption "Figure {figurenumber}: {caption}" centered on the page.

Any pointers to information in the manual/help would be useful too.

Thanks.




vlad
Posted: Tuesday, November 27, 2012 9:55:07 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Your description is not clear. Can you provide a sample PDF of what you are trying to achieve. The task sounds very easy though
cjames-cct
Posted: Tuesday, November 27, 2012 9:11:35 PM
Rank: Newbie

Joined: 11/16/2012
Posts: 5
Location: USA
I've included a schema, and xml. The PDF is available here (too big to upload)

File Attachment(s):
sample.xsd (1kb) downloaded 720 time(s).
sample.xml (1kb) downloaded 672 time(s).


vlad
Posted: Wednesday, November 28, 2012 9:52:54 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Your PDF link seems to require a Google login.

By the way, you should better contact Altova Product Consulting. If there is a chance - they will surely able to implement your request within an hour.
cjames-cct
Posted: Wednesday, November 28, 2012 3:02:16 PM
Rank: Newbie

Joined: 11/16/2012
Posts: 5
Location: USA
The PDF contains each image referred to by {link}, center aligned with a caption that reads "Figure {figureNumber}: {caption}"

I don't have any other way to share the document, it's too large to upload to this forum. Can you recommend another method to share the pdf?

Thank you for your patience and assistance.

vlad
Posted: Thursday, November 29, 2012 9:59:06 AM
Rank: Advanced Member

Joined: 12/13/2005
Posts: 2,856
Location: Mauritius
Based on my very limited understanding of your task I've created a sample SPS file, which is attached along with a screenshot (you didn't send images)

Take Online Training - it is free!!! And review samples and documentation, they are also free!!!

File Attachment(s):
sample.sps (4kb) downloaded 730 time(s).

vlad attached the following image(s):
Capture.PNG

cjames-cct
Posted: Friday, November 30, 2012 3:34:15 PM
Rank: Newbie

Joined: 11/16/2012
Posts: 5
Location: USA
Thank you. With your assistance I was able to resolve the issue.
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

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