|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: dynamically applying templates
Thanks for sticking with this Wendell! However, and maybe I'm being
dense, if I look at this:
On Sep 13, 2004, at 5:35 PM, Wendell Piez wrote: Unless you have mods:titleInfo elements somewhere in your input (either in the source file or in a configuration) ... no. I don't think this is what I'm looking for. I don't need to create the mods:titleInfo output; I need to process the mods:titleInfo element that is already there in my input source. input --> file.xsl <-- config | | v output So, you have the right config file structure below, but let me add an additional element to illustrate. where the node you are matching is in your config file: A minimal input document then could be: <doc>
<mods xmlns="http://www.loc.gov/mods/v3">
<name type="personal">
<namePart type="given">Jane</namePart>
<namePart type="family">Doe</namePart>
</name>
<titleInfo>
<title>Main Title</title>
<subTitle>Subtitle</subTitle>
</titleInfo>
</mods>
</doc>Note, then, that order of elements in the input file is different than that specified in the config file, which is saying output should be: Main Title: Subtitle, Jane Doe
Why "wrong name"? Bruce
|
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
|

Cart








