Re: Populate attribute values?

Subject: Re: Populate attribute values?
From: Mike Brown <mike@xxxxxxxx>
Date: Mon, 24 Apr 2000 15:02:28 -0600 (MDT)
> What I wanted was a way to do it with XSL

It's not clear what you're trying to accomplish. When you gave the example
with the DTD, it appeared you were more concerned about defining a range
of possible values that an attribute could have, as constraints for
validity.

In any case, XSL doesn't even have access to the raw XML document -- only
an interpreted version of the parsed document, so you never get to see the
DTD.

> xml would look like
> <title>TITLE</title>
> <para attribute="AAA">Some kind of text</para>

Are you saying you want to have a stylesheet create that XML?
What exactly do you want to do? Show me XML in, *ML out, and explain
how the list of attribute values comes into play. Keep DTDs out of it.


   - Mike
___________________________________________________________
Mike J. Brown, software engineer, Webb Interactive Services
XML/XSL stuff: http://www.skew.org/    http://www.webb.net/


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


Current Thread