January 24, 2002
"OddesE" <OddesE_XYZ@hotmail.com> wrote in message news:a2k6hl$dql$1@digitaldaemon.com...
> how should I read the syntax specifications for D on
> your site: Syntax Grammar?
>
> For instance, should I read
>
> decl_def:
>     import
>     class_decl_def
>     struct_decl_def
>     union_decl_def
>     enum_decl_def
>
> As: "A decl_def consists of any of these elements in any order"?

No, it reads that a decl_def is an import or a class_decl_def or a ...

> I think a good DML specification should mimic your syntax grammar as close as possible. A DML version of the above could be:
>
> <decl_def>
>     <import>
>     </import>
>     <class_decl_def>
>     </class_decl_def>
>     <struct_decl_def>
>     </struct_decl_def>
>     <union_decl_def>
>     </union_decl_def>
>     <enum_decl_def>
>     </enum_decl_def>
> </decl_def>
>
> Could you point me to a good resource where I could learn to read the grammar rules on your page?

I sort of made it up <g>, but it is like how most people do it in language specs. I don't have any handy references.



January 24, 2002
> 
> Juan,
> 
> Click on elsif.xml and when the page opens, copy the address to the clipboard. Go back and click on viewer.htm, then paste the address into the edit field. Select HTML or D and click View to view the results. Ofcourse, the D code looks messed up in the browser, but the HTML code looks fine.
> 
I use the Opera 5.0 browser which, I beleive is very standards-compliant
and quite recent.
d.xsl and xhtml.xsl produce identical pages -- "if (){}else{}()"
elsif.xml produces a blank page.
viewer.htm produces a selection box which doesn't seem to do anything.
What is this address that goes in the edit field?




January 25, 2002
You'll need a browser like IE which supports viewing XML files directly to see the XSL files (they are really just another type of XML file).  In any case, I've tweaked things so that you no longer need to use the "viewer.htm" page: http://jdanielsmith.org/DML

   Dan

"Karl Bochert" <kbochert@ix.netcom.com> wrote in message news:1103_1011892765@bose...
> >
> > Juan,
> >
> > Click on elsif.xml and when the page opens, copy the address to the clipboard. Go back and click on viewer.htm, then paste the address into the edit field. Select HTML or D and click View to view the results. Ofcourse, the D code looks messed up in the browser, but the HTML code looks fine.
> >
> I use the Opera 5.0 browser which, I beleive is very standards-compliant
> and quite recent.
> d.xsl and xhtml.xsl produce identical pages -- "if (){}else{}()"
> elsif.xml produces a blank page.
> viewer.htm produces a selection box which doesn't seem to do anything.
> What is this address that goes in the edit field?
>
>
>
>


January 25, 2002
"Karl Bochert" <kbochert@ix.netcom.com> wrote in message news:1103_1011892765@bose...
> >
> > Juan,
> >
> > Click on elsif.xml and when the page opens, copy the address to the clipboard. Go back and click on viewer.htm, then paste the address into the edit field. Select HTML or D and click View to view the results. Ofcourse, the D code looks messed up in the browser, but the HTML code looks fine.
> >
> I use the Opera 5.0 browser which, I beleive is very standards-compliant
> and quite recent.
> d.xsl and xhtml.xsl produce identical pages -- "if (){}else{}()"
> elsif.xml produces a blank page.
> viewer.htm produces a selection box which doesn't seem to do anything.
> What is this address that goes in the edit field?
>

The edit field should contain the address of the xml file to transform,
elseif.xml in this case. In the selection box you should choose wheter
to transform to D (using d.xsl) or to HTML (using xhtml.xsl).
When you press the button you should see the resulting file in your
browser.


--
Stijn
OddesE_XYZ@hotmail.com
http://OddesE.cjb.net
__________________________________________
Remove _XYZ from my address when replying by mail



January 25, 2002
Also, if your browser can't load the MSXML2 objects to do the XSLT transform, I redirect to a page on the server to do the transform.  This should make the samples much more viewable (you'll still need JavaScript though).

   Dan

"J. Daniel Smith" <j_daniel_smith@deja.com> wrote in message news:a2qepg$c5d$1@digitaldaemon.com...
> You'll need a browser like IE which supports viewing XML files directly to see the XSL files (they are really just another type of XML file).  In any case, I've tweaked things so that you no longer need to use the
"viewer.htm"
> page: http://jdanielsmith.org/DML
>
>    Dan
>
> "Karl Bochert" <kbochert@ix.netcom.com> wrote in message news:1103_1011892765@bose...
> > >
> > > Juan,
> > >
> > > Click on elsif.xml and when the page opens, copy the address to the clipboard. Go back and click on viewer.htm, then paste the address into the edit field. Select HTML or D and click View to view the results. Ofcourse, the D code looks messed up in the browser, but the HTML code looks fine.
> > >
> > I use the Opera 5.0 browser which, I beleive is very standards-compliant
> > and quite recent.
> > d.xsl and xhtml.xsl produce identical pages -- "if (){}else{}()"
> > elsif.xml produces a blank page.
> > viewer.htm produces a selection box which doesn't seem to do anything.
> > What is this address that goes in the edit field?
> >
> >
> >
> >
>
>


January 25, 2002
Hint:  put some instructions on the page itself.  ;)

Sean

"OddesE" <OddesE_XYZ@hotmail.com> wrote in message news:a2s3t1$5r7$1@digitaldaemon.com...
> "Karl Bochert" <kbochert@ix.netcom.com> wrote in message news:1103_1011892765@bose...
> > >
> > > Juan,
> > >
> > > Click on elsif.xml and when the page opens, copy the address to the clipboard. Go back and click on viewer.htm, then paste the address into the edit field. Select HTML or D and click View to view the results. Ofcourse, the D code looks messed up in the browser, but the HTML code looks fine.
> > >
> > I use the Opera 5.0 browser which, I beleive is very standards-compliant
> > and quite recent.
> > d.xsl and xhtml.xsl produce identical pages -- "if (){}else{}()"
> > elsif.xml produces a blank page.
> > viewer.htm produces a selection box which doesn't seem to do anything.
> > What is this address that goes in the edit field?
> >
>
> The edit field should contain the address of the xml file to transform,
> elseif.xml in this case. In the selection box you should choose wheter
> to transform to D (using d.xsl) or to HTML (using xhtml.xsl).
> When you press the button you should see the resulting file in your
> browser.
>
>
> --
> Stijn



January 28, 2002
On Thu, 24 Jan 2002 21:11:01 -0500, "J. Daniel Smith" <j_daniel_smith@deja.com> wrote:
> You'll need a browser like IE which supports viewing XML files directly to see the XSL files (they are really just another type of XML file).  In any case, I've tweaked things so that you no longer need to use the "viewer.htm" page: http://jdanielsmith.org/DML
> 
>    Dan

Tried that page, and nothing seemed to make any sense. Most links
produced: "The value of the 'method' attribute may not be 'html'."
or: "The value of the 'method' attribute may not be 'text'."
 I'll just have to wait unil I switch to IE (a long time).


1 2
Next ›   Last »