[REBOL] Re: [Discussion] XML name space for ML dialect
From: bry:itnisk at: 12-Nov-2002 10:01
>Though I don't use XML name spaces in my HTML code generated by my ML
>dialect (and so I haven't implemented this in my dialect), I am
>that some people may be needing this feature to generate XML code.
>I'm thinking that the following could be used to indicate a different
> ML [
> math: [
> div "x/2" ; Use a mathemathical division.
>Note that Rebol set-word! value "math:" indicates the name space "math"
>so after processing by 'ML, the generated XML is like this:
then would the following
div "x/2" xmlns:math http://www.somestupidurihere.org
give math:div xmlns:math="http://www.somestupidurihere.org" ?
most often what you see is something like this:
<p>here's some text in our default namespace<tag:text> here's some text
in the tag namespace</tag:text> here we are back in the default
>I'm uncertain if the above two tags are correct. Corrections would be
What do you think would be wrong with them?
>If you're using (or about to use) my ML dialect, would the above
>useful to you?
Most definitely, for anything I would be likely to use Rebol for with
XML namespaces would be a must.