xsl-list
[Top] [All Lists]

RE: transformation help

2004-06-14 03:46:27
Those 3D's are just caused by the vagaries of some email handling systems.

Joe


From: "M. David Peterson" <m(_dot_)david(_at_)mdptws(_dot_)com>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Subject: RE: [xsl] transformation help
Date: Mon, 14 Jun 2004 04:42:20 -0600


In yout desired output, was this intendend: <category name=3D"cat 1">

I'm assuming it was and that you already know that your attribute values
need to be contained in quotes... every last bit of it.

I see Michael already responded to your post but I thought I would point
it out real quick, just in case.

Best regards,

<M:D/>

-----Original Message-----
From: Marcus B. Irven [mailto:marcus(_at_)marcusirven(_dot_)com]
Sent: Monday, June 14, 2004 3:20 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] transformation help

I have an xml doc in the form of

<doc>
<category>cat 1</category>
<item>item 1</item>
<item>item 2</item>
<category>cat 1</category>
<item>item 3</item>
<item>item 4</item>
<item>item 5</item>
</doc>

and i want to transform it into

<doc>
<category name=3D"cat 1">
<item>item 1</item>
<item>item 2</item>
</category>
<category name=3D"cat 2">
<item>item 3</item>
<item>item 4</item>
<item>item 5</item>
</category>
</doc>

how should i go about this?

Thanks,
Marcus


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





<Prev in Thread] Current Thread [Next in Thread>