Re: [xml-dev] Converting XML
If your requirement is more generic in that replace specific element names with a more generic <em class="<elementname>"> for all element names, then solution provided below won't scale. You may want to use a more generic template instead...
>On Dec 28, 2004, at 3:57 PM, tedd wrote:
>
>>What's the easiest way to go from:
>>
>> Understanding XML
>>
>>and convert it to:
>>
>> Understanding XML
>>
>>Any ideas?
>
>Learn XSLT. You'd just write a template like:
>
>
>
>
>
>
>
>Bruce
and
>This is a simplistic example but it will work. I assume
>there is more to your requirement than the element
>'booktitle'.
>
>Good luck!
>
>XSLT:
>
>
>> version="1.0">
>
>
>
>
>
>
>
Bruce and Betty:
Yeah, I figured that someone was gong to tell me that. I just didn't
want to be forced into learning yet another acronym. As it is, my
brain looks like my grand-daughter's half-eaten alphabet cereal bowl
in the morning. Aaarrggg.....
Thanks (I think) :-)
tedd
--
--------------------------------------------------------------------------------
http://sperling.com/
-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org , an
initiative of OASIS
The list archives are at http://lists.xml.org/archives/xml-dev/
To subscribe or unsubscribe from this list use the subscription
manager:
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com