This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Populate attribute values?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Populate attribute values?
- From: "Medina, Edward" <emedina at btg dot com>
- Date: Mon, 24 Apr 2000 15:45:27 -0400
- Reply-To: xsl-list at mulberrytech dot com
: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