You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by gr4tzy <gr...@yahoo.com> on 2006/10/09 14:50:03 UTC
help with enumeration values pls
hi,
i'm working on a c code generator and i need to be able to define different
machine states in an xml file which look something like this (this is just
an example):
<STATES>
<STATE name="LIGHTS_ON"/>
<STATE name="LIGHTS_OFF"/>
<STATE name="FADE_IN"/>
</STATES>
And then i need to be able to use those name attributes as enumeration
values in an xsd schema.
is that possible?
--
View this message in context: http://www.nabble.com/help-with-enumeration-values-pls-tf2409835.html#a6716985
Sent from the Xalan - J - Users mailing list archive at Nabble.com.
Re: help with enumeration values pls
Posted by DB...@Primavera.com.
Well,
I suppose he could transform the sample xml into a stylesheet as
desired using xalan.
--dave
David Bertoni <db...@apache.org>
10/09/2006 12:56 PM
To
xalan-j-users@xml.apache.org
cc
Subject
Re: help with enumeration values pls
gr4tzy wrote:
> hi,
> i'm working on a c code generator and i need to be able to define
different
> machine states in an xml file which look something like this (this is
just
> an example):
> <STATES>
> <STATE name="LIGHTS_ON"/>
> <STATE name="LIGHTS_OFF"/>
> <STATE name="FADE_IN"/>
> </STATES>
> And then i need to be able to use those name attributes as enumeration
> values in an xsd schema.
> is that possible?
This is a list for Xalan-J, which is an XSLT processor. Since this
question has nothing to do with XSLT or Xalan-J specifically, this is not
the appropriate forum to ask this question.
Dave
Re: help with enumeration values pls
Posted by David Bertoni <db...@apache.org>.
gr4tzy wrote:
> hi,
> i'm working on a c code generator and i need to be able to define different
> machine states in an xml file which look something like this (this is just
> an example):
> <STATES>
> <STATE name="LIGHTS_ON"/>
> <STATE name="LIGHTS_OFF"/>
> <STATE name="FADE_IN"/>
> </STATES>
> And then i need to be able to use those name attributes as enumeration
> values in an xsd schema.
> is that possible?
This is a list for Xalan-J, which is an XSLT processor. Since this
question has nothing to do with XSLT or Xalan-J specifically, this is not
the appropriate forum to ask this question.
Dave