Maybe I have misunderstood the complexity of the problem, but XML Schema Datatypes provides a datatype base64Binary, which I would have thought will do the trick:
<xsd:element name="interestingNonXmlData" type="xsd:base64Binary" />
Whether the processor will understand it is, of course, another issue.
John
-----Original Message-----
From: Francis Norton [mailto:francis@redrice.com]
Sent: 12 June 2001 11:32
To: Tim Bray
Cc: xml-dev@lists.xml.org
Subject: Re: problems with datasection
Tim Bray wrote:
>
>
> I'm sure there are some xsd: attributes you could use to say
> in a standardized way that this is base64, but <blush> I don't
> know it. XSD gureaux?
>
See http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#base64Binary
> I'm always happy to avoid using CDATA sections if I can. -Tim
>
A bit of a danger flag when they pop up on xsl-list... (Going back a two
or three years, I found that "Very interesting, but of course it won't
take off until it's got general browser support" was a classic
management "I don't get it" comment.)
Francis.
------------------------------------------------------------------
The xml-dev list is sponsored by XML.org, an initiative of OASIS
<http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org