Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Bob Archer
You have to use XML entities tokens and I think single quotes:

property name= trainingwatermark value=lt;link rel='stylesheet' 
type='text/css' href='..\style\watermark.css'gt;/
property name= attachEventButtonOnClick  value=lt;SCRIPT 
language='JavaScript' src='../_res/js/GetInputButtonOnLoad.js'lt;/SCRIPTgt;/

If you really need double quotes I think you can use quote;

BOb


From: Zachary B. Wheeler [mailto:zwhee...@sddmtech.com]
Sent: Thursday, October 22, 2009 1:25 PM
To: Bob Archer; nant-users@lists.sourceforge.net; 
nant-users@lists.sourceforge.net
Subject: tokenizing a script tag and link

Hi All

Is it possible to tokenize an entire script tag

In my config file I have:

property name= trainingwatermark 
value=link rel=stylesheet type=text/css 
href=..\style\watermark.css/
property name= attachEventButtonOnClick   
value=SCRIPT language=JavaScript 
src=../_res/js/GetInputButtonOnLoad.js/SCRIPT/

But when I run my build I get the following error:

Hexadecimal value 0x3c is n invalid attribute character


Zachary B. Wheeler


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


[NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Zachary B. Wheeler
Hi All

 

Is it possible to tokenize an entire script tag

 

In my config file I have:

 

property name= trainingwatermark
value=link rel=stylesheet type=text/css
href=..\style\watermark.css/

property name= attachEventButtonOnClick
value=SCRIPT language=JavaScript
src=../_res/js/GetInputButtonOnLoad.js/SCRIPT/

 

But when I run my build I get the following error:

 

Hexadecimal value 0x3c is n invalid attribute character

 

 

Zachary B. Wheeler

 

 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Michael Pento
Bob's right, I tried this just messing around (slow day here ...) :

 

property name=trainingwatermark value=lt;link
rel=quot;stylesheetquot; type=quot;text/cssquot;
href=quot;..\style\watermark.cssquot;gt; /

 

The output looks like this:

 

[echo] link rel=stylesheet type=text/css
href=..\style\watermark.css

 

 

Hope this helps out,

Mike

 

 



From: Bob Archer [mailto:bob.arc...@amsi.com] 
Sent: Thursday, October 22, 2009 1:37 PM
To: Zachary B. Wheeler; nant-users@lists.sourceforge.net;
nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] tokenizing a script tag and link

 

You have to use XML entities tokens and I think single quotes:

 

property name= trainingwatermark value=lt;link rel='stylesheet'
type='text/css' href='..\style\watermark.css'gt;/

property name= attachEventButtonOnClick  value=lt;SCRIPT
language='JavaScript'
src='../_res/js/GetInputButtonOnLoad.js'lt;/SCRIPTgt;/

 

If you really need double quotes I think you can use quote; 

 

BOb

 

 

From: Zachary B. Wheeler [mailto:zwhee...@sddmtech.com] 
Sent: Thursday, October 22, 2009 1:25 PM
To: Bob Archer; nant-users@lists.sourceforge.net;
nant-users@lists.sourceforge.net
Subject: tokenizing a script tag and link

 

Hi All

 

Is it possible to tokenize an entire script tag

 

In my config file I have:

 

property name= trainingwatermark
value=link rel=stylesheet type=text/css
href=..\style\watermark.css/

property name= attachEventButtonOnClick
value=SCRIPT language=JavaScript
src=../_res/js/GetInputButtonOnLoad.js/SCRIPT/

 

But when I run my build I get the following error:

 

Hexadecimal value 0x3c is n invalid attribute character

 

 

Zachary B. Wheeler

 

 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


Re: [NAnt-users] tokenizing a script tag and link

2009-10-22 Thread Ron Grabowski
Does nant support this syntax:?

property name=”trainingwatermark”![CDATA[link rel=stylesheet 
type=text/css href=..\style\watermark.css]]/property

Not sure if that's any easier to read...




From: Michael Pento mpe...@metratech.com
To: Bob Archer bob.arc...@amsi.com; Zachary B. Wheeler 
zwhee...@sddmtech.com; nant-users@lists.sourceforge.net; 
nant-users@lists.sourceforge.net
Sent: Thu, October 22, 2009 2:13:29 PM
Subject: Re: [NAnt-users] tokenizing a script tag and link

  
Bob’s right, I tried this just
messing around (slow day here …) :
 
property name=”trainingwatermark”
value=”lt;link rel=quot;stylesheetquot;
type=quot;text/cssquot;
href=quot;..\style\watermark.cssquot;gt;” /
 
The output looks like this:
 
[echo] link rel=stylesheet
type=text/css href=..\style\watermark.css
 
 
Hope this helps out,
Mike
 
 


 
From:Bob Archer [mailto:bob.arc...@amsi.com] 
Sent: Thursday, October 22, 2009
1:37 PM
To: Zachary B. Wheeler;
nant-users@lists.sourceforge.net; nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users]
tokenizing a script tag and link
 
You have to use XML
entities tokens and I think single quotes:
 
property name=”
trainingwatermark” value=”lt;link
rel='stylesheet' type='text/css' href='..\style\watermark.css'gt;”/
property name=”
attachEventButtonOnClick”  value=”lt;SCRIPT
language='JavaScript'
src='../_res/js/GetInputButtonOnLoad.js'lt;/SCRIPTgt;”/
 
If you really need
double quotes I think you can use quote; 
 
BOb
 
 
From:Zachary B.
Wheeler [mailto:zwhee...@sddmtech.com] 
Sent: Thursday, October 22, 2009
1:25 PM
To: Bob Archer;
nant-users@lists.sourceforge.net; nant-users@lists.sourceforge.net
Subject: tokenizing a script tag
and link
 
Hi All
 
Is it possible to
tokenize an entire script tag
 
In my config file I
have:
 
property name=”
trainingwatermark”
value=”link rel=stylesheet type=text/css
href=..\style\watermark.css”/
property name=”
attachEventButtonOnClick” 
 value=”SCRIPT language=JavaScript
src=../_res/js/GetInputButtonOnLoad.js/SCRIPT”/
 
But when I run my
build I get the following error:
 
Hexadecimal value
0x3c is n invalid attribute character
 
 
Zachary B. Wheeler--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users