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
Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Martha J. SmithSubject: Treatment of binary data and additional standard schema
Author: Martha J. Smith
Date: 05 Sep 2007 01:52 AM
I have a data element in an XMLSxhema that is defined as hexBinary so that it may be used for .txt .htm .jpeg .pdf data depending upon the circumstance. However, when I build an XML document on the schema and use XHTML in the contents, Stylus Studio insists on parsing the binary data.

In searching for a way around this major problem, I have wished to utilize other standard definitions besides http://www.w3.org/2001/XMLSchema i.e. http://www.w3.org/TR/xml-media-types and for XML documents, XInclude's schema. I also prefer to work off-line most of the time - one of the features I like about Stylus Studion. How does one add these additional semi-official items to the Stylus tool set?

Thanks.

Postnext
Tony LavinioSubject: Treatment of binary data and additional standard schema
Author: Tony Lavinio
Date: 05 Sep 2007 03:11 PM
Perhaps a (small) example of what you are trying to do would help.

You do understand that hexBinary data means that the data is stored
in the XML as a series of hex digits and not as raw binary, right?
XML is a text format, and itself does not support binary data inline.

See http://www.stylusstudio.com/binary_xml.html for some ideas.

Postnext
Martha J. SmithSubject: Treatment of binary data and additional standard schema
Author: Martha J. Smith
Date: 05 Sep 2007 03:22 PM
Thanks for the reference to the binary page. Another question - how would you embed XHTML samples in schema driven XML? I know how to do it in a DTD. Or, alternatively, how do I get the Mime-based solution to work in Stylus Studio?

Posttop
Tony LavinioSubject: Treatment of binary data and additional standard schema
Author: Tony Lavinio
Date: 07 Sep 2007 08:54 AM
The 'Feature Request' forum is not the right place for
this discussion.

Could you post a small example of what you want to do
in the Technical Forum?

 
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.