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?


> 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

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