Re: [xsl] vcf to xml?

Subject: Re: [xsl] vcf to xml?
From: "Paul Tyson phtyson@xxxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Jun 2022 18:57:05 -0000
Apologies for being late to the discussion, and further apologies for taking it somewhat off-topic.

But, as a puzzler for the (probably few) old SGML hands among us: is it possible to make an SGML DTD and declaration using tag minimization features to parse a vcf file as SGML?

Regards,

--Paul

On 6/25/22 11:34, C. M. Sperberg-McQueen cmsmcq@xxxxxxxxxxxxxxxxx wrote:
If you mean, can we use an ixml grammar to parse XML, then the short
answer is 'yes', though the XML that comes out will not be the XML that
came in.  Joel Dubinko just asked the same question on the public-ixml
list [1]; see his question and the resulting thread (with toy grammar
and example input and output).

[1] https://lists.w3.org/Archives/Public/public-ixml/2022Jun/0044.html

Michael Sperberg-McQueen

BR Chrisman brchrisman@xxxxxxxxx writes:

is there an 'xml' input example?  I mean... I understand it's a little
silly but... it's text...

On Sat, Jun 25, 2022 at 8:06 AM Norm Tovey-Walsh ndw@xxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

"BR Chrisman brchrisman@xxxxxxxxx" <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> writes:
Maybe this is slightly off topci, but does ixml map to binary data
structures, or is it specific to text/utf-something?
Itbs worth noting that the specification requires you to be able to
parse text and produce XML. It doesnbt forbid you from doing other
things. My implementation will produce JSON or CSV if you prefer
(provided the parse tree has the right shape).

Therebs nothing that says you canbt parse binary files with Invisible
XML and writing an input option to do that is on my TODO list.

                                         Be seeing you,
                                           norm

--
Norman Tovey-Walsh <ndw@xxxxxxxxxx>
https://nwalsh.com/

My life has a superb cast but I canbt figure out the plot.--Ashleigh
Brilliant

Current Thread