This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Populate attribute values?



:This does not seem to have anything to do with XSL.
:You should post to comp.text.xml or the xml-dev list.
:
What I wanted was a way to do it with XSL

:> XML     
:> 
:> <!ELEMENT para (title|text)*>
:> <!ATTRIBUTE para
:>               %trigraph >
:
:You titled that section 'XML', but it's just more of your DTD.
You are right, its Monday!  
xml would look like

<title>TITLE</title>
<para attribute="AAA">Some kind of text</para>

:There are also limitations on the use of parameter entities and
:I'm not sure your posted example would actually work. 

Actually it does work, but the powers that be don't want it
that way.  Go figure.

 
:<!ATTLIST para
:	trigraph %trigraphValues; #REQUIRED>
:
There really is no need for this
when you can just do
<!ATTLIST para
	%trigraph; > 



:If #2 and #3 are not what you want, a DTD just isn't going to do
:the job.

The DTD will do the Job, just wondering if XSL could do it 
instead.


Thanks for your response anyway,

Eddy


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]