XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Dominiek ChristiaensSubject: HTML tags, quotes and xsl
Author: Dominiek Christiaens
Date: 15 Dec 1999 01:33 PM
In generating HTML tags on the fly, I try to generate an XSL command to fill in an attribute of an HTML tag. For example the value-attribute of the INPUT-tag:
value=""
. This doesn't work because the processor warns me that a < character can't be part of an attribute value. I tried to use
"
(the solution for generating quotes within a browser), but this 'trick' does not work.

Posttop
Nik Trevallyn-JOnesSubject: HTML tags, quotes and xsl
Author: Nik Trevallyn-JOnes
Date: 16 Dec 1999 12:56 AM
Unless I've misunderstood your point, the following should help you:



This will create an attribute on the specified HTML element (INPUT), called "VALUE", and with a value of (in this example) "./@value", which presumably is a valid attribute in the XML being processed by the XSL.

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.