|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Xml to xml conversion of angle backet
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
|
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








