[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Populate attribute values?
Subject: Populate attribute values? From: "Medina, Edward" <emedina@xxxxxxx> Date: Mon, 24 Apr 2000 11:04:17 -0400 |
Heelllo Nurse! My question is concerning attribute values. Is it possible to populate an attribute value with a file which contains a list of n values? What I want to do is have the person authoring the document, to enter a trigraph value according to his document and the value would be as an enumerated list from an extensive list of trigraph values. I know that I can use the Entity to do this, but I didn't want to do that (or better yet, my boss didn't). I think the best method would be to use an Entity. Anyone has an idea how do this? DTD <!ENTITY % trigraph" attribute (AAA|AAB|AAC|AAD|AAE|AAF|... ZZW|ZZX|ZZY|ZZZ) #REQUIRED "> XML <!ELEMENT para (title|text)*> <!ATTRIBUTE para %trigraph > XSL <xsl:value-of select="para/@attribute"/> Would there be a better way? Eddy Thanks! XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: poor IE5/XSL performance?, Matt Sergeant | Thread | Re: Populate attribute values?, Mike Brown |
Re: Cascading with <?xml-stylesheet, Matt Sergeant | Date | RE: Unicode in xsl, Selva, Francis |
Month |