Subject: Re: Xml to xml conversion of angle backet
From: Swati Attarde <swatid18@xxxxxxxxx>
Date: Wed, 30 Jul 2003 03:01:32 -0700 (PDT)
|
Use <xsl:attribute> to set the value of attributes of
elements.
--- Matt Trimmer <matt.trimmer@xxxxxxxxxxxxxx> wrote:
> Hi All,
>
> I am a new user of XSLT. I am trying to convert
> one XML document to other
> XML formats and all is going well except for one
> required XML format.
>
> The end XML document I am trying to create requires
> the following element to
> be created:
>
> <URL path="XYX">
>
> I want to populate the XYX with some selections
> from the source document,
> so I use :
>
> <URL path="<xsl:value-of
> select="URL"/>ABC<xsl:value-of select="PARAM"/>">
>
> But this gives me a parsing error saying you can't
> have a <.
>
> I have tried < which parses ok, but the xml
> document formed literally has
> < in it rather than <. Even the browser does not
> indent the tree properly
> because it can't find the a <.
>
> I hit a real blocker hear - I can't seem to find a
> way round it.
>
> --
> Matt Trimmer
>
>
>
>
>
>
>
>
>
> XSL-List info and archive:
> http://www.mulberrytech.com/xsl/xsl-list
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|