[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Can XSLT produce binary output: ASN.1-BER

Subject: RE: Can XSLT produce binary output: ASN.1-BER
From: Peter Binkley <Peter.Binkley@xxxxxxxxxxx>
Date: Fri, 22 Nov 2002 09:12:08 -0700
xslt binary
You might find some useful code in the Pears project at OCLC's Office of
Research: http://www.oclc.org/research/software/pears. Pears (a database
that uses BER internally) has record handlers that convert XML records to
ASN.1/BER, using a configuration file to map XML tag names to BER tag
numbers. It's Java and open source, so could be integrated with XSLT fairly
easily.

Peter



> -----Original Message-----
> From: Michael Kay [mailto:michael.h.kay@xxxxxxxxxxxx] 
> Sent: Friday, November 22, 2002 8:54 AM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: RE:  Can XSLT produce binary output: ASN.1-BER
> 
> 
> I would be inclined to write a custom serializer for this. 
> Many processors give you access to the result tree in the 
> form of a SAX event stream, which you can capture in a 
> user-written SAX2 ContentHandler. 
> 
> This allows your XSLT stylesheet to concentrate on generating 
> the ASN.1 representation as a tree, and the serializer to 
> contain all the knowledge about the BER encoding of ASN.1
> 
> An alternative is that there is, I believe, an XML encoding 
> of ASN.1, and therefore presumably a converter from that to BER. 
> 
> Michael Kay
> 
> 
> > -----Original Message-----
> > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Reitberger Peter
> > Sent: 22 November 2002 14:02
> > To: 'XSL-List@xxxxxxxxxxxxxxxxxxxxxx'
> > Subject:  Can XSLT produce binary output: ASN.1-BER
> > 
> > 
> > I have a XML document and would like to transform it to ASN.1-BER.
> > How would I do this with XSLT? 
> > The BER is a binary format but so is PDF. Therefore it should 
> > be possible? Has anyone done that already?
> > 
> >  XSL-List info and archive:  
> http://www.mulberrytech.com/xsl/xsl-list
> > 
> > 
> 
> 
>  XSL-List 
> info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.