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: XML-to-XML question


Thanks for the reply.
I was stuck in a sort-of copy-it mode, and the examples mostly speak of
XML-to-HTML.

Your hint about checking out elements led me to a combination
of element, copy, and copy-of.
All this since I'm using most, if not all, attributes, and supplementing
them with others.

However, my incoming files contain style attributes in the form of a 
comma-delimited string, which I was trying to parse into individual
attributes much like:

<svg style="font-family:value1,font-size:value2,font-style:value3">
which I want to output as:
<svg font-family="value1" font-size="value2" font-style="value3">.

This was the previously-submitted stylesheet template.
I was calling tokenize-style recursively before and got the output in the
form of
text, but I haven't gotten them in the form of attributes; in fact,
currently I'm getting nothing.

I'll see again tomorrow...

-----Original Message-----
From: David Carlisle [mailto:davidc@nag.co.uk]
Sent: Tuesday, February 27, 2001 5:03 AM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] XML-to-XML question



>  &lt; svg

Why are you outputting text rather than the svg element node?

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 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]