XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Hema SSubject: How to generate mapping report in HTML or PDFformat using stylus studio given source XMl and target XSD
Author: Hema S
Date: 29 Apr 2015 04:30 PM
I am using XSLT mapper to geneerate XSLT given Source XML and Target XSD as input . I would need to generate mapping report for presentation as follows

Elements in ip XML Structure to be generated in opas given in XSD
book/name Book/BookInfo/title
book/author Book/BookInfo/Author
book/publishingDate Book/BookInfo/PD
book/phone Book/BookInfo/contactUs/phone
book/addressline Book/BookInfo/contactUs/addressline1
book/addressline2 Book/BookInfo/contactUs/addressline2
book/postalcode Book/BookInfo/contactUs/postalcode


Input XML :
<book>
<name></name>
<author></author>
<publishingdate></publishingdate>
<phone></phone>
...
<postalcode></postalcode>
</book>

Is there a way to generate report in HTML or PDF format as shown above.

Note: I would need to output the XPATH of source and target XML, not the element values

Postnext
Ivan PedruzziSubject: How to generate mapping report in HTML or PDFformat using stylus studio given source XMl and target XSD
Author: Ivan Pedruzzi
Date: 30 Apr 2015 12:56 AM
Hama

Stylus Studio does not support exporting mappings as reports.



Ivan Pedruzzi
Stylus Studio Team

Postnext
Hema SSubject: How to generate mapping report in HTML or PDFformat using stylus studio given source XMl and target XSD
Author: Hema S
Date: 30 Apr 2015 03:32 AM
Originally Posted: 30 Apr 2015 03:29 AM
Hi,

In XML report, I am creating relationship between two elements nodes.
I would like to insert the Xpath(as text label not the value) of two nodes in a table. How this could be achieved?

Eg. relationship between author and book elements in the following xml

<root>
<books>
<book id="1">xml</book>
<book id="2">xslt</book>
</books>
<authors>
<author id="1">xxx</author>
<author id="2">yyy</author>
</authors>
</root>

output should be like
root/books/book and root/authors/author

Posttop
Ivan PedruzziSubject: How to generate mapping report in HTML or PDFformat using stylus studio given source XMl and target XSD
Author: Ivan Pedruzzi
Date: 30 Apr 2015 04:06 AM
To get the XPath open the XML input document in the XML Editor, switch to Tree view, right click -> "Copy XPath Query to Clipboard" than paste it in the XML report.

If your XML document makes use of namespace the resulting XPath is not user friendly.

Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.