Subject: RE: [xsl] Can XSLT produce binary output: ASN.1-BER From: Peter Binkley <Peter.Binkley@xxxxxxxxxxx> Date: Fri, 22 Nov 2002 09:12:08 -0700 |
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: [xsl] 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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Can XSLT produce binary o, bryan | Thread | RE: [xsl] Can XSLT produce binary o, Passin, Tom |
Re: [xsl] The beginning of xslt?, David Carlisle | Date | [xsl] Superscript, Jitt_Joynoosaeng |
Month |