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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format