|
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.
|
|
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
|
|
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).
|
|
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.
|
|
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.
|
|
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):
|
|
Rank: Newbie
Joined: 11/16/2012 Posts: 5 Location: USA
|
Thank you. With your assistance I was able to resolve the issue.
|
|
guest |