Subject: RE: Can XSLT produce binary output: ASN.1-BER
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 22 Nov 2002 15:53:38 -0000
|
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
|